[LU-3531] DNE2: striped directory Created: 29/Jun/13  Updated: 14/Jun/18  Resolved: 14/Jun/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.6.0

Type: Improvement Priority: Major
Reporter: Di Wang Assignee: Di Wang
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by LU-4559 Failure on test suite ost-pools test_... Resolved
Related
is related to LU-4562 parallel-scale test_connectathon: did... Resolved
is related to LU-4850 DNE Striped Directory - Changing defa... Resolved
is related to LU-4883 mdc_set_lock_data()) ASSERTION( old_i... Resolved
is related to LU-4897 dt_declare_delete()) ASSERTION( dt->d... Resolved
is related to LU-4925 bad negative dentry caching in stripe... Resolved
is related to LU-4420 sanity test_161a: cannot create regul... Resolved
is related to LU-4657 add [--delete|-d] option for lfs set... Resolved
is related to LU-4715 creating enough files in a directory ... Resolved
is related to LU-4929 create remote directory does not acce... Resolved
is related to LU-4930 osd_object_destroy()) ASSERTION( osd_... Resolved
is related to LU-4521 mdc_read_entry() leaks pages Closed
is related to LU-4945 req_capsule_get: Wrong buffer for fi... Closed
is related to LU-4921 DNE clients should fall back to "try ... Resolved
is related to LU-4684 DNE3: allow migrating DNE striped dir... Resolved
is related to LU-4603 NFS reexport leads to problems of "ls" Resolved
is related to LU-4573 sanityn test_76 fails on DNE (512 != ... Resolved
is related to LU-4571 sanity test_17n: create remote dir er... Resolved
is related to LU-4401 sanityn test_13 : f13 shouldn't retur... Closed
is related to LUDOC-198 Complete Lustre Manual updates for DN... Resolved
is related to LU-6660 interop DNE2 test between 2.5/2.7 cli... Resolved
is related to LU-6661 Interop DNE2 test between DNE2 client... Resolved
Sub-Tasks:
Key
Summary
Type
Status
Assignee
LU-3528 move directory entries cache from lli... Technical task Resolved Di Wang  
LU-3529 create striped directory Technical task Resolved Di Wang  
LU-3530 delete striped directory Technical task Resolved Di Wang  
LU-3532 rename under same striped directory Technical task Resolved Di Wang  
LU-3533 rename under different striped directory Technical task Resolved Di Wang  
LU-3779 support default LOV for striped dir Technical task Resolved Di Wang  
LU-3780 support default LMV for striped dir. Technical task Resolved Di Wang  
Severity: 3
Rank (Obsolete): 8895

 Description   

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



 Comments   
Comment by Di Wang [ 24/Aug/13 ]

http://review.whamcloud.com/#/c/7445/

Comment by Patrick Farrell (Inactive) [ 20/May/14 ]

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

Comment by Gerrit Updater [ 30/Nov/15 ]

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

Comment by Gerrit Updater [ 05/Feb/16 ]

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

Generated at Sat Feb 10 01:34:43 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.