Operating System - HP-UX
1830898 Members
2214 Online
110017 Solutions
New Discussion

Replace Primary root disk in HPUX 11i

 
SOLVED
Go to solution
V.Manoharan
Valued Contributor

Replace Primary root disk in HPUX 11i

Hi Experts,
I have an N4000 server with 2 internal disk configured as root VG. I want to remove the primary root disk. Could you please share me the procedure and what all precation I need to take care. Since it is a production server I just want to get double confirmed.

Regards
Mano.
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Replace Primary root disk in HPUX 11i

Here is a very handy reference that covers this and many other disk replacement situations:

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


Pete

Pete
V.Manoharan
Valued Contributor

Re: Replace Primary root disk in HPUX 11i

Thanks for the immediate response. I have got the doc. I want to know whether I need to take the server reboot to boot from alt disk or will I be able to do the activity online. I am worried since it is the primary rrot disk.
Geoff Wild
Honored Contributor
Solution

Re: Replace Primary root disk in HPUX 11i

As long as everything is mirrored (including swap) then you can do this online.

Question really is - why do you want to remove the root disk?

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
V.Manoharan
Valued Contributor

Re: Replace Primary root disk in HPUX 11i

Actually The primary root disk works normal but it gives scsi lbolt errors intermittendly and also the i/o performance is very slow. So I would like to replace the disk.

My requirement is server should not reboot if I reduce the lvols and reduce the primary root pv from root VG.
Geoff Wild
Honored Contributor

Re: Replace Primary root disk in HPUX 11i

Well, you can try this:

After failed disk has been replaced by HP (assuming the disk is c1t5d0):

vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t5d0

mkboot /dev/rdsk/c1t5d0

mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/c1t5d0

vgchange -a y /dev/vg00

lvlnboot -Rv /dev/vg00

vgsync /dev/vg00

But, seeing how it hasn't completely failed, you may want to reduce it from lvm, then from the vg....then pull it, then recreate your mirror.



Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
V.Manoharan
Valued Contributor

Re: Replace Primary root disk in HPUX 11i

I was in a doubt that the disk was hot pluggable not hotswappable.
Replaced the Disk online and resolved the issue.