[Gluster-users] Gluster not recognizing available space

Pat Haley phaley at MIT.EDU
Tue Feb 4 20:14:58 UTC 2014


Jeff Darcy wrote:
>> For comparison, below is the output of getfattr on each brick and
>> on a client, starting with the brick causing trouble (gluster-0-1):
>>
>> ------------
>> gluster-0-1
>> ------------
>> [root at nas-0-1 mseas-data-0-1]# getfattr -d -e hex -m . .
>> # file: .
>> trusted.gfid=0x00000000000000000000000000000001
>> trusted.glusterfs.dht=0x00000001000000000000000055555554
>> trusted.glusterfs.volume-id=0xeccc3a90212d4563ae8d10a77758738d
>>
>> ------------
>> gluster-data
>> ------------
>> [root at mseas-data data]# getfattr -d -e hex -m . .
>> # file: .
>> trusted.gfid=0x00000000000000000000000000000001
>> trusted.glusterfs.dht=0x000000010000000055555555aaaaaaa9
>> trusted.glusterfs.volume-id=0xeccc3a90212d4563ae8d10a77758738d
>>
>> ------------
>> gluster-0-0
>> ------------
>> # file: .
>> trusted.gfid=0x00000000000000000000000000000001
>> trusted.glusterfs.dht=0x0000000100000000aaaaaaaaffffffff
>> trusted.glusterfs.volume-id=0xeccc3a90212d4563ae8d10a77758738d
> 
> That looks pretty reasonable - an approximately even split of the
> DHT hash range across the three bricks, which should result in
> files being evenly allocated between them.  Also, you said that
> there was a directory where you *didn't* see the problem?  Could
> you run the same command there for comparison?


 From the last directory I was able to create on all 3 brick:

------------
gluster-0-1
------------
[root at nas-0-1 test]# getfattr -d -e hex -m . .
# file: .
trusted.gfid=0x6131386b3c324551967d05c83b618a7b
trusted.glusterfs.dht=0x0000000100000000aaaaaaaaffffffff

------------
gluster-data
------------
[root at mseas-data test]# getfattr -d -e hex -m . .
# file: .
trusted.gfid=0x6131386b3c324551967d05c83b618a7b
trusted.glusterfs.dht=0x00000001000000000000000055555554

------------
gluster-0-0
------------
[root at nas-0-0 test]# getfattr -d -e hex -m . .
# file: .
trusted.gfid=0x6131386b3c324551967d05c83b618a7b
trusted.glusterfs.dht=0x000000010000000055555555aaaaaaa9

the client returned nothing.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Pat Haley                          Email:  phaley at mit.edu
Center for Ocean Engineering       Phone:  (617) 253-6824
Dept. of Mechanical Engineering    Fax:    (617) 253-8125
MIT, Room 5-213                    http://web.mit.edu/phaley/www/
77 Massachusetts Avenue
Cambridge, MA  02139-4301



More information about the Gluster-users mailing list