Hide Forgot
Description of problem: Starting in 6.1, we can create snapshots of mirrored volumes. However, we are not apparently able yet to convert volumes into snapshots of mirrored volumes. The error for attempting this should reflect that. [root@grant-01 ~]# lvs -a -o +devices LV VG Attr Log Copy% Devices origin snapper mwi-a- origin_mlog 100.00 origin_mimage_0(0),origin_mimage_1(0) [origin_mimage_0] snapper iwi-ao /dev/sdb1(0) [origin_mimage_1] snapper iwi-ao /dev/sdb2(0) [origin_mlog] snapper lwi-ao /dev/sdc2(0) snap_to_convert snapper -wi-a- /dev/sdb1(75) [root@grant-01 ~]# lvconvert -s snapper/origin snapper/snap_to_convert Unable to create a snapshot of a mirrored LV. That error isn't accurate since you can create snaps of mirrors. It should say something like: "Unable to convert an LV into a snapshot of a mirrored LV" The error is better when to switch the volumes being converted (ie. attempt to convert a mirrored LV in a snap of a linear). [root@grant-01 ~]# lvconvert -s snapper/snap_to_convert snapper/origin Unable to convert mirrored LV "origin" into a snapshot. Version-Release number of selected component (if applicable): 2.6.32-130.el6.x86_64 lvm2-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 lvm2-libs-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 lvm2-cluster-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 udev-147-2.35.el6 BUILT: Wed Mar 30 07:32:05 CDT 2011 device-mapper-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 device-mapper-libs-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 device-mapper-event-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 device-mapper-event-libs-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 cmirror-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011
Unable to convert an LV into a snapshot of a (locked|pvmove|mirroredsnapshot) LV.
Changed - v2.02.86.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The error message "Unable to create a snapshot of a locked|pvmove|mirrored LV" has been changed to "Unable to convert an LV into a snapshot of a locked|pvmove|mirrored LV." for clarity when using lvconvert command.
Fix verified in the latest rpms. [root@taft-02 ~]# lvconvert -s snapper/origin snapper/snap_to_convert Unable to convert an LV into a snapshot of a mirrored LV. 2.6.32-192.el6.x86_64 lvm2-2.02.87-1.el6 BUILT: Fri Aug 12 06:11:57 CDT 2011 lvm2-libs-2.02.87-1.el6 BUILT: Fri Aug 12 06:11:57 CDT 2011 lvm2-cluster-2.02.87-1.el6 BUILT: Fri Aug 12 06:11:57 CDT 2011 udev-147-2.37.el6 BUILT: Wed Aug 10 07:48:15 CDT 2011 device-mapper-1.02.66-1.el6 BUILT: Fri Aug 12 06:11:57 CDT 2011 device-mapper-libs-1.02.66-1.el6 BUILT: Fri Aug 12 06:11:57 CDT 2011 device-mapper-event-1.02.66-1.el6 BUILT: Fri Aug 12 06:11:57 CDT 2011 device-mapper-event-libs-1.02.66-1.el6 BUILT: Fri Aug 12 06:11:57 CDT 2011 cmirror-2.02.87-1.el6 BUILT: Fri Aug 12 06:11:57 CDT 2011
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. http://rhn.redhat.com/errata/RHBA-2011-1522.html