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

Ability for client to mount subdirectories of a Lustre filesystem

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.9.0
    • Lustre 2.0.0
    • 3
    • 15,267
    • 9769

    Description

      In kicking around some ideas for the use of Lustre as a replacement for NFS user directories (home and application areas), the thought of being able to export/mount a subdirectory of a Lustre LOV came up.

      Attachments

        Issue Links

          Activity

            [LU-28] Ability for client to mount subdirectories of a Lustre filesystem

            The patch has landed to master for 2.9.0

            jgmitter Joseph Gmitter (Inactive) added a comment - The patch has landed to master for 2.9.0

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/5007/
            Subject: LU-28 fileset: add fileset mount support
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 9bd3e64b817ccbbf9760864b84908b87e13ebfe8

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/5007/ Subject: LU-28 fileset: add fileset mount support Project: fs/lustre-release Branch: master Current Patch Set: Commit: 9bd3e64b817ccbbf9760864b84908b87e13ebfe8
            laisiyao Lai Siyao added a comment -

            As Andreas suggested above, this feature should support mount with fileset name instead of "traverse directory on client" hack. This is not a minor change, I'll update it later.

            laisiyao Lai Siyao added a comment - As Andreas suggested above, this feature should support mount with fileset name instead of "traverse directory on client" hack. This is not a minor change, I'll update it later.
            pjones Peter Jones added a comment -

            Scott

            Thanks for drawing attention to this.

            Lai

            Kit has moved on to a new job. Could you please refresh the patch on his behalf?

            Thanks

            Peter

            pjones Peter Jones added a comment - Scott Thanks for drawing attention to this. Lai Kit has moved on to a new job. Could you please refresh the patch on his behalf? Thanks Peter

            Has this patch been held up just due to the tab/space formatting issues since last January?

            We are looking at working around this with bind mounts, and I ran across this patch.

            Scott

            sknolin Scott Nolin (Inactive) added a comment - Has this patch been held up just due to the tab/space formatting issues since last January? We are looking at working around this with bind mounts, and I ran across this patch. Scott

            What would also be very useful here for future expansion is to enhance the MDS_GETSTATUS RPC to accept a fileset name, currently always "ROOT", so that this handling can be done by the MDS in the future and the "traverse directory on client" hack can be avoided. That would allow completely independent filesets to be handled by different subtrees on the same MDT. For the initial implementation, the MDT would just check for "ROOT" (if it is sent), and return -ENODEV if it is something else, but it would at least get clients ready for the next step.

            adilger Andreas Dilger added a comment - What would also be very useful here for future expansion is to enhance the MDS_GETSTATUS RPC to accept a fileset name, currently always "ROOT", so that this handling can be done by the MDS in the future and the "traverse directory on client" hack can be avoided. That would allow completely independent filesets to be handled by different subtrees on the same MDT. For the initial implementation, the MDT would just check for "ROOT" (if it is sent), and return -ENODEV if it is something else, but it would at least get clients ready for the next step.

            Great, thanks

            kitwestneat Kit Westneat (Inactive) added a comment - Great, thanks
            pjones Peter Jones added a comment -

            Kit

            No further action is needed - the patch is already in the queue for landing consideration

            Peter

            pjones Peter Jones added a comment - Kit No further action is needed - the patch is already in the queue for landing consideration Peter

            Thanks for the review. I'm still new to Gerrit, is there someone I should add for +2?

            kitwestneat Kit Westneat (Inactive) added a comment - Thanks for the review. I'm still new to Gerrit, is there someone I should add for +2?

            I rebased it on master, it's here: http://review.whamcloud.com/#change,5007

            kitwestneat Kit Westneat (Inactive) added a comment - I rebased it on master, it's here: http://review.whamcloud.com/#change,5007

            People

              wangshilong Wang Shilong (Inactive)
              laisiyao Lai Siyao
              Votes:
              0 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: