Operating System - HP-UX
1752808 Members
5687 Online
108789 Solutions
New Discussion юеВ

Re: Replace primary root disk in rp4440 HP-UX 11.23

 
SOLVED
Go to solution
Tariq Hasan_1
Frequent Advisor

Replace primary root disk in rp4440 HP-UX 11.23

Hi

I have a RP4440 running 11.23. The Primary root disk has failed, it is running of the mirror.

ioscan -fnCdisk (which took ages) shows:

disk 36 0/1/1/0.0.0 sdisk NO_HW DEVICE HP 73.4GST373454LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 1 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0

syslog entry, which is coming out repeatedly

Jan 10 11:57:12 SERVER_NAME vmunix: SCSI Ultra320 0/1/1/0 instance 2: IO Type : MPT Domain Validation IO has timed-out. Target ID: 0, LUN ID: 0. Inquiry Command - CDB: 12 00 00 00 40 00

I have raised a call for a replacement. What do I have to do before or after the disk is replaced?

Thanks

Tariq

18 REPLIES 18
hvhari
Esteemed Contributor

Re: Replace primary root disk in rp4440 HP-UX 11.23

Hi Tariq,

Below guide should help you in detail. Refer Page36 for Mirrored boot disk replacement.

http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01911837

With regards
Hari
Regards,
Hari

If this post was useful , click the Kudos Star on the left side to say Thanks!
Rita C Workman
Honored Contributor
Solution

Re: Replace primary root disk in rp4440 HP-UX 11.23

Tariq,

You can:

Open an LVM book and read on this, since you have time
You can do a SEARCH here

Or you can login to the HP docs site that has move to it's new location and go to this thread....go to the bottom of the page and you will find the famous:
When Good Disks Go Bad document that will give you a step by step on what to do..

http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&taskId=101&prodClassId=10008&contentType=SupportManual&docIndexId=64255&prodTypeId=18964&prodSeriesId=4296010

Rgrds,
Rita
Manix
Honored Contributor

Re: Replace primary root disk in rp4440 HP-UX 11.23

some simple steps :-

Please follow the steps below to replace root disk.

├в ┬в Please check that the disk is hot swappable or not

├в ┬в Use pvchange ├в a N /dev/dsk/cxtxdx before removing the disk is if doesn`t work use pvchange ├в a n /dev/dsk/cxtxdx , this will disable the pv paths /path.

├в ┬в ioscan ├в fnC disk
To make sure disk C1t15d0 is visible & CLAIMED

├в ┬в Add the new disk and use command pvcreate ├в B /dev/rdsk/cxtxdx to make the disk bootable disk


├в ┬в diskinfo /dev/rdsk/c1t15d0
To make sure disk size.

├в ┬в dd if=/dev/rdsk/c1t15d0 of=/dev/null bs=1024 count=1000
To check the integrity of disk.

├в ┬в mkboot ├в l /dev/rdsk/c1t15d0
To place boot utilities in the boot area

├в ┬в mkboot ├в a ├в hpux ├в lq├в /dev/rdsk/c1t15d0
To add an AUTO file in boot LIF area

├в ┬в lifcp /dev/rdsk/c0t5d0:AUTO ├в
To Check the contents of the AUTO file

├в ┬в setboot ├в v
To make sure the H/W path for primary and alternate boot disk.

├в ┬в vgcfgrestore ├в n vg00 /dev/rdsk/c1t15d0
To restore the VG configuration on to the disk

├в ┬в Vgchange ├в a y vg00
To re-activate the VG00

├в ┬в vgsync vg00
To make sure all the lvol├в s in VG00 are synchronized
├в ┬в lvlnboot ├в R To update the BDRA.

├в ┬в lvlnboot ├в v
To make sure, both disks are showing as Boot disk.

make entries in # vi /stand/bootconf
HP-UX been always lovable - Mani Kalra
Tariq Hasan_1
Frequent Advisor

Re: Replace primary root disk in rp4440 HP-UX 11.23

Thanks

Could someone provide a step by step guide to replace the failed disk:

The failed disk is:

/dev/dsk/c2t0d0

Server is running on mirror:

/dev/dsk/c2t1d0

I have tried to follow the when good disks go bad doc, but find it a little confusing.

Basically I need step by step.

Regards

Tariq
Tariq Hasan_1
Frequent Advisor

Re: Replace primary root disk in rp4440 HP-UX 11.23

What do i have to do before the engineer swaps the disk? Unmirror, reduce vg00?
Manix
Honored Contributor

Re: Replace primary root disk in rp4440 HP-UX 11.23

Please read the stepwise attachment !!

Thanks

Manix
HP-UX been always lovable - Mani Kalra
Manix
Honored Contributor

Re: Replace primary root disk in rp4440 HP-UX 11.23

Please do assign some points if we all were helpful to you.

Thanks
HP-UX been always lovable - Mani Kalra
Tariq Hasan_1
Frequent Advisor

Re: Replace primary root disk in rp4440 HP-UX 11.23

I most definitely will when the problem gets resolved. Manix, I'm gonna use your solution you attached. fingers crosed!
Manix
Honored Contributor

Re: Replace primary root disk in rp4440 HP-UX 11.23

Hello Tariq !!

it will work ..as i used it many times.

The thing is to attach and detach the disk with
pvchange command ,which works if there are
OLAR patches installed as mentioned in
the doc "when good disk go bad"

Thanks
Mani
Happy to help !!
HP-UX been always lovable - Mani Kalra