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

'umount -f' of bind mount marks all imports inactive

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • Lustre 2.14.0, Lustre 2.17.0, Lustre 2.16.1
    • None
    • 3
    • 9223372036854775807

    Description

      Unmounting a bind mount to a client filesystem with the "-f" (force) option causes the unmount process to mark all of the MDT and OST imports on the client as inactive, resulting in the other bind and regular mounts to become inoperative:

      # mount -t lustre mookie-gig:/myth /myth
      # mount --bind /myth /mnt/tmp
      # umount -f /mnt/tmp
      Lustre: setting import myth-MDT0000_UUID INACTIVE by administrator request
      # lctl get_param *.*.active
      mdc.myth-MDT0000-mdc-ffff9a4ee3146800.active=0
      mdc.myth-MDT0001-mdc-ffff9a4ee3146800.active=0
      osc.myth-OST0000-osc-ffff9a4ee3146800.active=0
      osc.myth-OST0001-osc-ffff9a4ee3146800.active=0
      osc.myth-OST0002-osc-ffff9a4ee3146800.active=0
      osc.myth-OST0003-osc-ffff9a4ee3146800.active=0
      osc.myth-OST0004-osc-ffff9a4ee3146800.active=0
      # df /myth
      LustreError: 1029578:0:(file.c:5579:ll_inode_revalidate_fini()) myth: revalidate FID [0x208001:0x1c08b680:0x0] error: rc = -108
      df: /myth: Cannot send after transport endpoint shutdown
      

      Attachments

        1. umount-f.strace.txt
          15 kB
        2. umount-f.debug.txt.bz2
          874 kB
        3. umount.strace.txt
          15 kB
        4. umount.debug.txt
          98 kB

        Activity

          People

            adilger Andreas Dilger
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: