Details

    • New Feature
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 9223372036854775807

    Description

      It would a great feature for the MGS to ask/force a client to umount. This can be very useful in very large clusters with multiple networks.

      Attachments

        Issue Links

          Activity

            [LU-13078] mgs trigger umount of clients

            Attached the ancient controlled-server-shutdown.diff patch from bugzilla 18496. It will be hopelessly outdated, but may be a starting point for a new implementation.

            Newer kernels have the concept of a forced "abort/shutdown" of a mountpoint, which is a hard stop in case of corruption (e.g. ext4_abort()). We already have this to some extent in Lustre with ESHUTDOWN, but there is no way to trigger this manually.

            adilger Andreas Dilger added a comment - Attached the ancient controlled-server-shutdown.diff patch from bugzilla 18496. It will be hopelessly outdated, but may be a starting point for a new implementation. Newer kernels have the concept of a forced "abort/shutdown" of a mountpoint, which is a hard stop in case of corruption (e.g. ext4_abort() ). We already have this to some extent in Lustre with ESHUTDOWN , but there is no way to trigger this manually.
            adilger Andreas Dilger made changes -
            Attachment New: controlled-server-shutdown.diff [ 56517 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-17217 [ LU-17217 ]
            adilger Andreas Dilger added a comment - - edited

            One difference in this request vs. Simplified Interoperability is that unmounting a client may be problematic due to open file handles, unlike the original proposal which only quiescent the client mountpoints. The VFS will prevent the unmount with open files due to reference counting on the filesystem mountpoint. In newer kernels it may be possible to abort/evict the file handles from the filesystem side, but this would cause application errors.

            adilger Andreas Dilger added a comment - - edited One difference in this request vs. Simplified Interoperability is that unmounting a client may be problematic due to open file handles, unlike the original proposal which only quiescent the client mountpoints. The VFS will prevent the unmount with open files due to reference counting on the filesystem mountpoint. In newer kernels it may be possible to abort/evict the file handles from the filesystem side, but this would cause application errors.
            pjones Peter Jones made changes -
            Assignee Original: WC Triage [ wc-triage ] New: Peter Jones [ pjones ]
            adilger Andreas Dilger made changes -
            Link New: This issue duplicates LU-5703 [ LU-5703 ]

            This is similar to a feature which has been discussed in the past under the name of "Simplified Interoperability". In that feature the intent is to quiesce clients during a server failover or upgrade. There is already an architecture document for this feature, and surprisingly an old patch in the bugzilla 18496 ticket as well, though it is against Lustre 2.0 and would obviously need to be updated, but may at least serve as a guide for implementation.

            adilger Andreas Dilger added a comment - This is similar to a feature which has been discussed in the past under the name of " Simplified Interoperability ". In that feature the intent is to quiesce clients during a server failover or upgrade. There is already an architecture document for this feature, and surprisingly an old patch in the bugzilla 18496 ticket as well, though it is against Lustre 2.0 and would obviously need to be updated, but may at least serve as a guide for implementation.
            mhanafi Mahmoud Hanafi created issue -

            People

              pjones Peter Jones
              mhanafi Mahmoud Hanafi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: