Operating System - HP-UX
1847892 Members
1618 Online
104021 Solutions
New Discussion

Re: mirroring different volume groups

 
Jimmy Roux
Occasional Advisor

mirroring different volume groups

Has anyone mirrored different volume groups?
For example:
vg00:
c0t5d0
c0t6d0

mirrored to:

vg01:
c1t5d0
c1t6d0

....rather than the usual vgextend /dev/vg00 ...
then mirroring the logical volumes?

Never ask the barber if you need a haircut.
6 REPLIES 6
Rodney Hills
Honored Contributor

Re: mirroring different volume groups

I belivew LVM mirroring does not have the option to mirror two different volume groups.

That is because mirrors are "extended" allocated blocks which have to reside in the same volume group.

-- Rod Hills

There be dragons...
Tom Maloy
Respected Contributor

Re: mirroring different volume groups

You can't mirror two volume groups together. But you can make a mirror and then split it in two. Of course, the off-line copy will get very stale very fast...

Tom
Carpe diem!
Sanjay_6
Honored Contributor

Re: mirroring different volume groups

Hi Jimmy,

You cannot mirror lv between diffent VG's. The primary and the mirror copy should be part of the same VG. can be on different disks.

Hope this helps.

Regds
Sajid_1
Honored Contributor

Re: mirroring different volume groups

You can't do it through HP's Mirror/UX software. It will allow only to mirror two logical volumes. You have to go for a hardware RAID-1
learn unix ..
Jimmy Roux
Occasional Advisor

Re: mirroring different volume groups

Thanks to all for the quick reply.

I was hoping, however minute, that there's somebody out there who was able to pierce through MirrorDisk/UX and practically created their own unsupported version of MirrorDisk/UX to allow them for mirroring to do whatever they wanted.

Cheers everyone,

Jimmy
Never ask the barber if you need a haircut.
Martin Johnson
Honored Contributor

Re: mirroring different volume groups

Why don't you look into hardware mirroring? We use EMC storage to do RAID 1, but there are storage products from many vendors that you could use.

HTH
Marty