[Gluster-users] Gluster not recognizing available space
    Pat Haley 
    phaley at MIT.EDU
       
    Tue Feb  4 19:52:05 UTC 2014
    
    
  
Hi Jeff,
>> Where do I find these trusted.gluster.fs.dht files?
>> (or if they aren't files, how do I find the information
>> you're reqesting?)
> 
> These are extended attributes, not files, so you can get them
> like this:
> 
>    getfattr -d -e hex -m . $file_or_dir
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
------------
client
------------
# file: .
trusted.glusterfs.volume-id=0xeccc3a90212d4563ae8d10a77758738d
As for the thought of quotas on gluster-0-1, I just double
checked (both with quota & repquota) and there are no
quotas on gluster-0-1.
Thanks
Pat
> 
>> If it is glusterfsd starting before the local filesystems
>> are mounted, would a service glusterd restart have
>> reset this?
> 
> I don't think so.  A restart is just a stop followed by a
> start.  IIRC, stopping glusterd doesn't automatically stop
> the glusterfsd (brick) processes as well, and when glusterd
> starts it will only start any glusterfsd that's "missing".
> If you had explicitly killed the glusterfsd processes, then
> "gluster volume start xxx force" or restarting glusterd
> would start them.
> 
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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