I suspect that tunefs.lustre is used to change the stripe count for an existing file system from Lustre default to some other value, but I''m not sure if I do this at the MDT or on each OST device. tunefs.lustre -fsname=[NAME] param lov.stripe_count=4 ?? Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20080926/ad2960ec/attachment.html
On Sep 26, 2008 16:41 -0500, Mike Feuerstein wrote:> I suspect that tunefs.lustre is used to change the stripe count for an > existing file system > > from Lustre default to some other value, but I''m not sure if I do this > at the MDT or on each OST device. > > tunefs.lustre -fsname=[NAME] param lov.stripe_count=4 ??A much easier method with newer filesystems is to just set the striping on the root directory like "lfs setstripe -c 4 /mnt/lustre" and that will internally generate the above command and set the default striping. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.
This sounds elegant, but is it persistent? If not, what is the more reigorous method? Mike -----Original Message----- From: Andreas.Dilger at sun.com [mailto:Andreas.Dilger at sun.com] On Behalf Of Andreas Dilger Sent: Saturday, September 27, 2008 12:23 AM To: Mike Feuerstein Cc: lustre-discuss at lists.lustre.org Subject: Re: [Lustre-discuss] How to change default stripe count On Sep 26, 2008 16:41 -0500, Mike Feuerstein wrote:> I suspect that tunefs.lustre is used to change the stripe count for an > existing file system > > from Lustre default to some other value, but I''m not sure if I do this > at the MDT or on each OST device. > > tunefs.lustre -fsname=[NAME] param lov.stripe_count=4 ??A much easier method with newer filesystems is to just set the striping on the root directory like "lfs setstripe -c 4 /mnt/lustre" and that will internally generate the above command and set the default striping. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.
Brian J. Murrell
2008-Sep-29 14:01 UTC
[Lustre-discuss] How to change default stripe count
On Sat, 2008-09-27 at 12:02 -0500, Mike Feuerstein wrote:> This sounds elegant, but is it persistent?lfs setstripe is always persistent. b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20080929/e462363b/attachment.bin