Operating System - HP-UX
1827293 Members
1295 Online
109717 Solutions
New Discussion

Re: Remove Mirrored Volume

 
SOLVED
Go to solution
Zean Wilmot
Occasional Advisor

Remove Mirrored Volume

Hi

I have added a new disk to current Mirrored Volume Group.

As followed :
1.pvcreate /dev/rdsk/cXtXdX
2.vgextend vgXX /dev/dsk/cXtXdX
3.lvextend -m2 /dev/vg03/lvolx /dev/dsk/cxtxdx

But when i turn off strict allocation policy with lvchange -C n /dev/vg01/lvol12 and issue the following command to extend i get the following message:
lvextend -L 18384 /dev/vg01/lvol12 /dev/dsk/c5t10d0
Not enough free physical extents available.
Logical volume "/dev/vg01/lvol12" could not be extended.

How can i move this Mirrored disk to enable me to do the following.(please read attachment)

Thanks
Zean
2 REPLIES 2
Mark Grant
Honored Contributor
Solution

Re: Remove Mirrored Volume

lvchange -C doesn't change the "strict" part of the allocation policy, only the "contiguous" part. You will need the "-s n" option too. However, this might mean taht you end up having your data and the mirror on the same disk.
Never preceed any demonstration with anything more predictive than "watch this"
Zean Wilmot
Occasional Advisor

Re: Remove Mirrored Volume

Great thasts resolved it.

Zean