Operating System - HP-UX
1834020 Members
3127 Online
110063 Solutions
New Discussion

Re: PVG Strict mirroring of non-root disks

 
SOLVED
Go to solution
Sagar Sirdesai
Trusted Contributor

PVG Strict mirroring of non-root disks

Hi
I've existing vg01 with 2 disks and 5 lvols
/dev/dsk/c9t11d0
/dev/dsk/c9t13d0

I've added two more disks in from different storage.

I plan to mirroring the lvols in vg01 to new disks froma new storage possibly PVG strict.

Please advise if this possible on an existing VG.

Sagar

3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: PVG Strict mirroring of non-root disks

Are the LV's currently mirrored? If not, then this is definitely possible.

You can change the mirror policy to PVG-strict on the LV's by doing:

# lvchange -s g /dev/vg01/lvol1
(or whatever your LV names are).

You'll have to do this for each LV since mirroring is done at an LV level.

Then you can do your 'lvextend -m 1' to mirror the LVs.

Since you want to use PVGs, make sure you create your PVGs in the /etc/lvmpvg file.

# man lvmpvg for more information.
Sagar Sirdesai
Trusted Contributor

Re: PVG Strict mirroring of non-root disks

Thanks for your help.

Sagar
Fernando Boza
Regular Advisor

Re: PVG Strict mirroring of non-root disks

Is posible with LV's mirrored?