1748267 Members
3782 Online
108760 Solutions
New Discussion юеВ

Re: boot from mirror

 
SOLVED
Go to solution
AlphaRelease
Advisor

boot from mirror

hi,

hp-ux 11.31: we have a root disk at c0t6d0 that is mirrored with 'vxrootmir' to a disk in c3t6d0. after the mirror was done, as a test, we shut down the system and pulled out the source root disk from c0t6d0. booting did not work! then we pulled out the mirror from c3t6d0 and moved it to c0t6d0. booting now works! as a second test, we now added another disk at c3t6d0 to test disk-replacement. veritas automatically added a diskgroup - the name ends with loopback - but puts the disk in a foreign state. we are not able to initialize that disk (tried 'vxdisksetup -iB c3t6d0 privlen=1024') or import the disk group.

2 questions:
- how to solve the problem
- is there no way to boot from the mirror without physically moving the disk?

best regards and thanks for your time,
fred
8 REPLIES 8
F Verschuren
Esteemed Contributor

Re: boot from mirror

make sure the disk is bootable:


see (the properly most posted document...)

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
AlphaRelease
Advisor

Re: boot from mirror

hi 'f verschuren'

thanks for your answer, but it is a veritas managed disk. is your link the right document for veritas volumes?

sorry for my ignorance in this case, but you suggest to make the third/lastly added disk bootable?

thanks
Torsten.
Acclaimed Contributor

Re: boot from mirror

You obviously belong to the less than 1% of users using vxvm as boot disk ... :-)

Did you mirror the disk with vxvm tools (vxrootmir) or did you just something like a "dd"?

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: boot from mirror

By the way, if you have an account you should get the software recovery handbook from ITRC and read the vxvm chapter, this will help you.

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!   
AlphaRelease
Advisor

Re: boot from mirror

Hi Torsten,

> You obviously belong to the less than 1% of
> users using vxvm as boot disk ... :-)

I was not aware of this! So are we doing a bad thing here?

> Did you mirror the disk with vxvm tools
> (vxrootmir) or ...

Correct: we used 'vxrootmir -v c3t6d0' to create the mirror.

I found this thread looking like my problem, but not yet tried those actions:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1005490

Best regards,
Frederik
Torsten.
Acclaimed Contributor
Solution

Re: boot from mirror

I'm not this comfortable with vxvm, but IMHO you need to use "-b" while mirroring.

See "man vxrootmir" also.

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!   
AlphaRelease
Advisor

Re: boot from mirror

Thank you Torsten. That must be it. Will try this soon and give you the credits for it if working. How did we miss this! ;)
/BR
Bill Hassell
Honored Contributor

Re: boot from mirror

>> You obviously belong to the less than 1% of
>> users using vxvm as boot disk ... :-)

> I was not aware of this! So are we doing a bad thing here?

Not a bad thing, just very unusual. LVM is a much simpler method for volume management and most HP-UX systems using VxVM were setup by sysadmins from Sun or other platforms where VxVM was the only viable option. VxVM works but there is a much smaller number of sysadmins that know VxVM. Whether LVM or VxVM, setting up a mirrored boot disk always requires special commands to take care of the boot area.


Bill Hassell, sysadmin