[LU-11467] FLR1.5: add "lfs mirror delete" command Created: 03/Oct/18 Updated: 04/Oct/19 Resolved: 04/Oct/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.0 |
| Fix Version/s: | Lustre 2.13.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | Jian Yu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | FLR, easy | ||
| Issue Links: |
|
||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
Using "lfs mirror split --destroy" is not a very obvious way to remove mirrors from a file. It would be useful to add "lfs mirror delete" (with a man page, of course) to do the same thing. The lfs mirror split command currently requires specifying an explicit mirror ID, but it would be more useful to allow lfs mirror delete to directly use lfs getstripe options like --comp-flags=prefer or --pool=flash to remove replicas. |
| Comments |
| Comment by Andreas Dilger [ 08/Aug/19 ] |
|
It would also be useful to add a "lfs mirror flags {--comp-id=N|--pool} --comp-flags={prefer,nosync} <file> ..." command to set the flags on a specific mirror, which is the same as the "lfs setstripe --comp-flags" command that already exists, but is not easily found. |
| Comment by Gerrit Updater [ 14/Sep/19 ] |
|
Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36185 |
| Comment by Gerrit Updater [ 04/Oct/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36185/ |
| Comment by Peter Jones [ 04/Oct/19 ] |
|
Landed for 2.13 |