1. Feature request:
The LVM implementation shall support HP-UX-style lvsplit(1M) and lvmerge(1M)
The lvsplit operation allows splitting a mirrored logical volume into two
initially identical logical volumes. The lvmerge operation is the inverse
operation of lvsplit. In case of mirrored logical volumes, this is superior to
snapshots in the following aspects:
1. A temporary snapshot of the volume can be made by detaching one of its
mirrors, requiring no additional space reservation.
2. There is no efficient way to convert a snapshot volume into a normal volume,
whereas an lvsplit operation directly results in creation of two normal volumes.
This is an efficient way to implement upgrade with rollback.
3. Combined with vgsplit(8), vgexport(8), and vgimport(8), this gives a
possibility to easily replicate a snapshot of an entire volume group to another
node, provided that it contains only mirrored logical volumes.
2. Description more details.
Architectures: Minimally x86, x86_64, but as
implementation is architecture-neutral, it
shall be available everywhere.
Dependencies: None known.
External links: N/A.
Priority (Must Have, High, Medium, Low): High.
Target Releases: RHEL5.3
Discussion today on LVM call. Summary is as follows.
Naming and options for commands (lvsplit / lvmerge) remains undecided. Some
thoughts were that the name of the LV would be needed for lvmerge, and some
lvcreate options might be used. Need to specify which image to pull out -
probably just a list on the end.
Most of the lvsplit logic is probably in existing lvconvert code; thus lvsplit
may just be a wrapper around the existing lvconvert logic.
lvmerge functionality / implementation was not as clear. Might be implemented
with snapshot merging code being worked on.
Heinz's replication code may be a more general case of the requested lvsplit /
Since this didn't make RHEL 5.3, moving it to RHEL 5.4. Cleared pm ACK and raised priority.
This enhancement request was evaluated by Red Hat Product Management for inclusion a Red Hat Enterprise Linux minor release.
Red Hat does not currently plan to provide this enhanced functionality in a Red Hat Enterprise Linux minor release for currently deployed products.
With the goal of minimizing risk of change for deployed systems, and in response to customer and partner requirements, Red Hat takes a conservative approach when evaluating enhancements for inclusion in minor releases for currently deployed products. The primary objectives of update releases are to enable new hardware platform support and to resolve critical defects.
For more information on Red Hat Enterprise Linux maintenance policies, please consult: http://www.redhat.com/security/updates/errata/
However, Red Hat will further review this request for potential inclusion in future major releases of Red Hat Enterprise Linux.
This enhancement is not yet committed for inclusion in future major release.
Postponing this for consideration in RHEL 6.2 after evaluation if the existing --splitmirror option addresses the requirements.
This feature has extensive architectural implications w.r.t the LVM mirroring code that is planned to be sorted out in RHEL 6.3 time-frame. Moving this to RHEL 6.3 for inclusion considerations during 6.3 planning.
This feature shall get supported as a result of the work that is presently underway to allow md (software RAID) to be accessed through LVM. Currently looking at RHEL 6.4 and 7.0 time-frame for full support.
The ability to split an image from a mirror and later merge it back will not be implemented using the 'mirror' segment type. Instead, LVM is adding support for MD's RAID personalities (RAID 1/4/5/6), and the feature will be provided via the 'raid1' segment type - a new mirroring implementation. Progress on the split/merge feature can be found in bug 732458.