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

zconf_mount_clients() should not create a subdirectory that does not exist

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • Lustre 2.15.0
    • 2
    • 9223372036854775807

    Description

      When calling zconf_mount_clients() with a FILESET, the Lustre client is mounted at the corresponding subdirectory specified by the FILESET.

      However, when the subdirectory does not exist, it automatically creates it transparently. This does not seem to be intended (the caller should ensure the directory exists before mounting) and may hide bugs, e.g., when a test needs to verify that mounting against a non-existing directory is not possible.

      Attachments

        Activity

          [LU-18643] zconf_mount_clients() should not create a subdirectory that does not exist
          pjones Peter Jones added a comment -

          Merged for 2.17

          pjones Peter Jones added a comment - Merged for 2.17

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/57807/
          Subject: LU-18643 tests: Do not create subdirectory on client mount
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 8815ca5e73084e687a987d6509da021a140712b7

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/57807/ Subject: LU-18643 tests: Do not create subdirectory on client mount Project: fs/lustre-release Branch: master Current Patch Set: Commit: 8815ca5e73084e687a987d6509da021a140712b7

          "Marc Vef <mvef@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57807
          Subject: LU-18643 tests: Do not create subdirectory on client mount
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 60d1affc003f15691504dfc6d3841f2482ceeb90

          gerrit Gerrit Updater added a comment - "Marc Vef <mvef@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57807 Subject: LU-18643 tests: Do not create subdirectory on client mount Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 60d1affc003f15691504dfc6d3841f2482ceeb90

          People

            mvef Marc Vef
            mvef Marc Vef
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: