- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Replacing a mirrored LVM 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
05-23-2001 01:56 PM
05-23-2001 01:56 PM
vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t4d0
vgchange -a y /dev/vg00
mkboot /dev/rdsk/c0t4d0
mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c0t4d0
lvlnboot -R
lvlnboot -v
vgsync /dev/vg00
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2001 03:04 PM
05-23-2001 03:04 PM
SolutionI don't see any reason to restart your machine after you finish. You should, when you get the opportunity, make sure that you can boot from that drive just to make sure it works.
After the vgsync is done, I would do a 'vgdisplay -v /dev/vg00' and make sure that all the LVs are showing 'synced'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2001 03:58 PM
05-23-2001 03:58 PM
Re: Replacing a mirrored LVM disk
The steps look good given that it appears from your post that you're still up-and-running on the primary boot disk.
Personally, since this is the boot disk, I would shutdown and reboot the server as the last step. You might also want to boot from the newly restored disk to verify that it is, in fact, as you expect. Better to verify this now than when you need it.
I would also add the the low-quorum string to the 'mkboot' command:
# mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/c0t4d0
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2001 11:19 PM
05-23-2001 11:19 PM
Re: Replacing a mirrored LVM disk
If this is a boot disk I would use a pvcreate -B before issueing the vgcfgrestore command or else you may not get the LIF area required for a system disk. The rest look fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 05:22 AM
05-24-2001 05:22 AM
Re: Replacing a mirrored LVM disk
Ok pvcreate -B /dev/rdsk/c0t4d0
Verify integrity of disk with ioscan and diskinfo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 11:03 AM
05-28-2001 11:03 AM
Re: Replacing a mirrored LVM disk
I would do the following:
vgchange -a y /dev/vg00
pvcreate -B -f /dev/rdsk/c0t4d0 as this diskwill be in the lvmtab.
vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t4d0
mkboot /dev/rdsk/c0t4d0
mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c0t4d0. You could also copy this from the good disk with the same command.
mkboot -a "hp-ux -lq (;0)/stand/vmunix" /dev/rdsk/c0t4d0
vgsync /dev/vg00
lvlnboot -R /dev/vg00
lvlnboot -v /dev/vg00
setboot -p HW_PATH_PRIMARY
setboot -a HW_PATH_SECONDARY
Cheers,
Joseph.