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

warn when mounting ZFS pools without "multihost" enabled

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • Lustre 2.13.0, Lustre 2.12.1
    • Lustre 2.12.0, Lustre 2.10.5
    • None
    • 9223372036854775807

    Description

      It would be good to warn when importing a pool that does not have the multihost feature enabled, so that users are aware that their pool is exposed to potential data loss in case of double import.

      Ideally, this message would only be printed in the case that the OST is configured to be multi-homed (-failnode or -servicenode configured), but it isn't clear that the configuration layer that understands peers knows the pool is ZFS and vice versa. Since we enable multihost for all new pools since 2.10.1 there will hopefully be a relatively smaller number of sites not using this feature. It is not harmful (though not useful) if it is enabled for ZFS 0.6.x, so it might be worthwhile to print a slightly different message for ZFS 0.6.x encouraging the system to be upgraded.

      Attachments

        Activity

          [LU-11555] warn when mounting ZFS pools without "multihost" enabled
          pjones Peter Jones made changes -
          Link New: This issue is related to JFC-20 [ JFC-20 ]
          pjones Peter Jones made changes -
          Labels Original: LTS12
          pjones Peter Jones made changes -
          Fix Version/s New: Lustre 2.12.1 [ 14406 ]

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34300/
          Subject: LU-11555 utils: ZFS check multihost enabled in read_ldd()
          Project: fs/lustre-release
          Branch: b2_12
          Current Patch Set:
          Commit: af58b117ec0e252de641e05722768cad95bba44f

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34300/ Subject: LU-11555 utils: ZFS check multihost enabled in read_ldd() Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: af58b117ec0e252de641e05722768cad95bba44f
          adilger Andreas Dilger made changes -
          Link New: This issue is related to BGI-130 [ BGI-130 ]

          Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34300
          Subject: LU-11555 utils: ZFS check multihost enabled in read_ldd()
          Project: fs/lustre-release
          Branch: b2_12
          Current Patch Set: 1
          Commit: 5ca3ada4555390fcd8b281a3f74ab4475a04a7cd

          gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34300 Subject: LU-11555 utils: ZFS check multihost enabled in read_ldd() Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 5ca3ada4555390fcd8b281a3f74ab4475a04a7cd
          pjones Peter Jones made changes -
          Fix Version/s New: Lustre 2.13.0 [ 14290 ]
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          pjones Peter Jones added a comment -

          Landed for 2.13

          pjones Peter Jones added a comment - Landed for 2.13

          Probably good to include in 2.12.

          adilger Andreas Dilger added a comment - Probably good to include in 2.12.
          adilger Andreas Dilger made changes -
          Labels New: LTS12

          People

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

            Dates

              Created:
              Updated:
              Resolved: