- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: replaced alt root drive, but vg indicates driv...
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
Discussions
Discussions
Forums
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
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-25-2007 09:05 AM
тАО06-25-2007 09:05 AM
# uname -a ; model
HP-UX hohp120 B.11.11 U 9000/800 877940666 unlimited-user license
9000/800/A500-7X
################################
replaced alt root drive, but vg indicates drive unavailable. Tried vgcfgrestore also
################################
--- Physical volumes ---
PV Name /dev/dsk/c1t15d0
PV Status available
Total PE 4340
Free PE 12
Autoswitch On
PV Name /dev/dsk/c3t15d0
PV Status unavailable
Total PE 4340
Free PE 588
Autoswitch On
root@hohp120[/root]
root@hohp120[/root]
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c3t15d0
vgcfgrestore: Cannot restore Physical Volume "/dev/dsk/c3t15d0",
Detach the PV or detactivate the VG, before restoring the PV.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2007 09:39 AM
тАО06-25-2007 09:39 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2007 11:09 AM
тАО06-25-2007 11:09 AM
Re: replaced alt root drive, but vg indicates drive unavailable
If the disk is shown as claimed and try doing the following steps
#pvchange -a n /dev/rdsk/c3t15d0
#vgcfgrestore /dev/vgxx /dev/rdsk/c3t15d0
#pvchange -a y /dev/dsk/c3t15d0
#vgchange -a y -s -q n /dev/vgxx
#vgdisplay -v vgxx
Note: replace xx with the volume name accordingly.
Best Regards,
Prashanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2007 11:22 AM
тАО06-25-2007 11:22 AM
Re: replaced alt root drive, but vg indicates drive unavailable
[PHKL_31216/PACHRDME/English] s700_800 11.11 LVM Cumulative Patch; LVM OLR; SLVM 16 Node
[PHCO_30698/PACHRDME/English] s700_800 11.11 LVM commands cumulative patch; LVM OLR
I suspect the current patch level on your system should be PHCO_30698
Best Regards,
Prashanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2007 12:59 PM
тАО06-25-2007 12:59 PM
Re: replaced alt root drive, but vg indicates drive unavailable
#pvchange -a n /dev/rdsk/c3t15d0
#vgcfgrestore /dev/vg00 /dev/rdsk/c3t15d0
#pvchange -a y /dev/dsk/c3t15d0
#vgchange -a y /dev/vg00
#vgdisplay -v vg00
#####################################
# swlist -l product | grep -i lvm
LVM B.11.11 LVM
PHCO_34196 1.0 LVM commands cumulative patch
PHKL_30607 1.0 VxVM,EMC,PM,vPar,slpq,KRS,DUMP,LVM,VM,DaS,IF
PHKL_34518 1.0 LVM Cumulative Patch; LVM OLR; SLVM 16 Node
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2007 03:50 PM
тАО06-25-2007 03:50 PM
Re: replaced alt root drive, but vg indicates drive unavailable
To list and verify the config file
adedd11n:root [/root] vgcfgrestore -n /dev/vg00 -l
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 2 ----
/dev/rdsk/c0t0d0 (Bootable)
/dev/rdsk/c3t0d0 (Bootable)
Pvchange -a n /dev/dsk/c0t0d0
Replace the disk
Ioscan -fnH path
Diskinfo /dev/rdsk/c0t0d0
mkboot /dev/rdsk/c0t0d0
mkboot -b /usr/lib/uxbootlf /dev/dsk/c0t0d0
vgcfgrestore -F -n vg00 /dev/rdsk/c0t0d0
Pvchange -a y /dev/dsk/c0t0d0
vgchange -a y vg00
vgsync vg00
lvlnboot -R
for lif_comp in `lifls /dev/dsk/c3t0d0`
do
/usr/bin/lifcp /dev/dsk/c3t0d0:${lif_comp} /dev/dsk/c0t0d0:${lif_comp}