cancel
Showing results for 
Search instead for 
Did you mean: 

Primary Boot disk issue.

sapoguheman
Frequent Advisor

Primary Boot disk issue.

HI All,


I have a boot disk issue on one my HP servernmentioned below.

uname -a
HP-UX ******** B.11.11 U 9000/800 133454645 unlimited-user license
root:

root:> lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Root: lvol3 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0


As per analysis from vendor it was found that Primary /dev/dsk/c1t2d0 (0/0/1/1.2.0)----->Needs to be replaced.

I check on of the LV status under vg00 it shows stale for that failing disk.

 

 lvdisplay -v /dev/vg00/lvol7 | grep -i stale
LV Status available/stale
00000 /dev/dsk/c1t2d0 02278 stale /dev/dsk/c2t2d0 02278 current
00002 /dev/dsk/c1t2d0 02280 stale /dev/dsk/c2t2d0 02280 current
00004 /dev/dsk/c1t2d0 02282 stale /dev/dsk/c2t2d0 02282 current


Now the issue is i dont know from which disk the server was booted out of availabe two disks.
And my doubt is should the server needs to be shut down if i need to replace the primary disk.
I saw all the LV's are already in mirror state
lvdisplay /dev/vg00/lvol* | grep -i mirror
Mirror copies 1
Mirror copies 1
Mirror copies 1
Mirror copies 1
Mirror copies 1
Mirror copies 1
Mirror copies 1
Mirror copies 1

 

Still I am confused how to plan this replacement as because i have never did this before.
Can some one explain me how can I action on this.

 

One more thing is how does the server sustain to be stil LIVE when one of the boot disk is completely failed.
I mean in my case its a Primary disk so how does the server know that it should use alternate while the system is in running state.

 

Some one please reply ....

2 REPLIES
Torsten.
Acclaimed Contributor

Re: Primary Boot disk issue.

It doesn't matter if the system was booted from this or the other disk.

 

Just proceed, here are the steps:

 

When_Good_Disks_Go_Bad_WP
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf


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!   
likid0
Honored Contributor

Re: Primary Boot disk issue.

Like Torsten says, it doesn't matter from wich disk you booted the server, just follow the procedure.

 

Anyhow if you wan't to check from wich disk you booted, on 11.11 you can use:

 

#echo "boot_string/S" | adb /stand/vmunix /dev/kmem

boot_string:    disk(1/0/0/3/0.6.0.0.0.0.0;0)/stand/vmunix

Windows?, no thanks