Details

    • Improvement
    • Resolution: Fixed
    • Major
    • Lustre 2.6.0
    • None
    • None
    • 3
    • 8895

    Description

      This ticket is for tracking striped directory in DNE phase II.

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            [LU-3531] DNE2: striped directory
            adilger Andreas Dilger made changes -
            Fix Version/s New: Lustre 2.6.0 [ 10595 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17392/
            Subject: LU-3531 doc: update lfs migrate and mkdir documentation.
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: af4dfdeb689a5c8b86184480525fec9a6d36699a

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17392/ Subject: LU-3531 doc: update lfs migrate and mkdir documentation. Project: fs/lustre-release Branch: master Current Patch Set: Commit: af4dfdeb689a5c8b86184480525fec9a6d36699a
            rhenwood Richard Henwood (Inactive) made changes -
            Affects Version/s Original: Lustre 2.8.0 [ 11113 ]
            rhenwood Richard Henwood (Inactive) made changes -
            Affects Version/s New: Lustre 2.8.0 [ 11113 ]

            Richard Henwood (richard.henwood@intel.com) uploaded a new patch: http://review.whamcloud.com/17392
            Subject: LU-3531 doc: remove redundant documentation.
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 7967e9239f554179a7df6721509238fb0a40ef72

            gerrit Gerrit Updater added a comment - Richard Henwood (richard.henwood@intel.com) uploaded a new patch: http://review.whamcloud.com/17392 Subject: LU-3531 doc: remove redundant documentation. Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 7967e9239f554179a7df6721509238fb0a40ef72
            pjones Peter Jones made changes -
            Link New: This issue is related to LU-6660 [ LU-6660 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to LU-6661 [ LU-6661 ]
            adilger Andreas Dilger made changes -
            Link Original: This issue is duplicated by LU-5302 [ LU-5302 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is duplicated by LU-5302 [ LU-5302 ]

            I learned from reading remote_dir.sh that in addition to lfs setdirstripe, there is a -c option to lfs mkdir that creates striped directories. Is this documented anywhere? It is not in the usage message for lfs mkdir or in the man page.

            There also appears to be a -D option to set default striping on a new directory, which acts the same way as lfs setdirstripe.

            Updating the usage messages (and the man page) should be part of adding these new options if we want users to be able to use them.
            [lfs setdirstripe is also absent from the lfs man page]

            Should -D work when creating a new directory? It does not currently. If it's not supposed to work, that should be reflected in the usage message for lfs setdirstripe and lfs mkdir [since all of the other options work when making a new directory]...

            It also seems like it should have a helpful error message, rather than "unable to open":
            lfs setdirstripe -i 3 -c 3 -D test_dir5
            unable to open 'test_dir5': No such file or directory (2)
            error: setdirstripe: create stripe dir 'test_dir5' failed

            paf Patrick Farrell (Inactive) added a comment - I learned from reading remote_dir.sh that in addition to lfs setdirstripe, there is a -c option to lfs mkdir that creates striped directories. Is this documented anywhere? It is not in the usage message for lfs mkdir or in the man page. There also appears to be a -D option to set default striping on a new directory, which acts the same way as lfs setdirstripe. Updating the usage messages (and the man page) should be part of adding these new options if we want users to be able to use them. [lfs setdirstripe is also absent from the lfs man page] Should -D work when creating a new directory? It does not currently. If it's not supposed to work, that should be reflected in the usage message for lfs setdirstripe and lfs mkdir [since all of the other options work when making a new directory] ... It also seems like it should have a helpful error message, rather than "unable to open": lfs setdirstripe -i 3 -c 3 -D test_dir5 unable to open 'test_dir5': No such file or directory (2) error: setdirstripe: create stripe dir 'test_dir5' failed

            People

              di.wang Di Wang
              di.wang Di Wang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: