[LU-12731] mkfs.lustre Fails with message "invalid filesystem option set" when large_dir option is enabled Created: 07/Sep/19 Updated: 08/Sep/19 Resolved: 08/Sep/19 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Arshad Hussain | Assignee: | WC Triage |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Single Node lustre system compiled with commit aba68250a67a10104c534bd726f67b31a7f35692 MDT is rather small. Just used for dev purposes
|
||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Using llmount.sh, which calls mkfs.lustre fails on MDT with invalid filesystem option. Simply removing the "large_dir" option make it work. Since we have the workaround making it minor. $ /root/mrp/lustre-xx-3.10/lustre-release/lustre/tests/../utils/mkfs.lustre --mgs --fsname=lustre --mdt --index=0 --param=sys.timeout=20 --param=mdt.identity_upcall=/root/mrp/lustre-xx-3.10/lustre-release/lustre/tests/../utils/l_getidentity --backfstype=ldiskfs --device-size=250000 --mkfsoptions="-O ea_inode,large_dir" --reformat /tmp/lustre-mdt1 Permanent disk data: formatting backing filesystem ldiskfs on /dev/loop0 mkfs.lustre FATAL: Unable to build fs /dev/loop0 (256) mkfs.lustre FATAL: mkfs failed 256
Good Case (without large_dir) $ /root/mrp/lustre-xx-3.10/lustre-release/lustre/tests/../utils/mkfs.lustre --mgs --fsname=lustre --mdt --index=0 --param=sys.timeout=20 --param=mdt.identity_upcall=/root/mrp/lustre-xx-3.10/lustre-release/lustre/tests/../utils/l_getidentity --backfstype=ldiskfs --device-size=250000 --mkfsoptions="-O ea_inode" --reformat /tmp/lustre-mdt1 Permanent disk data: formatting backing filesystem ldiskfs on /dev/loop0
|
| Comments |
| Comment by Andreas Dilger [ 07/Sep/19 ] |
|
What version of e2fsprogs do you have installed? |
| Comment by Arshad Hussain [ 08/Sep/19 ] |
|
Thanks Andreas! |
| Comment by Arshad Hussain [ 08/Sep/19 ] |
|
"large_dir" options did not work with e2fsprogs 1.42.13. Updating e2fsprogs to latest 1.45.2 solves the problem. |