1834458 Members
2586 Online
110067 Solutions
New Discussion

Re: Mirror disk-UX

 
SOLVED
Go to solution
Jarheadatheart
Regular Advisor

Mirror disk-UX

Guru's,
I have a 11.31 based BL870 blade, with Mirror Disk UX installed.

Maybe I am overthinking this, or maybe the new device names have me confused, but I am trying to mirror my root drive to the alt, and it doesn't seem to be working. I have read the mirror-ux 11.31 guide....

But when I run mkboot -l /dev/disk/disk4

it returns as normal, then when I try;
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/disk/disk4

it tells me there is no current boot area on the disk...

Any idea's?
16 REPLIES 16
Patrick Wallek
Honored Contributor

Re: Mirror disk-UX

When you ran prcreate against that disk did you use the '-B' option to create the boot area on the disk?

If not, then you will need to start over with the mirror operation. Make sure you 'pvcreate -B' the device and then proceed.
Torsten.
Acclaimed Contributor

Re: Mirror disk-UX

IMHO the very best would be to use the hardware mirror on that machine ...


Please post

# ioscan -fn

# lvlnboot -v


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor

Re: Mirror disk-UX

Hi:

You could also use 'vgmodify -B y' to change from non-bootable to bootable. All physical extents on the physical volume must be un-used to do so, though.

Regards!

...JRF...
Steven E. Protter
Exalted Contributor
Solution

Re: Mirror disk-UX

Shalom,

I recommend hardware mirror if available.

Check this document as a reference. It is Integrity specific.
http://www.hpux.ws/?p=112

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jarheadatheart
Regular Advisor

Re: Mirror disk-UX

yes on the pvcreate I did run it with the -B option.
Torsten.
Acclaimed Contributor

Re: Mirror disk-UX

Please list the steps you did so far!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jarheadatheart
Regular Advisor

Re: Mirror disk-UX

Also, I did add the PV to vg00.
Torsten.
Acclaimed Contributor

Re: Mirror disk-UX

Exact commands in order, please!

Or refer to http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
and follow the steps (Appendix, Integrity mirrors)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jarheadatheart
Regular Advisor

Re: Mirror disk-UX

ok, I ran pvdisplay -v to make sure I had the right disk; then
pvcreate -B /dev/rdisk/disk4

then

vgextend /dev/vg00 /dev/disk/disk4

then

mkboot -l /dev/rdisk/disk4

then

mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdisk/disk4

this is where I get the error saying there is no boot area ont he disk
Torsten.
Acclaimed Contributor

Re: Mirror disk-UX

... but I promise you, you will regret the day when you choose LVM mirrors instead of hardware mirror!


;-)


Good luck!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jarheadatheart
Regular Advisor

Re: Mirror disk-UX

Torsten, what do you mena hardware mirrors? you mean DRD?
Torsten.
Acclaimed Contributor

Re: Mirror disk-UX

Well, you followed the WRONG procedure.


It's an INTEGRITY (needs EFI partition)!


See the link.



Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: Mirror disk-UX

cross postings. Sorry.



Regarding the hardware mirror:

Your server has an SAS controller that can do mirroring on its own. Problem is, you loose the data on the disks while creating.

So you need to restore the backup.



But, if a disk fails one day, you only need to swap the disk - finished.


In case of LVM mirror you need to follow a loooong and a bit complicated procedure to bring the new disk in place.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
S. Ney
Trusted Contributor

Re: Mirror disk-UX

What torsten said,

You were following procedure for pa-risc mirror.
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdisk/disk4

also before doing pvcreates you need to create EFI area:
# vi /tmp/idf # create a "partitioning file" with the following contents 3 EFI 500MB HPUX 100% HPSP 400MB
Steven E. Protter
Exalted Contributor

Re: Mirror disk-UX

Shalom,

Hardware mirror is independent of the OS. It is done by booting the machine at console, interrupting the boot process and using the P400(Or other model) smart array nvram based menu to set up mirror.

It is far superior to OS software based mirror. The hardware mirror has a controller card, its own CPU and automated recovery procedures that just work.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jarheadatheart
Regular Advisor

Re: Mirror disk-UX

Steven/Torsten,

Thank you for correcting me. I was in fact using out of date procedures.

As usual, you both were spot on! Thanks again!