[Gluster-users] File Inventory on Bricks
Amar Tumballi
amarts at redhat.com
Sat Mar 31 09:26:12 UTC 2012
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
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
More information about the Gluster-users
mailing list