Operating System - HP-UX
1832936 Members
2806 Online
110048 Solutions
New Discussion

Re: Mirror Logical Volume in another volume group

 
SOLVED
Go to solution
Marcelo De Florio_1
Frequent Advisor

Mirror Logical Volume in another volume group

Howcan I mirror a logical volume un another volume group ?

MDF
Marcelo De Florio
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor

Re: Mirror Logical Volume in another volume group

Hi Marcelo:

You can't. HP-UX MirrorDisk/UX software implements mirroring at the *logical volume* level. Since a logical volume belongs to a volume group, you cannot mirror a paricular logical volume (say /vg01/lvol1) on anything but /vg01.

Regards!

...JRF...
Sanjay_6
Honored Contributor

Re: Mirror Logical Volume in another volume group

Hi Marcelo,

You cannot mirror a LV if you expect the primary and the mirror to stay on different VG.

Hope this helps.

Regds
Deshpande Prashant
Honored Contributor

Re: Mirror Logical Volume in another volume group

HI
With HP-UX the mirroring of logical volumes have to be within the same volume group.

Thanks.
Prashant Deshpande.
Take it as it comes.
Darrell Allen
Honored Contributor

Re: Mirror Logical Volume in another volume group

Hi Marcelo,

Mirroring on HPUX is provided by MirrorDisk/UX package. It's an added cost package from HP. It requires logical volumes be mirrored within the volume group.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Marcin Wicinski
Trusted Contributor

Re: Mirror Logical Volume in another volume group

Hi,
mirroring in another volume group is not possible, but you can use phisical volume groups. then you can build two PVG's whithin vg and mirror lvols between pv in different PVG.
Marcin Wicinski
Marcin Wicinski
Trusted Contributor
Solution

Re: Mirror Logical Volume in another volume group

Hi again,
Distributed File System:
# cd /dev
# mkdir vg01
# mknod /dev/vg01/group c 64 0x010000
# vgcreate -g vg01a pv1 pv2
# vgextend -g vg01b pv3 pv4
# lvrcreate -s g -D y -l 2 /dev/vg01
# lvextend -m 1 /dev/vg01/lvol1
# lvextend -L 1024 /dev/vg01/lvol1

Later,
Marcin Wicinski