[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: |
|
||||||||||||||||||||
| 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 |
| 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 |