- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- replacing a bad mirror boot disk
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
06-03-2003 11:29 AM
06-03-2003 11:29 AM
replacing a bad mirror boot disk
I am trying to replace a bad mirror boot disk. The following ioscan will show the drives that I'm trying to fix. Notice the commands I'm using
in steps 1-7.
# ioscan -knfC disk
8/4.14.0 /dev/dsk/c0t14d0 /dev/rdsk/c0t14d0.
4 Gb Boot Mirror, Bad, had to be replaced.
8/4.15.0 /dev/dsk/c0t15d0 /dev/rdsk/c0t15d0
4 Gb Boot Disk, Works Good.
BACKGROUND:
The "Boot mirror" failed and was causing excessive I/O errors. So I
replaced it with a good one.
After booting up into multi-user mode, I tried to do the following command
to add the new mirror physical drive:
Step 1. # pvcreate -B /dev/rdsk/c0t14d0
Why did I get this error message?
# create: The physical volume already belongs to a volume.
Also are the following commands what I need to finish mirroring the new
drive?
Step 2. # vgcfgrestore -n vg00 /dev/rdsk/c0t14d0
Setp 3. # mkboot /dev/rdsk/c0t14d0
Step 4. # mkboot -a "hpux -lq (icon_wink.gif/stand/vmunix" /dev/rdsk/c0t14d0
Step 5. # vgchange -a y vg00
Step 6. # vgsync vg00
Step 7. # lvlnboot -v
Regards,
Tony Escujuri.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 11:34 AM
06-03-2003 11:34 AM
Re: replacing a bad mirror boot disk
You need to use the pcvreate -f flag (in addition to the -B) to force the operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 11:35 AM
06-03-2003 11:35 AM
Re: replacing a bad mirror boot disk
These commands are fine...
vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t14d0
mkboot /dev/rdsk/c0t14d0
mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/c0t14d0
vgchange -a y /dev/vg00
lvlnboot -Rv /dev/vg00
vgsync /dev/vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 11:36 AM
06-03-2003 11:36 AM
Re: replacing a bad mirror boot disk
# pvcreate -f -B /dev/rdsk/c0t14d0
Then follow the rest of your steps which look fine and should work like charm for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 11:59 AM
06-03-2003 11:59 AM
Re: replacing a bad mirror boot disk
You will have to force this operation using the -f option. Man pvcreate for more information.
Regards,
DR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 12:29 PM
06-03-2003 12:29 PM
Re: replacing a bad mirror boot disk
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t14d0
# vgchange -a y /dev/vg00
# mkboot /dev/rdsk/c0t14d0
# mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/c0t14d0
# lvlnboot -R
# vgsync /dev/vg00
# lvlnboot -v