1833875 Members
1666 Online
110063 Solutions
New Discussion

Re: Disk Change

 
SOLVED
Go to solution
Andrew Crowe_1
Occasional Advisor

Disk Change

Hello,

I require a simple idiots-guide to changing a faulty disk on a HP9000 D Class server. If anybody could help I'd be very grateful.
2 REPLIES 2
Barry O Flanagan
Respected Contributor
Solution

Re: Disk Change

Well if you can't get a HP engineer to do it then - have a look at http://docs.hp.com -> Systems Hardware -> D-class . I think theres a couple of guides there. The internal peripherals one might be useful.
Tim D Fulford
Honored Contributor

Re: Disk Change

I'm assuming you are using LVM, and the physical disk swap out is OK (i.e. you knw exactly which disk you want to swap out!, if not see later)

If the LVs on the disk are mirrored should be alright as far as data stuff goes. You should then be able to use "vgcfgrestore" to get the new disk LV layout as the old, lockdisk etc. Be sure to keep the uncorrupted vgcfgbackup before doing ant LVM commands as things like "vgreduce" take an automatic backup. The config files are in /etc/lvmconf/.conf .conf.old. If however you do not have a mirrored LV layout you can still use the above but you will need a backup of the data on the LV's on the disk!!!

If you are unsure which disk is faulty then you have a couple of options. use ioscan -fnCdisk to get the hardware path to the disk. You should be able to trace the busses back this way. You can also use dd to get the disks to flash, say you have 4 disks on a bus you can make the OK ones falsh by

dd if=/dev/dsk/c?t?d? bs=1k count=2048 of=/dev/null

One last thing, if you are totally stuffed (no backups etc) try reseating the disk (whith a qualified HP hardware engineer!) after shutting the machine down & powering off the computer & disks.

Good luck

Tim
-