[LU-8616] DNE3: enhance "lfs mkdir" to select specific MDTs Created: 15/Sep/16 Updated: 28/Jan/22 Resolved: 09/Jan/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.11.0, Lustre 2.12.0 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Adam Roe (Inactive) | Assignee: | Lai Siyao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | dne3 | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||||||
| Description |
|
Request to enhance the functionality of "lfs setdirstripe" to include the selection of specific MDT's as appose to a series. The current implementation allows for stripe on a series of MDT's, e.g.: lfs setdirstripe -D -i 0 -c 4 /some/dir This will stripe to 4 MDT's at the start index of MDT0. I am proposing we enhance this to stripe to multiple specific MDT's, e.g.: lfs setdirstripe -D -o 1,3,5,7 /some/dir This will stripe to 4 specific MDT's with the indexes 1, 3, 5 & 7 - in which case no start index would be required. This will allow for more controllable striping in a case where a file system could have many MDT's across many systems and in cases where multiple MDT's may exist on one server. |
| Comments |
| Comment by Lai Siyao [ 07/Nov/17 ] |
|
To implement this elegantly, we need to introduce 'pool' to dir striping like data striping first. |
| Comment by Gerrit Updater [ 18/Dec/17 ] |
|
Lai Siyao (lai.siyao@intel.com) uploaded a new patch: https://review.whamcloud.com/30566 |
| Comment by Gerrit Updater [ 09/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30566/ |
| Comment by Minh Diep [ 09/Jan/18 ] |
|
Landed in 2.11 |
| Comment by Andreas Dilger [ 22/Sep/18 ] |
|
Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33216 |
| Comment by Gerrit Updater [ 05/Oct/18 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33216/ |
| Comment by Andreas Dilger [ 28/Jan/22 ] |
|
The patch here allowed creating new directories with specific MDTs, but didn't add the ability to set default directory layouts with specific MDTs. I've filed LU-15494 for that. |