Operating System - HP-UX
1834598 Members
4142 Online
110069 Solutions
New Discussion

reduce a mirroring with 3 copies for special disk

 
malki_3
Frequent Advisor

reduce a mirroring with 3 copies for special disk

Hello
I have one LV with on mirroring with 3 copies on 3 differents disks
I want t reduce this mirroring to 2 for special disk .. How can I do
Thikns for your help
2 REPLIES 2
Jeff Schussele
Honored Contributor

Re: reduce a mirroring with 3 copies for special disk

Hi malki,

You need to lvreduce out the disk you don't want in the mirror anymore - as follows:

lvreduce -m 1 /dev/vg_name/lv_name /dev/dsk/cxtydz

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Helen French
Honored Contributor

Re: reduce a mirroring with 3 copies for special disk

Hi Malki:

You can make it happen with the lvreduce command:

# lvreduce -m 1 lv_name pv_name_you_need_to_release

This will remove the mirror copy from the specified disk. Check the lvdisplay output after doing this for confirmation:

# lvdisplay -v lv_name

HTH,
Shiju
Life is a promise, fulfill it!