- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Boot Disk Mirror Failure
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-06-2005 11:13 PM
02-06-2005 11:13 PM
Boot Disk Mirror Failure
I need clarification on boot disk (with mirror) replacement.
If one of the boot disk fails, should I reduce all LV on the failed disk and also reduce the PV from root VG before I reboot the system for physically replacing disk.
Assume I will be using vgcfgrestore, vgchange and vgsync commands to re-establish the mirror.
Pls revert immediately.
with regards,
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2005 11:22 PM
02-06-2005 11:22 PM
Re: Boot Disk Mirror Failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 01:38 AM
02-07-2005 01:38 AM
Re: Boot Disk Mirror Failure
No,there is no need of reducing the lv's and vg's from that failed pv.
pls try the following steps,
shutdown the server and replace the failed harddisk.Boot through alternative path.
#vgcfgrestore -n /dev/vgXX /dev/rdsk/cXtYdZ
#vgchange -a y /dev/vgXX
#mkboot /dev/rdsk/cXtYdZ
#mkboot -a "hpux(;0)/stand/vmunix" /dev/rdsk/cXtYdZ
#lvlnboot -R
#vgsync /dev/vg00
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 01:59 AM
02-07-2005 01:59 AM
Re: Boot Disk Mirror Failure
1) If the disk is completely "dead", such as if you run ioscan and status is "no_hw" then you can hot swap the disk online.
2) However in circumstances where the disk has not fully failed please do one of the following to avoid data corruption :
a) reduce mirror before replacing the disk
b) deactivate VG before replacing the disk
c) shutdown system to replace the disk
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 02:52 AM
02-07-2005 02:52 AM
Re: Boot Disk Mirror Failure
With systems that have hotswappable disks you don't halt the server and replace the corrupt bootdisk mirror.
The trick was just to have the mirror so you don't need to reboot!
I normally do this:
#vgcfgrestore -v /dev/vg00 (you must have of course a copy made with vgcfgbackup ever...)
#mkboot -l (list what do we have?)
#mkboot -a "hpux(;0)/stand/vmunix" (put bootfile)
#vgchange -a y /dev/vg00 (make available)
#vgsync /dev/vg00
#lvlnboot -R (resync all boot info)
And check at startup if dump,swap are okay after a reboot with command 'dmesg'.
Basically you don't shutdown any application or server for this replacement operation. :-)
Regards,
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 05:31 PM
02-07-2005 05:31 PM
Re: Boot Disk Mirror Failure
see the attached document.it gives somany ways to replace a faulty disk depends up on it is mirrored ,hotswappable,etc.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 05:32 PM
02-07-2005 05:32 PM
Re: Boot Disk Mirror Failure
sorry forgot to attach file
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 06:44 PM
02-07-2005 06:44 PM
Re: Boot Disk Mirror Failure
I know the ways of replacing a failed root disk with mirror. But my question is very simple. Is it essential to reduce lv and pv from root VG before rebooting the server for physical replacement of disk?
regards,
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 06:54 PM
02-07-2005 06:54 PM
Re: Boot Disk Mirror Failure
No need to reduce anything if you have hot swap disk.
Just take the hot swap disk out, run the command I gave earlier after you inserted the new empty disk.
However with non-hot-swap-so-screwed-in-disks you can reduce the lv from the failed disks.
then halt and replace the disk and remirror bootdisk once you reboot.
This way you can always boot, from the remaining disk.
Also if you want to boot with the broken mirror bootdisk you can boot also with hpux -lq
Regards,
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 07:56 PM
02-07-2005 07:56 PM
Re: Boot Disk Mirror Failure
replace a failed disk
--
Assume I will be using vgcfgrestore, vgchange and vgsync commands to re-establish the mirror
--
Yes correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 10:09 PM
02-07-2005 10:09 PM
Re: Boot Disk Mirror Failure
Thanks for the clarification.
regards,
Senthil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 10:11 PM
02-07-2005 10:11 PM