File Inventory on Bricks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux