[Lustre-discuss] lfs setstripe

Brock Palen brockp at umich.edu
Thu Apr 17 07:48:14 PDT 2008


I don't think you need to do this.
If i understand right, you can set the stripe size of the mount, and  
everything inside that directory inherits it, unless they them self's  
were explicitly set.

Also files that already are created will keep the stripe settings  
they were created with.  You would need to copy them, and move over  
the old one to change to the new stripe settings.  Check the lustre  
manual they have something about this.

You can use 'getstripe'  to see what a file/directory use for their  
settings.

Brock Palen
www.umich.edu/~brockp
Center for Advanced Computing
brockp at umich.edu
(734)936-1985



On Apr 17, 2008, at 10:34 AM, Kaizaad Bilimorya wrote:
> Hello,
>
> I would like to adjust the stripe count for our lustre filesystem.  
> Would
> it be better to:
>
> 1) Kill all jobs, unmount the lustre filesystem from all clients,  
> and then
>     adjust the default stripe count for the lustre filesystem on  
> the MDS
>     using lctl.
>
> or
>
> 2) Use "find" and the "lfs setstripe" command to traverse and set the
>     stripe count for all directories in a currently mounted lustre
>     filesystem.
>
>
> Besides the traversal cost of the filesystem, are there other
> disadvantages, performance reasons, or other reasons not to use  
> option 2?
>
> thanks
> -k
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss
>
>




More information about the lustre-discuss mailing list