Bug 236344
Summary: | lvextend -h shows mirror option | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | masanari iida <masanari_iida> |
Component: | lvm2 | Assignee: | Milan Broz <mbroz> |
Status: | CLOSED NOTABUG | QA Contact: | Corey Marthaler <cmarthal> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 5.0 | CC: | agk, dwysocha, jbrassow, mbroz, prockai, pvrabec |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-12-19 12:18:19 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
masanari iida
2007-04-13 11:31:27 UTC
Hmmm. lvextend -m in lvm2 means 'append to the LV a new section that is mirrored'. This is different from 'lvconvert -m'. We can cover this with a special lvextend error message, because our lvextend requires a size to be specified whereas - I presume (please check) - hpux version doesn't. lvconvert -m1 : converts to mirror with 2 images lvextend -m1 : adds (append) to existing LV new segment of specified size (here mirror of 2 images) (currently mirror doesn't support some types of operation) # lvextend -m 1 vg_test/mirr Please specify either size or extents but not both. Run `lvextend --help' for more information. # lvextend -m 1 -l +1 vg_test/mirr Extending logical volume mirr to 8.00 MB Logical volume mirr successfully resized # lvextend -l +1 vg_test/mirr Extending 2 mirror images. Extending logical volume mirr to 12.00 MB Logical volume mirr successfully resized # lvextend -m0 -l +1 vg_test/mirr Cannot vary number of mirrors in LV yet. Run `lvextend --help' for more information. So I think it works as expected, just the command usage differs from HP-UX LVM. Here, "extend" always means add space, "convert" changes volume layout. (And -m option will be documented in man page when mirror will support multiple segment types, it has no use today I think.) |