1839089 Members
3137 Online
110136 Solutions
New Discussion

Mirror-UX

 
SOLVED
Go to solution
Kevin_107
Regular Advisor

Mirror-UX

Once I have installed Mirror-UX. What steps do I need to take to mirror the / disk ??
Thanks in advance..
He who laughs last.....doesnt get the joke !!
6 REPLIES 6
T G Manikandan
Honored Contributor

Re: Mirror-UX

Tom Geudens
Honored Contributor
Solution

Re: Mirror-UX

Hi,
I presume you want to mirror the bootdisk ?
Here goes :
pvcreate -B /dev/rdsk/[second disk]
vgextend /dev/vg00 /dev/dsk/[second disk]
mkboot /dev/rdsk/[second disk]
mkboot -a "hpux -lq" /dev/rdsk/[second disk]
mkboot -a "hpux -lq" /dev/rdsk/[first disk]

lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/[second disk]
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/[second disk]
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/[second disk]
... and so on, for all logical volumes on the boot disk ...

# As extra you might want to alter your alternate boot path

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
Tom Geudens
Honored Contributor

Re: Mirror-UX

Hi again,
Disregard my second answer. Don't know how that got there, but it has still got typos in the lvextend commands.

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
Tom Geudens
Honored Contributor

Re: Mirror-UX

Hi,
I presume you want to mirror the bootdisk ?
Here goes :
pvcreate -B /dev/rdsk/[second disk]
vgextend /dev/vg00 /dev/dsk/[second disk]
mkboot /dev/rdsk/[second disk]
mkboot -a "hpux -lq" /dev/rdsk/[second disk]
mkboot -a "hpux -lq" /dev/rdsk/[first disk]

lvextend -m1 /dev/vg00/lvol1 /dev/dsk/[second disk]
lvextend -m1 /dev/vg00/lvol2 /dev/dsk/[second disk]
lvextend -m1 /dev/vg00/lvol3 /dev/dsk/[second disk]
... and so on, for all logical volumes on the boot disk ...

# As extra you might want to alter your alternate boot path

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
melvyn burnard
Honored Contributor

Re: Mirror-UX

take a read of the chapter Managing Disks and File Systems in the manual at:
http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Kevin_107
Regular Advisor

Re: Mirror-UX

Thanks for the prompt response..
He who laughs last.....doesnt get the joke !!