Description of problem: RHEL4u4 version of bz 210396 You can rename a "regular" mirror but not a converted mirror. # Works [root@link-08 lvm]# lvcreate -n mirror -L 10G vg Logical volume "mirror" created [root@link-08 lvm]# lvrename vg /dev/vg/mirror mirror2 Renamed "mirror" to "mirror2" in volume group "vg" # Doesn't work [root@link-08 lvm]# lvcreate -L 10G -n lv vg Logical volume "lv" created [root@link-08 lvm]# lvconvert -m 1 /dev/vg/lv Logical volume lv converted. [root@link-08 lvm]# lvrename vg /dev/vg/lv mirror2 Mirrored LV, "lv" cannot be renamed: Function not implemented Version-Release number of selected component (if applicable): [root@link-08 lvm]# rpm -q lvm2 lvm2-2.02.06-6.0.RHEL4
Mirrors should not be able to be renamed, no matter how they are created. I believe there is an RFE for this though. [root@neo-06 ~]# lvcreate -m1 -L 500M -n lv vg Logical volume "lv" created [root@neo-06 ~]# lvrename vg lv lv2 Mirrored LV, "lv" cannot be renamed: Function not implemented [root@neo-06 ~]# lvrename vg /dev/vg/lv lv2 Mirrored LV, "lv" cannot be renamed: Function not implemented
Jon you're correct. This is not a bug.