- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP/UX 11.0 REPLACE BAD BOOT MIRROR DRIVE
Operating System - HP-UX
1754400
Members
3148
Online
108813
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-28-2003 07:56 AM
тАО05-28-2003 07:56 AM
HP/UX 11.0 REPLACE BAD BOOT MIRROR DRIVE
I have two physical boot volumes in vg00.
Primary Boot /dev/dsk/c1t15d0 and Mirror Boot /dev/dsk/c1t14d0. The mirror dirve went
bad. I replaced the mirror with a new drive, but now I need to set it up for mirroring.
Does anyone have a step by step procedure for
this.
Primary Boot /dev/dsk/c1t15d0 and Mirror Boot /dev/dsk/c1t14d0. The mirror dirve went
bad. I replaced the mirror with a new drive, but now I need to set it up for mirroring.
Does anyone have a step by step procedure for
this.
I'D rather be flying
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 07:59 AM
тАО05-28-2003 07:59 AM
Re: HP/UX 11.0 REPLACE BAD BOOT MIRROR DRIVE
remove bad drive
put in new drive
# pvcreate -B /dev/rdsk/c?t?d?
# vgcfgrestore -n vg00 /dev/rdsk/c?t?d?
# mkboot /dev/rdsk/c?t?d?
# mkboot -a "hpux -lq (;)/stand/vmunix" /dev/rdsk/c?t?d?
# vgchange -a y vg00
# vgsync vg00
put in new drive
# pvcreate -B /dev/rdsk/c?t?d?
# vgcfgrestore -n vg00 /dev/rdsk/c?t?d?
# mkboot /dev/rdsk/c?t?d?
# mkboot -a "hpux -lq (;)/stand/vmunix" /dev/rdsk/c?t?d?
# vgchange -a y vg00
# vgsync vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 08:09 AM
тАО05-28-2003 08:09 AM
Re: HP/UX 11.0 REPLACE BAD BOOT MIRROR DRIVE
Before Patrick's procedure, you MIGHT need to run ioscan.
after I'd run lvlnboot -v to display the information so things came out the way they are supposed to.
Example
[2779#] lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Root: lvol3 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0
Good Luck,
Regards,
SEP
after I'd run lvlnboot -v to display the information so things came out the way they are supposed to.
Example
[2779#] lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Root: lvol3 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0
Good Luck,
Regards,
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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-28-2003 09:12 AM
тАО05-28-2003 09:12 AM
Re: HP/UX 11.0 REPLACE BAD BOOT MIRROR DRIVE
vg00 consists of two 2g disks with one being a mirror. To replace
both 2G disks with new disks. Run lvreduce -m 0 /dev/vg00/lvol # pv path to remove the mirrored extents from each logical volume in vg00 from the mirror disk.
Run vgreduce /dev/vg00 pv path to remove the mirror disk from vg00.
Shutdown the system and replace the mirror disk with the 4g disk.
Boot the box as normal.
To mirror vg00 to the new 4g disk. Be certain to set the alternate boot path to this 4g disk.
Shutdown and boot from the newly mirrored 4g disk.
Run lvreduce -m 0 /dev/vg00/lvol# pv path to remove the mirrored extents from each logical volume in vg00 where pv path is the remaining 2g disk.
Run vgreduce /dev/vg00 pv path to remove the 2g disk from vg00.
Shutdown the system and replace the remaining 2g disk with the 4g disk.
Boot the box normally.
To mirror vg00 to the new 4g disk.
Shutdown the system and boot from this just mirrored 4g disk.
both 2G disks with new disks. Run lvreduce -m 0 /dev/vg00/lvol # pv path to remove the mirrored extents from each logical volume in vg00 from the mirror disk.
Run vgreduce /dev/vg00 pv path to remove the mirror disk from vg00.
Shutdown the system and replace the mirror disk with the 4g disk.
Boot the box as normal.
To mirror vg00 to the new 4g disk. Be certain to set the alternate boot path to this 4g disk.
Shutdown and boot from the newly mirrored 4g disk.
Run lvreduce -m 0 /dev/vg00/lvol# pv path to remove the mirrored extents from each logical volume in vg00 where pv path is the remaining 2g disk.
Run vgreduce /dev/vg00 pv path to remove the 2g disk from vg00.
Shutdown the system and replace the remaining 2g disk with the 4g disk.
Boot the box normally.
To mirror vg00 to the new 4g disk.
Shutdown the system and boot from this just mirrored 4g disk.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP