Details
-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
Lustre 2.6.0
-
None
-
3
-
14851
Description
I hit this error when I run mkfs.lustre as before:
[root@centos6-1 tests]# LOAD=yes sh llmount.sh Loading modules from /root/master/lustre/tests/.. detected 2 online CPUs by sysfs Force libcfs to create 2 CPU partitions ../libcfs/libcfs/libcfs options: 'cpu_npartitions=2' debug=vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck subsystem_debug=all -lnet -lnd -pinger gss/krb5 is not supported quota/lquota options: 'hash_lqs_cur_bits=3' [root@centos6-1 tests]# ../utils/mkfs.lustre --mgs --fsname=lustre --mdt --index=0 --backfstype=ldiskfs --device-size=200000 --reformat /tmp/lustre-mdt1 mkfs.lustre FATAL: unhandled fs type 1 'ldiskfs' mkfs.lustre FATAL: unable to prepare backend (22) mkfs.lustre: exiting with 22 (Invalid argument)
It happened because load_backfs_module(mount_type=LDD_MT_LDISKFS) failed in osd_init(). Running gdb showed
468 dirname = getenv("LUSTRE"); (gdb) n 469 if (dirname) { (gdb) p dirname $1 = 0x0 (gdb) n 507 return NULL;
Failed to use locally built modules.
This code is from the patch http://review.whamcloud.com/#/c/10468.
Attachments
Issue Links
- is related to
-
LU-17079 Refactor mkfs/mount plugin system
-
- Resolved
-