Operating System - HP-UX
1834252 Members
2197 Online
110066 Solutions
New Discussion

Re: Changing the faulty disk

 
Suresh_28
Occasional Contributor

Changing the faulty disk

We are having a HP 9000 running Hp-ux 11.0. One of the disk on vg04 failed. What are the necessary steps i need to carry out in changing the new hard disk on vg04.

Thanks
Sea is vast
4 REPLIES 4
Marco Santerre
Honored Contributor

Re: Changing the faulty disk

Being that this is a LVM disk. Follow the procedure for either mirrored non-root LVM disk or non-mirrored non-root LVM disk in this document

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066374050
Cooperation is doing with a smile what you have to do anyhow.
Helen French
Honored Contributor

Re: Changing the faulty disk

If the disk is hot swapable, then replace the disk online with a new one and do:
# vgcfgrestore -n /dev/vg04 /dev/dsk/cxtydz

This will restore the VG information to the disk. You need to then find out the file systems which was holding by the failed HDD, 'newfs' those file systems and restore data from backup.
Life is a promise, fulfill it!
James R. Ferguson
Acclaimed Contributor

Re: Changing the faulty disk

Hi:

The procedure varies slightly depending on whether or not you are mirroring and whether or not the disk is hot swappable. See the LVM chapter (#16) in the Software Recovery Handbook:

http://www1.itrc.hp.com/service/iv/node.do?node=prod%2FWW_Start%2FN1%7C16

Regards!

...JRF...
Helen French
Honored Contributor

Re: Changing the faulty disk

A good document that explains all steps needed in any case TKB #KBAN00000347:

http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066374050
Life is a promise, fulfill it!