Bug 1191978
Summary: | LVM RAID - Add support to add/remove devices to/from existing raid sets | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Heinz Mauelshagen <heinzm> | |
Component: | lvm2 | Assignee: | Heinz Mauelshagen <heinzm> | |
lvm2 sub component: | Mirroring and RAID | QA Contact: | cluster-qe <cluster-qe> | |
Status: | CLOSED ERRATA | Docs Contact: | Steven J. Levine <slevine> | |
Severity: | unspecified | |||
Priority: | unspecified | CC: | agk, cmarthal, heinzm, jbrassow, msnitzer, pasik, prajnoha, prockai, zkabelac | |
Version: | 7.2 | Keywords: | Tracking | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | lvm2-2.02.169-1.el7 | Doc Type: | Release Note | |
Doc Text: |
Support for adding and removing devices from existing RAID logical volumes
You can now use the `lvconvert` command to add or remove devices from existing RAID logical volumes. When you add or remove a device from a RAID volume, the size of the RAID volume changes, since the capacity of a RAID logical volume is always the number of data stripes times the data image size. When removing images from a RAID volume, the "--force" option is mandatory because shrinking a volume comes with the inherent danger of data loss.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1465623 (view as bug list) | Environment: | ||
Last Closed: | 2017-08-01 21:47:18 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1189124, 1346081, 1385242, 1394039, 1411727, 1465623 |
Description
Heinz Mauelshagen
2015-02-12 10:30:38 UTC
Code's done and being reviewed/integrated. Upstream commits e2354ea344c2 to 34caf8317243 Heinz: For the release notes for 7.4, is it enough to say that you can now use the lvconvert command to add or remove devices from existing RAID logical volumes? Is there anything else a user needs to know here? Steven, it's worth mentioning that the size of a RaidLV changes doing so. I.e. the capacity always is 'N data stripes * image size' (lvconvert prompts and tells the user as much _before_ it converts adding/removing devices unless --yes is provided). In case of image removal, --force is mandatory because shrinking comes with the inherent danger of data loss (user gets information of size before/after disk removal and he can lvextend before removing images unless he provided --force _and_ --yes when the conversion is carried out without prompting). Heinz: Could you review the release note description in the doc text? I didn't mention the prompts this command produces and how to avoid them, for the purposes of a release note summary. Steven (In reply to Steven J. Levine from comment #9) > Heinz: > > Could you review the release note description in the doc text? I didn't > mention the prompts this command produces and how to avoid them, for the > purposes of a release note summary. > > Steven Good as a release note. Not mentioning prompting is fine because we have -y/--yes globally described in the lvm man page. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2222 |