1833601 Members
3953 Online
110061 Solutions
New Discussion

To mirror root disk

 
Jun Zhang_4
Regular Advisor

To mirror root disk

I did it for LVM. What is the procedure to mirror the root disk under VxVM?

Jun
Food lover
5 REPLIES 5
Camel_1
Valued Contributor

Re: To mirror root disk

Here is the high level procedure

1. pvcreate -B /dev/rdsk/cxtxdx
2. vgextend /dev/vg00 /dev/dsk/cxtxdx
3. mkboot /dev/rdsk/cxtxdx
4. mkboot -a "hpux (52.3.0;0)/stand/vmunix" /dev/rdsk/cxtxdx
5. lvextend -m 1 /dev/vg00/lvol1 /dev/rdsk/cxtxdx
(mirror all LVs on VG00).
6. verify by lvlnboot -v

Good luck.
Jun Zhang_4
Regular Advisor

Re: To mirror root disk

Are these VxVM commands?
I used some lif command to mirror root disk for LVM, as necessary. Do I need those for VxVM also?

Jun
Food lover
Robert-Jan Goossens
Honored Contributor

Re: To mirror root disk

Jun, If you are talking about a complete root volume group (disk group) under veritas volume manger, no you don't

check the docs on docs.hp.com I use it on solaris and I don't think they will match.

Kind regards,
Robert-Jan
Jun Zhang_4
Regular Advisor

Re: To mirror root disk

My current running root disk is 4GB. Can I mirror all the volumes to two 2GB sized disks, and boot to the one where rootvol and standvol live?

Jun
Food lover