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

tune2fs leaves MMP block in inconsistent state on error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Running "tune2fs -O project" on the MGS fails because it may be formatted with 128-byte inode size if smaller than 512MB in size. This prevents the "project" feature from being used because there is no extended inode space to hold the project ID.

      As a result, tune2fs exits without resetting the MMP block to an "unused" state, and this prevents the filesystem from being mounted, with an error:

      LDISKFS-fs warning (device dm-9): ldiskfs_multi_mount_protect:311: fsck is running on the filesystem 
      LDISKFS-fs warning (device dm-9): ldiskfs_multi_mount_protect:311: MMP failure
           info: last update time: 1591374065, last update node: mds-9-0,
           last update device: /dev/mapper/vg_mgs-mgs
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: