1831627 Members
3285 Online
110027 Solutions
New Discussion

primary boot disk

 
SOLVED
Go to solution
SAM_24
Frequent Advisor

primary boot disk

Hi,

I rebooted one of my server. It didn't boot. I booted off from mirror.It came up fine. After the system is up I set the primary boot to mirror and secondary boot disk to other disk which was primary.

Now do I need to do anything like break off the mirrors and mirror it again? Or automatically system syncs up?

Thanks.
Never quit
8 REPLIES 8
Thayanidhi
Honored Contributor

Re: primary boot disk

Hi,

Unfortunately you need to synchronize manually.

Just check the lv status in vgdisplay -v.
May be some/all volumes are stale/syncd.

You need to

lvreduce -m 0
for all the volumes on the disk and

vgreduce /dev/vg00

Replace the defective drive.

{If the Pv status is totally unreadable
and not able to reduce the lv/vg, simply
replace the disk, then pvcreate -B,
mkboot, mkboot -a, vgextend,
vgcfgrestore -n /dev/vg00
vgsync}

pvcreate -B
mkboot
mkboot -a "hpux (;0)/stand/vmunix"
vgextend /dev/vg00
lvextend -m 1 /dev/vg00/lvol1
lvextend -m 1 /dev/vg00/lvol2
lvextend -m 1 /dev/vg00/lvol3

repeat for the volumes which were existing.
make sure you do in the same order.

You didn't mension the version.
If it is 10.20, 10.30 or 11.x

lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1
lvlnboot -d /dev/vg00/lvol2
lvlnboot -s /dev/vg00/lvol2

If it is 10.01 or 10.10 then root/boot is lvol1

lvlvboot -r /dev/vg00/lvol1

rest all same commands

lvlnboot -R (10.20 and above)

lvlnboot -v (verify)

setboot -p
setboot -a

TT






Attitude (not aptitude) determines altitude.
harry d brown jr
Honored Contributor

Re: primary boot disk


Raj,

How about fixing this issue:

This member has assigned points to 73 of 204 responses to his/her questions.

You can find your previous posts in this link to your profile:

http://forums.itrc.hp.com/cm/TopSolutions/1,,CA764277!1!questions,00.html

live free or die
harry
Live Free or Die
SAM_24
Frequent Advisor

Re: primary boot disk

Hi Harry,

Sorry I can not assign you points.

If the reply solves my problem I am honestly awarding points. I can't award points for the replies which didn't help.

Thanks.
Never quit
SAM_24
Frequent Advisor

Re: primary boot disk

Thayanidhi,

Thanks for the detailed reply.

I think my question was misunderstood or I didn't explain well.

I didn't replace disk. I rebooted the system. System didn't come up. I gave a try booting from the alt boot disk. I don't know why the primary boot disk failed to boot. It came up fine. Then I set this alt boot disk as primary.
Both alt and pri boot disks are fine.

Thanks.


Never quit
Elif Gius
Valued Contributor

Re: primary boot disk

Hi,

have you checked the logfiles...
Look was the syslog says - maybe the disk is faulty and need to be replaced ...
John Palmer
Honored Contributor
Solution

Re: primary boot disk

The problem here is finding out why it didn't boot. There could be a number of reasons, few of which actually get as far as creating any log files.

Things that I'd check are:

1. Boot pointers with 'lvlnboot -v'
2. State of the vg00 volume group 'vgdisplay -v vg00'
3. Check the LIF files on the boot disk 'lifls -l /dev/dsk/c?t?d?'
4. Check the auto_file_string in the LIF AUTO file 'lifcp /dev/dsk/c?t?d?:AUTO -'

I'm presuming that this disk used to boot OK.

If all the above check out OK then I suspect that you'll have to try booting from the disk again and watching the console for the error.

Alternatively, as your mirror boots OK, you could unmirror it, remove the dodgy disk from vg00 and re-mirror from scratch.

Regards,
John
harry d brown jr
Honored Contributor

Re: primary boot disk

Raj,

I think you missed the point. Please read this: http://66.216.15.50/ITRCForumsEtiquette/after.html

live free or die
harry
Live Free or Die
SAM_24
Frequent Advisor

Re: primary boot disk

Hi Harry,

The link you provided didn't work.
I respect your little crown. I will follow etiquette whatever is being followed in this forum. I will revisit my old questions and award marks. Give me one week time.

Raj
Never quit