- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Replacing a failed boot disk in mirror
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
05-22-2008 09:04 AM
05-22-2008 09:04 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 09:08 AM
05-22-2008 09:08 AM
Re: Replacing a failed boot disk in mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 09:09 AM
05-22-2008 09:09 AM
SolutionIf you catch it fast enough, you merely pull the bad disk and replace it.
The mirrors will then rebuild.
If the second disk is totally dead, you will have to re-mirror after doing the following steps.
vgreduce -f vg00
# follow post command instructions.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 09:18 AM
05-22-2008 09:18 AM
Re: Replacing a failed boot disk in mirror
Do I need to give some commands before taking the disk out or simply pulling it out will wrk well. After replacing the disk do I need to give some commands as vgcfgrestore?
Pls give me steps and commands to perform this operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 11:41 AM
05-22-2008 11:41 AM
Re: Replacing a failed boot disk in mirror
lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/cxtxdx
vgreduce vg00 /dev/dsk/cxtxdx
Replace the disk and then do:
ioscan -fnC disk
pvcreate -B /dev/rdsk/cxtxdx
vgextend vg00 /dev/dsk/cxtxdx
mkboot -l /dev/rdsk/cxtxdx
mkboot -a "hpux -lq" /dev/rdsk/cxtxdx
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cxtxdx
lvlnboot â Rv vg00
vgdisplay -v vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 11:43 AM
05-22-2008 11:43 AM
Re: Replacing a failed boot disk in mirror
If it is a PA RISC server:
lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/cxtxdx - remove all lovls
vgreduce vg00 /dev/dsk/cxtxdx
Replace the disk and then do:
ioscan -fnC disk
pvcreate -B /dev/rdsk/cxtxdx
vgextend vg00 /dev/dsk/cxtxdx
mkboot -l /dev/rdsk/cxtxdx
mkboot -a "hpux -lq" /dev/rdsk/cxtxdx
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cxtxdx - add all lvols
lvlnboot â  Rv vg00
vgdisplay -v vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 12:01 PM
05-22-2008 12:01 PM
Re: Replacing a failed boot disk in mirror
Is it a HP9000 or Integrity?
Is it based on FC, SCSI or SAS?
Run and post results:
# model
# ioscan -fn
# strings /etc/lvmtab
# vgdisplay -v vg00
What is the disk in question?
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
05-22-2008 12:09 PM
05-22-2008 12:09 PM
Re: Replacing a failed boot disk in mirror
Haste makes waste. The document (link) I suggested that you read is worth reading *before* you begin. You haven't provided many details.
Regards!
...JRF...