- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgcfgrestore failed on new mirrored 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
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
тАО02-15-2005 12:39 PM
тАО02-15-2005 12:39 PM
I have just replaced the second hard disk of a three disk mirrored array (/dev/dsk/c4t1d0) with a new identical disk.
I typed in :
vgcfgrestore -n vg01 /dev/rdsk/c4t1d0
and got the following message:
Cannot restore Physical Volume "/dev/dsk/c4t1d0". Detach the PV or deactivate the VG before restoring the PV.
The new disk was used once (as VG02). However I have removed the VG from it and tried using it as the spare.
Any ideas what the system wants me to do ?
Thanks in advance
JUP
Solved! Go to Solution.
- Tags:
- vgcfgrestore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2005 02:28 PM
тАО02-15-2005 02:28 PM
Re: vgcfgrestore failed on new mirrored disk
You have to deactivate the VG before doing vgcfgrestore.To achieve this do
#vgchange -an vg01
Else to Detach a path to a PV do
#pvchange -a n /dev/dsk/c2t0d2
can you try this. You can also see the steps to do the vgcfgrestore in the man page of the same.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2005 03:59 PM
тАО02-15-2005 03:59 PM
Re: vgcfgrestore failed on new mirrored disk
I guess I'm asking if I'm inserting a new disk do I have to disable the volume group as I wish to have all programs continue to run ?
THanks in advance
JUP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2005 04:16 PM
тАО02-15-2005 04:16 PM
Re: vgcfgrestore failed on new mirrored disk
#vgchange -ay vg01.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2005 04:56 PM
тАО02-15-2005 04:56 PM
Re: vgcfgrestore failed on new mirrored disk
steps should be like this.
make sure SCSI ID of new disk is same as old disk so the device file.
#pvcreate -f /dev/rdsk/c4t1d0
#vgcfgrestore -n vg01 /dev/rdsk/c4t1d0
if new disk device file is different then old disk then
#vgcfgrestore -n vg01 -o
I don't think you need to deactivate volume group to run vgcfgrestore command.
Sunil
Is this disk is registered in /etc/lvmatb ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2005 05:04 PM
тАО02-15-2005 05:04 PM
Re: vgcfgrestore failed on new mirrored disk
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2005 05:31 PM
тАО02-15-2005 05:31 PM
Re: vgcfgrestore failed on new mirrored disk
Check this doc.
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072292441
Document description: Replace failed root and non-root LVM disks on Itanium.
Document id: KBRC00014036
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2005 05:54 PM
тАО02-15-2005 05:54 PM
Re: vgcfgrestore failed on new mirrored disk
COuld you please attach the document for me.
THanks
JUP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2005 05:58 PM
тАО02-15-2005 05:58 PM
Solutionhttp://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072292441
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2005 02:21 PM
тАО02-16-2005 02:21 PM
Re: vgcfgrestore failed on new mirrored disk
Your problem resolved?
Regards,
Syam