Martin Schenker
2011-May-04 14:19 UTC
[Gluster-users] Output of "getfattr" command, what does the code tell me?
Is there a way to make use of the attr code given by 0 root at de-dc1-c1-pserver13:~ # getfattr -R -d -e hex -m "trusted.afr." /mnt/gluster/brick?/storage | grep -v 0x000000000000000000000000 | grep -B1 -A1 trusted # file: mnt/gluster/brick0/storage/pserver3-23 trusted.afr.storage0-client-4=0xd70000010000000000000000 or 0 root at de-dc1-c1-pserver13:~ # getfattr -R -d -m "trusted.afr." /mnt/gluster/brick?/storage | grep -v 0sAAAAAAAAAAAAAAAA | grep -B1 -A1 trusted # file: mnt/gluster/brick0/storage/pserver3-23 trusted.afr.storage0-client-4=0s1wAAAQAAAAAAAAAA Is there any useful information hidden in the attribute strings? I guess so but I failed to find anything with Google etc. Thanks, Martin
Jeff Darcy
2011-May-04 16:56 UTC
[Gluster-users] Output of "getfattr" command, what does the code tell me?
On 05/04/2011 10:19 AM, Martin Schenker wrote:> Is there a way to make use of the attr code given by > > 0 root at de-dc1-c1-pserver13:~ # getfattr -R -d -e hex -m "trusted.afr." > /mnt/gluster/brick?/storage | grep -v 0x000000000000000000000000 | grep -B1 > -A1 trusted > > # file: mnt/gluster/brick0/storage/pserver3-23 > trusted.afr.storage0-client-4=0xd70000010000000000000000I wrote a blog post at http://cloudfs.org/2011/04/glusterfs-extended-attributes/ about how DHT and AFR use extended attributes. Let me know if there's anything important that I didn't cover.