Why does df not show the full avalible size in glusterfs?
from SpiderUnderUrBed@lemmy.zip to homelab@lemmy.ml on 03 Oct 13:56
https://lemmy.zip/post/50168063

Here is a volume I created with two nodes, not replicated but rather distributed:

[nix-shell:~/hdd]$ sudo gluster volume info gv0
 
Volume Name: gv0
Type: Distribute
Volume ID: 8db02f86-0d22-48d5-952e-192b5eb4397c
Status: Started
Snapshot Count: 0
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: hostnuc:/home/spiderunderurbed/hdd/gluster/brick2
Brick2: raspberrypi:/home/spiderunderurbed/hdd/gluster/brick2
Options Reconfigured:
storage.fips-mode-rchecksum: on
transport.address-family: inet
nfs.disable: on

[nix-shell:~/hdd]$ 

Respective partitions both the bricks are on: Rpi:

└─sdc2
       8:34   0   1.9T  0 part /home/spiderunderurbed/hdd

Hostnuc:

├─sda1
│      8:1    0   1.6T  0 part /home/spiderunderurbed/hdd

When i run df -h where i mounted it:

spiderunderurbed@raspberrypi:~/gluster-mount $ df -h .
Filesystem      Size  Used Avail Use% Mounted on
localhost:/gv0  1.9T   20G  1.9T   2% /home/spiderunderurbed/gluster-mount
spiderunderurbed@raspberrypi:~/gluster-mount $ 

I only see the size of my pi’s partition, and not the full 3.5T i should be getting, why is this? and how to fix it.

#homelab

threaded - newest