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

Adding OST may cause EIO - delay activation of new OSTs on existing filesystem

Details

    • 3
    • 9223372036854775807

    Description

      During OST addition,
      1. MDT gets configuration refreshment first.
      2. Then MDT get create request from the client, might allocate the object the new OST, then reply to the client.
      3. If client does not refresh its configuration yet, then do I/O with the EA, it might get EIO because it does not know the OST.

      So it probably needs add version to the config log to avoid this happen.

      This happens quite often in cloud environment. though not sure if there is duplicate ticket already.

      Attachments

        Issue Links

          Activity

            [LU-12025] Adding OST may cause EIO - delay activation of new OSTs on existing filesystem
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-17299 [ LU-17299 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-12998 [ LU-12998 ]
            pjones Peter Jones made changes -
            Labels Original: LTS12
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.12.4 [ 14690 ]

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36872/
            Subject: LU-12025 osp: allow OS_STATE_* flags from OSTs
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: b0194200146a54ee45df208da88dcc6b916fb51f

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36872/ Subject: LU-12025 osp: allow OS_STATE_* flags from OSTs Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: b0194200146a54ee45df208da88dcc6b916fb51f

            Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36872
            Subject: LU-12025 osp: allow OS_STATE_* flags from OSTs
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 8f2b85288f973681bd8bd6d8a04f421f57a78a04

            gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36872 Subject: LU-12025 osp: allow OS_STATE_* flags from OSTs Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 8f2b85288f973681bd8bd6d8a04f421f57a78a04
            adilger Andreas Dilger made changes -
            Fix Version/s New: Lustre 2.13.0 [ 14290 ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

            This allows the OST to completely disable itself from precreation without having to hack around in the state. Using "degraded" is only partially disabled (can still be used in emergency), and faking "out of space" is a hack.

            In LU-12036 we should allow mounting the OST with the "OS_STATE_NOPRECREATE" flag set, so that it can be mounted but it will not be used.

            adilger Andreas Dilger added a comment - This allows the OST to completely disable itself from precreation without having to hack around in the state. Using "degraded" is only partially disabled (can still be used in emergency), and faking "out of space" is a hack. In LU-12036 we should allow mounting the OST with the " OS_STATE_NOPRECREATE " flag set, so that it can be mounted but it will not be used.
            adilger Andreas Dilger made changes -
            Labels New: LTS12

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35029/
            Subject: LU-12025 osp: allow OS_STATE_* flags from OSTs
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 9b0ebf78f7919a144673edadc4a95bad84fae2d3

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35029/ Subject: LU-12025 osp: allow OS_STATE_* flags from OSTs Project: fs/lustre-release Branch: master Current Patch Set: Commit: 9b0ebf78f7919a144673edadc4a95bad84fae2d3

            People

              adilger Andreas Dilger
              di.wang Di Wang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: