- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hot swapping internal disk in rp4440.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 01:07 AM
04-11-2007 01:07 AM
I've a rp4440 running 11.11 (not patched for OLR)
One of the internal disks (0/1/1/1.0.0)which is part of vg00 is giving intermittent media error. This is the alternate mirrored boot disk and not the primary disk.
Can i replace this disk without shutting down the server since the disk is still accessible. ioscan, diskinfo shows disks is active and vgdisplay shows disk status is "available".
(I work in a sun shop. so my HP/UX expertise is minimal)
My plan:
1)Remove the mirror copy of all LVs on the failing disk. (lvreduce -m)
2)Remove the disk from vg00.
3)Identify the physical disk and hot swap the drive.
4) ioscan -fnH H/W path to see the replaced disk.
5)diskinfo /dev/rdsk/c3t0d0
6)pvcreate -B /dev/rdsk/c3t0d0
7)vgextend vg00 /dev/dsk/c3t0d0
8)mkboot /dev/rdsk/c3t0d0
9)mkboot -a "hpux" /dev/rdsk/c3t0d0
10)lvextend -m 1 all LVOLS
11) lvlnboot -R /dev/vg00
Will the above plan work? or do i need to take an outage to swap the disk?
Any comment/info/advice would be most appreciated..
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 01:15 AM
04-11-2007 01:15 AM
SolutionThere is a relly good document on replacing a how swap, root hard drive that is mirrored in the ITRC site:
Document ID: LVMKBRC00006111
Please go throught the document,
Regards,
Jaime.
PS. Your plan looks right to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 01:29 AM
04-11-2007 01:29 AM
Re: Hot swapping internal disk in rp4440.
Yes, The above plan will work.
No you do not have to take an outage.
I just did a disk replacement on a rp4440 last week using the steps you listed
You can also try vgcfgrestore and vgsync which is a bit simpler and uses fewer commands (but for the disk failure I had, did not work)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 01:42 AM
04-11-2007 01:42 AM
Re: Hot swapping internal disk in rp4440.
this is a very important command:
pvchange -a n /dev/dsk/...
see all the details here:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 01:48 AM
04-11-2007 01:48 AM
Re: Hot swapping internal disk in rp4440.
0/1/1/1.0.0
is the lower disk in duplex scsi configurations.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2007 10:21 PM
04-13-2007 10:21 PM
Re: Hot swapping internal disk in rp4440.
4) ioscan -fnH H/W path to see the replaced disk
- use ioscan -fn > /dev/null and then ioscan -fnkH HWpath, as -fnH might show inaccurate data sometimes (CLAIMED instead of NO_HW etc.)
9) mkboot -a "hpux" /dev/rdsk/c3t0d0
- might be good to use "hpux -lq" if you have two disks only in your vg00. With quorum restrictions you will need to override quorum to activate the volume group (while rebooting if you will need one as the system will panic then with lvm error message, but you say that you will hotswap the disks, so no reboot here in your case).