[LU-13529] mkfs.lustre mkfsopts syntax Created: 07/May/20  Updated: 09/May/20

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Question/Request Priority: Minor
Reporter: Sergei Korobkov (Inactive) Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

I'm wondering how mkfs.lustre handles --mkfsopts parameters.
We have at least -i -I -N options.
-i <bytes-per-inode>
-I <inode-size>
-N <total number of inodes>
1. How mkfs.lustre behaves if multiple options specified simultaniously , for example: mkfs.lustre --mkfsoptions='-i 131072 -N 1073741824 -I 2048'

2.If mkfs.lustre still handles paramtere when option and value are not space-delimited, for example: --mkfsoptions='-i131072 -N1073741824 -I2048'



 Comments   
Comment by Andreas Dilger [ 09/May/20 ]

Using -N is preferred over -i. Using "-I" is independent of the other options, unless it results in an invalid filesystem (eg. -i < -I, or -I x -N > device size).

I don't think it matters if there is a space between the argument and the value or not.

Generated at Sat Feb 10 03:02:03 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.