[Gluster-users] File Inventory on Bricks
Heiko Schröter
schroete at iup.physik.uni-bremen.de
Sat Mar 31 09:49:23 UTC 2012
Am 31.03.2012 11:26, schrieb Amar Tumballi:
> On 02/14/2012 05:17 PM, Heiko Schröter wrote:
>> Hello,
>>
>> is there a function inside gluster which gives you the information
>> which file resides on which brick in a distributed setup ?
>> Assume i want to find all files residing on rd24.
>>
>> The only method i can think of is logging into that raid and find all
>> files locally.
>>
>
> try 'gefattr -n trusted.glusterfs.pathinfo $file' on the gluster
> mountpoint
>
Works great !
Wouldn't it be worthwhile to place it in the FAQs ?
Thanks and Regards
Heiko
> Regards,
> Amar
>
>> Volume Name: data
>> Type: Distribute
>> Status: Started
>> Number of Bricks: 5
>> Transport-type: tcp
>> Bricks:
>> Brick1: rd29:/data
>> Brick2: rd34:/data
>> Brick3: rd25:/data
>> Brick4: rd28:/data
>> Brick5: rd24:/data
>>
>> Thanks and Regards
>> Heiko
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>
More information about the Gluster-users
mailing list