- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgcfgrestore doesn't work..
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
тАО10-12-2009 10:45 PM
тАО10-12-2009 10:45 PM
vgcfgrestore doesn't work..
I hv an hp ux rx260-18 B.11.23, in that I mirrored the root disk with another disk. now I did a pvchange -a n altdisk. now I want to vgcfgrestore the same configuration to a new disk which is on a new path. I tried the below but could not. can any one help me in this.
[rx260-18]/etc/lvmconf
# vgcfgrestore -f /etc/lvmconf/vg00.conf -o /dev/rdsk/c2t1d0 /dev/rdsk/c2t0d0
vgcfgrestore: Cannot restore Physical Volume "/dev/dsk/c2t0d0",
Detach the PV or detactivate the VG, before restoring the PV.
[rx260-18]/etc/lvmconf
#
# vgcfgrestore -n /dev/vg00 -o /dev/dsk/c2t1d0 /dev/dsk/c2t0d0
vgcfgrestore: Cannot restore Physical Volume "/dev/dsk/c2t0d0",
Detach the PV or detactivate the VG, before restoring the PV.
[rx260-18]/etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 10:52 PM
тАО10-12-2009 10:52 PM
Re: vgcfgrestore doesn't work..
vgchange -a n vg00
vgcfgrestore -n /dev/vg00 -o /dev/dsk/c2t1d0 /dev/dsk/c2t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 11:07 PM
тАО10-12-2009 11:07 PM
Re: vgcfgrestore doesn't work..
Try two things
a) /usr/sbin/vgcfgrestore -n vg_name -l
See the disks in the map
http://docs.hp.com/en/B2355-90692/vgcfgrestore.1M.html
b) vgscan -p -a -v
Message to all disks, read their lvm headers, verify the metadat
-p preview
-a all controllers
-v verbose
Note: If you DON'T use -p you will over write your /etc/lvmtab. Make a backup first just in case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 11:07 PM
тАО10-12-2009 11:07 PM
Re: vgcfgrestore doesn't work..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 12:24 AM
тАО10-13-2009 12:24 AM
Re: vgcfgrestore doesn't work..
#pvchange -a N altdisk
N deactivates all the paths....
then try
vgcfgrestore -n /dev/vg00 -o /dev/dsk/c2t1d0 /dev/dsk/c2t0d0
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 12:51 AM
тАО10-13-2009 12:51 AM
Re: vgcfgrestore doesn't work..
Hope you are doing pvchange on the new disk that is on a new path.
Then try,
# vgcfgrestore -n /dev/vg00 -o /dev/dsk/c2t1d0 /dev/dsk/c2t0d0
old path: c2t1d0