[LU-13434] lfs mirror delete by component-id does not work Created: 08/Apr/20 Updated: 30/Apr/20 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Upstream |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Kevin Baillergeau | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | CEA, FLR | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
--comp-id option of "lfs mirror delete" does not work and trigger the following error : [root@vm4 flr]# lfs getstripe foo
foo
lcm_layout_gen: 2
lcm_mirror_count: 2
lcm_entry_count: 2
lcme_id: 65537
lcme_mirror_id: 1
lcme_flags: init
lcme_extent.e_start: 0
lcme_extent.e_end: EOF
lmm_stripe_count: 1
lmm_stripe_size: 1048576
lmm_pattern: raid0
lmm_layout_gen: 0
lmm_stripe_offset: 4
lmm_objects:
- 0: { l_ost_idx: 4, l_fid: [0x100040000:0x182:0x0] }
lcme_id: 131074
lcme_mirror_id: 2
lcme_flags: init
lcme_extent.e_start: 0
lcme_extent.e_end: EOF
lmm_stripe_count: 1
lmm_stripe_size: 1048576
lmm_pattern: raid0
lmm_layout_gen: 0
lmm_stripe_offset: 2
lmm_objects:
- 0: { l_ost_idx: 2, l_fid: [0x100020000:0x182:0x0] }
[root@vm4 flr]# lfs mirror delete --comp-id 65537 foo
lfs mirror delete delete: option -d is mutually exclusive with -s, -c, -o, -p, -I, -F and -E options
delete a mirror from a file.
I suppose it uses an error message from "lfs mirror split" but I (--comp-id) and -p should be allowed to be used both for "lfs mirror delete" and "lfs mirror split -d" according to their manpage. |
| Comments |
| Comment by Gerrit Updater [ 30/Apr/20 ] |
|
Dominique Martinet (dominique.martinet@cea.fr) uploaded a new patch: https://review.whamcloud.com/38429 |