[Lustre-discuss] How to change default stripe count
Mike Feuerstein
mike at cray.com
Sat Sep 27 10:02:16 PDT 2008
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.
More information about the lustre-discuss
mailing list