[LU-13403] ‘lfs mirror extend’ should not require the mirror-count option Created: 31/Mar/20 Updated: 05/Jan/23 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.3, Lustre 2.14.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | James Nunez (Inactive) | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | FLR, easy, lfs | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
The Lustre manual states for ‘lfs mirror extend’ The mirror_count argument is optional and defaults to 1 if it is not specified; … In Lustre 2.12.3 and master, the mirror-count option is required # cp test-framework.sh /mnt/lustre/.
# lfs getstripe /mnt/lustre/test-framework.sh
/mnt/lustre/test-framework.sh
lmm_stripe_count: 1
lmm_stripe_size: 1048576
lmm_pattern: raid0
lmm_layout_gen: 0
lmm_stripe_offset: 1
obdidx objid objid group
1 3 0x3 0
# lfs mirror extend -c -1 /mnt/lustre/test-framework.sh
error: lfs mirror extend: --mirror-count|-N option is required
We should make ‘lfs mirror’ easier to use and use a default value for the mirror count is one is not provided on the command-line. |