[Lustre-discuss] Redundant mkfs.lustre options?
Charland, Denis
Denis.Charland at imi.cnrc-nrc.gc.ca
Mon Nov 7 08:50:39 PST 2011
It looks like the two following mkfs.lustre options are the same:
--mountfsoptions="stripe=" and --mkfsoptions "-E stripe-width="
>From documentation:
--mountfsoptions="stripe=<stripe_width_blocks>"
where <stripe_width_blocks> = <stripe_width> / 4K
we known that <stripe_width> = <chunksize> * <number of data disks>
so <stripe_width_blocks> = <chunksize> * <number of data disks> / 4k
we also know that <stride-size> = <chunksize> / 4K
that gives <chunksize> = <stride-size> * 4K
so <stripe_width_blocks> = <stride-size> * 4K *<number of data disks> / 4K = <stride-size> * <number of data disks>
Finally we have
mkfs.lustre . . . --mountfsoptions="stripe=<stride-size>*<number of data disks>"
And from mkfs.lustre and mke2fs man pages, we have:
mkfs.lustre . . . -mkfsoptions "-E stripe-width=<stride-size>*<number of data disks>"
Are these two options redundant and only one of them should be specified?
Denis Charland
UNIX Systems Administrator
National Research Council Canada
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20111107/9bc15fcd/attachment.htm>
More information about the lustre-discuss
mailing list