[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:
Related
is related to LU-11022 FLR1.5: "lfs mirror" usability for Bu... Resolved
is related to LU-12649 Tracker for ongoing FLR improvements Open
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
Subject: LU-11467 utils: add lfs mirror delete command
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 041b9a33a71ce5a14083946ea45846bb918bc44a

Comment by Gerrit Updater [ 04/Oct/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36185/
Subject: LU-11467 utils: add lfs mirror delete command
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6d0e247cfc956dae1148aad054bb3d100c8863c9

Comment by Peter Jones [ 04/Oct/19 ]

Landed for 2.13

Generated at Sat Feb 10 02:44:08 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.