[LU-6094] e2fsprogs check_if_lustre_mounted() looks in /proc/fs/lustre/ost-ldiskfs Created: 08/Jan/15  Updated: 01/Jun/15  Resolved: 01/Jun/15

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

Type: Bug Priority: Major
Reporter: John Hammond Assignee: Niu Yawei (Inactive)
Resolution: Fixed Votes: 0
Labels: e2fsprogs

Severity: 3
Rank (Obsolete): 16964

 Description   

Running the mke2fs from the latest (1.42.12.wc1) e2frprogs I noticed it looking in /proc/fs/lustre/ost-ldiskfs but not in /proc/fs/lustre/osd-ldiskfs.

# which mke2fs
/sbin/mke2fs
# mke2fs -V
mke2fs 1.42.12.wc1 (15-Sep-2014)
	Using EXT2FS Library version 1.42.12.wc1
# ldd /sbin/mke2fs
	linux-vdso.so.1 =>  (0x00007fffaff94000)
	libext2fs.so.2 => /lib64/libext2fs.so.2 (0x00007eff7cec9000)
	libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007eff7ccc6000)
	libblkid.so.1 => /lib64/libblkid.so.1 (0x0000003024e00000)
	libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003024600000)
	libe2p.so.2 => /lib64/libe2p.so.2 (0x00007eff7cabe000)
	libc.so.6 => /lib64/libc.so.6 (0x0000003d04600000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003d04a00000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003d03e00000)
# strings /lib64/libext2fs.so.2 | grep /proc/
/proc/swaps
/proc/mounts
/proc/fs/lustre/ost-ldiskfs
/proc/fs/lustre/mgs
/proc/fs/lustre/mds
/proc/fs/lustre/obdfilter


 Comments   
Comment by Niu Yawei (Inactive) [ 27/Mar/15 ]

It'll be fixed along with LU-6093. http://review.whamcloud.com/14223

Comment by Niu Yawei (Inactive) [ 01/Jun/15 ]

patch landed.

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