breaking mirrors

Latest response

All I am looking to break a mirror that has multiple devices that I want to remove from the mirror.

to create the mirror I had to run
lvconvert -m1 --type mirror --corelog /dev/vg02/u01_SAN

When I ran
lvconvert -m0 /dev/vg02/u01_SAN /dev/mapper/mpathag1

I was thinking that the mirror would look to my new devices and not the old. (migration work)

but when I ran this after the split
lvs -o+devices

these devices were list as what the VG was running on

u01_SAN vg02 -wi-ao---- <767.99g /dev/mapper/mpathag1(0)
u01_SAN vg02 -wi-ao---- <767.99g /dev/mapper/mpathaf1(0)
u01_SAN vg02 -wi-ao---- <767.99g /dev/mapper/mpathah1(0)

new devices are mpathby / mpathbz /mpathca.

what am I doing wrong here??

Responses