Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-6094

e2fsprogs check_if_lustre_mounted() looks in /proc/fs/lustre/ost-ldiskfs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • 3
    • 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
      

      Attachments

        Activity

          People

            niu Niu Yawei (Inactive)
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: