Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
-
RHEL 5.7, kernel 2.6.18-274.3.1.el5_lustre.g9500ebf
-
9744
Description
If I execute tunefs.lustre on the MDS/MGS or OSSes without /sbin in my PATH, it displays an error message stating the device has not been formatted with mkfs.lustre. This is incorrect. As soon as I add /sbin to my PATH, tunefs.lustre works fine.
pmds1:~$ sudo /usr/sbin/tunefs.lustre --print /dev/mapper/mpath0
checking for existing Lustre data: not found
tunefs.lustre FATAL: Device /dev/mapper/mpath0 has not been formatted with mkfs.lustre
tunefs.lustre: exiting with 19 (No such device)
pmds1:~$ export PATH=$PATH:/sbin
pmds1:~$ sudo /usr/sbin/tunefs.lustre --print /dev/mapper/mpath0
checking for existing Lustre data: found CONFIGS/mountdata
Reading CONFIGS/mountdata
Read previous values:
Target: wrkdir10-MDT0000
Index: 0
Lustre FS: wrkdir10
Mount type: ldiskfs
Flags: 0x5
(MDT MGS )
Persistent mount opts: iopen_nopriv,user_xattr,errors=remount-ro
Parameters: failover.node=10.55.128.122@o2ib,10.54.128.122@tcp mdt.quota_type=u
Permanent disk data:
Target: wrkdir10-MDT0000
Index: 0
Lustre FS: wrkdir10
Mount type: ldiskfs
Flags: 0x5
(MDT MGS )
Persistent mount opts: iopen_nopriv,user_xattr,errors=remount-ro
Parameters: failover.node=10.55.128.122@o2ib,10.54.128.122@tcp mdt.quota_type=u
exiting before disk write.
Attachments
Issue Links
- is related to
-
LU-13241 mount.lustre for large filesystem runs slow debugfs commands
-
- Resolved
-
Patch for master branch is in http://review.whamcloud.com/2571.