-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
None
-
None
-
3
-
9223372036854775807
mount.lustre_tgt symlink is never installed since 6493d8997e96 ("LU-17843 build: mount.lustre_tgt as symlink"), so "mount -t lustre_tgt" always fails with the following error:
# mount -t lustre_tgt /dev/nvme0n1 /mnt/mdt0/ mount: /mnt/mdt0: wrong fs type, bad option, bad superblock on /dev/nvme0n1, missing codepage or helper program, or other error. dmesg(1) may have more information after failed mount system call. # LIBMOUNT_DEBUG=all mount -t lustre_tgt /dev/nvme0n1 /mnt/mdt0/ 2>&1 | grep lustre_tgt 894865: libmount: CXT: [0x55e83548ac50]: FS type: lustre_tgt [rc=0] 894865: libmount: CXT: [0x55e83548ac50]: /sbin/mount.lustre_tgt ... not found 894865: libmount: CXT: [0x55e83548ac50]: /sbin/fs.d/mount.lustre_tgt ... not found 894865: libmount: CXT: [0x55e83548ac50]: /sbin/fs/mount.lustre_tgt ... not found 894865: libmount: HOOK: new FS 'lustre_tgt' 894865: libmount: HOOK: fsopen(lustre_tgt) fstype: lustre_tgt
In addition lustre.spec.in marks the path as %ghost, which keeps it out of the package payload; "rpm -ql lustre" lists /sbin/mount.lustre_tgt but the file does not exist on disk.
# rpm -ql lustre | grep lustre_tgt
/sbin/mount.lustre_tgt
/usr/share/man/man8/mount.lustre_tgt.8.gz
# which lustre_tgt
/usr/bin/which: no lustre_tgt in (/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
# ll /sbin/mount.lustre_tgt
ls: cannot access '/sbin/mount.lustre_tgt': No such file or directory