Operating System - HP-UX
1751691 Members
4478 Online
108781 Solutions
New Discussion юеВ

Re: Replace failed boot disk on hpux 11.23

 
SOLVED
Go to solution
Nappy_1
Frequent Advisor

Replace failed boot disk on hpux 11.23

i need to replace a failed boot disk (primary one) on a rx7640 server running hpux 11.23
the server is booted and runnig on the second boot disk

Could some one help me with a procedure?
11 REPLIES 11
Pete Randall
Outstanding Contributor
Solution

Re: Replace failed boot disk on hpux 11.23

Steven E. Protter
Exalted Contributor

Re: Replace failed boot disk on hpux 11.23

Shalom,

Its important to say which type of raid you are using.

That system has a P400 card and can use hardware raid. If so, fixing this merely means replacing a hot swap disk.

If indeed as I suspect you used software raid, you have some fun with the when disks go bad document that we all love so much.

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
Avinash20
Honored Contributor

Re: Replace failed boot disk on hpux 11.23

If its a Mirrored disk follow the below

To stop LVM access of disk
#pvchange -a N /dev/dsk/c2t0d0s2

#vgdisplay -v vg00|grep syncd

Remove Disk

#ioscan -fnCdisk

# ioscan -funCdisk
Class I H/W Path Driver S/W State H/W Type Description
==============================================================
===============
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk NO_HW DEVICE HP 73.4GST373454LC
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s1 /dev/rdsk/c2t0d0s3
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t1d0 /dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s1 /dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s1 /dev/rdsk/c2t1d0s3
Replace Disk

#ioscan
#insf

Create partition file
# cat /tmp/partitionfile
2
EFI 500MB
HPUX 100%

create partition on disk
#idisk -f /tmp/partitionfile -w /dev/rdsk/c2t0d0s2

check partition
#idisk /dev/rdsk/c2t0d0

install driver
#insf -e -H 0/1/1/0.0.0

#ioscan -funCdisk

Restore VG information
#vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t0d0s2

Activate disk
#pvchange -a y /dev/dsk/c2t0d0s2

Activate vg
#vgchange -a y vg00

place boot utolities
#mkboot -e -l /dev/rdsk/c2t0d0

make auto file in current directory
#echo "boot vmunix -lq" >./AUTO

update auto file
#efi_cp -d /dev/rdsk/c2t0d0s1 ./AUTO /efi/hpux/auto

#pvdisplay -v /dev/rdsk/c2t0d0s2|grep 'current.*0000 $'

Recover any missing links to all of the ogical volumes specified in the Boot Data
Reserved Area and update the Boot Data Reserved Area of each bootable physical
volume in the volume group
#lvlnboot -R /dev/vg00

#lvlnboot -v


#setboot -v

check wether all lvols are syscd
#vgdisplay -v vg00|grep syncd

"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Replace failed boot disk on hpux 11.23

Please dont forget to assign points to this thread !!

All the Best !!
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Torsten.
Acclaimed Contributor

Re: Replace failed boot disk on hpux 11.23

IMHO some steps are missing or different in the reply from Avinash V Rao, so I would suggest to follow the link in the first post.

;-))

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!   
Nappy_1
Frequent Advisor

Re: Replace failed boot disk on hpux 11.23

Thank you Avinash for the detailed answer.
Avinash20
Honored Contributor

Re: Replace failed boot disk on hpux 11.23

Did you replace the disk sucessfully and did everything work fine.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Nappy_1
Frequent Advisor

Re: Replace failed boot disk on hpux 11.23

not yet ;-) maybe tomorrow
Pete Randall
Outstanding Contributor

Re: Replace failed boot disk on hpux 11.23

And you can be sure Avinash will check back tomorrow to collect another 10 points.


Pete

P.S. No points for this, please

Pete