- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to replace failing root mirror disk?
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
02-18-2002 09:13 AM
02-18-2002 09:13 AM
The old method was to go to single user mode to replace a bootable disk. With the L's, can this be done without having to shutdown the system (i.e. online)?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 09:17 AM
02-18-2002 09:17 AM
SolutionThis link should help you,
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=55c2915c0f99cbb5e0/screen=ckiDisplayDocument?docId=200000058036738
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 09:35 AM
02-18-2002 09:35 AM
Re: How to replace failing root mirror disk?
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 09:37 AM
02-18-2002 09:37 AM
Re: How to replace failing root mirror disk?
If the disk in question is hot-swappable then you can do the following:
> Hot swap the affected disk.
> 'lvreduce -m 0' each mirrored LV
> 'vgreduce' the replaced disk from the VG
> recreate the mirrored disk beginning with 'pvcreate -B' since this is your root disk.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 09:52 AM
02-18-2002 09:52 AM
Re: How to replace failing root mirror disk?
Staying on-line
1. replace bad-disk
2. vgcfgrestore /dev/vg00 /dev/dsk/c#t#d#
3. vgchange -a y /dev/vg00
4. vgsync /dev/vg00 /dev/dsk/c#t#d#
5. mkboot /dev/rdsk/c#t#d#
6. mkboot -a "hpux (0;)/stand/vmunix" /dev/dsk/c#t#d#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 09:58 AM
02-18-2002 09:58 AM
Re: How to replace failing root mirror disk?
Craig's reference says I have to reboot to single user mode - my question is do I actually have to do this with a hot-swappable disk on HP-UX 11.0?
Jame's method contradicts Craig's doc - about
lvreducing the mirrors and vgreducing the failed disk.
Sanjay's doc looks like what I am looking for, but the last step here says to reboot.
Do I actually need to reboot this system after replacing the hot-swappable disk and doing the steps in Sanjay's doc?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 09:59 AM
02-18-2002 09:59 AM
Re: How to replace failing root mirror disk?
Some other thoughts ...
1)Check out 'lvlnboot -v' and make sure that both disks are configured as root hard disks.
2) As L2000 comes with hot-swap disks, you can replace the disk online.
3)It is recommended to put 'hpux -lq' when doing mkboot string config.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 10:11 AM
02-18-2002 10:11 AM
Re: How to replace failing root mirror disk?
I taken a very conservative approach. There are potential issues with doing a 'vgcfgrestore' with mirrored disks in 11.0 depending on patch levels. The method I've cited is one I've used before. Have a look at Technical Knowledge Base document #S3100004601.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 11:03 AM
02-18-2002 11:03 AM
Re: How to replace failing root mirror disk?
If the root disk that you want to replace is a hot-swap, i don't see any reason why you must reboot the system. Make sure all the lv's are mirrored. Take a os backup if you can. Remove the faulty disk. Wait for a few minutes, put the new disk in. Do a vgcfgrestore, do a vgchange for vg00, do a mkboot to put the lif info on new disk and put the boot string using mkboot -a, then do a vgsync to rebuild the mirror.
however it is always safe to boot using the mirror if the primary is failing, replace the disk, rebuild the mirror, reboot using the primary. I have never tries to do the hot-swap primary root disk replacement myself without rebooting the server.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 11:24 AM
02-18-2002 11:24 AM
Re: How to replace failing root mirror disk?
What you do is up to you. I just can tell you from my experience (with "hot plugable drives") that this process works. There may be others that work better or differently, I just know that I have used this and it does the job for me.
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2002 12:48 PM
02-18-2002 12:48 PM