[LU-2773] remote directories cannot be removed by "rm -r" Created: 06/Feb/13  Updated: 23/Apr/13  Resolved: 07/Feb/13

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

Type: Bug Priority: Blocker
Reporter: John Hammond Assignee: Di Wang
Resolution: Duplicate Votes: 0
Labels: LB

Issue Links:
Duplicate
duplicates LU-2240 implement index range lookup for osd-... Resolved
duplicates LU-2754 rename from MDT1 to MDT0 sometimes ap... Resolved
Related
is related to LU-2755 calling rmdir on remote directory ret... Resolved
Epic/Theme: dne, test
Severity: 3
Rank (Obsolete): 6716

 Description   

With MDSCOUNT=2, sanity test 31f will fail when the test creates a directory using 'lfs setdirstripe -i 1' but then tries to remove it using 'rm -r'. A test_rmdir function could be added to test-framework.sh to handle this case.



 Comments   
Comment by Andreas Dilger [ 06/Feb/13 ]

Deleting a remote directory should work fine with "rm -r" or "rmdir", and should not need any special handling in userspace.

I think this is related to LU-2755, and there should NOT be special handling of deleting remote entries.

Comment by Andreas Dilger [ 06/Feb/13 ]

John, it would also be good to create new test cases if there is testing that you are doing by hand that is not being caught by existing regression tests.

Comment by Di Wang [ 07/Feb/13 ]

This can be fixed by http://review.whamcloud.com/#change,5257 as well.

Comment by Andreas Dilger [ 07/Feb/13 ]

Closing this as a duplicate of LU-2754, since the symptoms are similar, and they will be fixed by the same patch.

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