- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgcfgrestore with a different hardwarepath
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
04-13-2003 11:27 PM
04-13-2003 11:27 PM
vgcfgrestore with a different hardwarepath
I've got a rp5470 server with two virtual partitions on it (vPar1 and vPar2).
vPar2 boots via SAN. After a reboot because of installing MirrorDisk/UX, vPar2 failed with the following message:"Failed to load:(hardwarepath):/stand/vmunix", also by specifying the Alternate Link.
After that, I've rebooted without vPar-functionality to recover the root-disk and then to boot /stand/vpmon again.
Now after recovering the vg00.conf from backup, I wanted to vgcfgrestore the vg00 from vPar2 to vgxos but the disk have a different hardwarepath.
# mkdir /dev/vgxos
# mknod /dev/vgxos/group c 64 0x030000
# vgcfgrestore -f /etc/lvmconf/hpxos/vg00.conf /dev/rdsk/c25t0d0
vgcfgrestore: Couldn't query physical volume "/dev/rdsk/c21t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgrestore: Couldn't query physical volume "/dev/rdsk/c1t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgrestore: Mismatch between the backup file and the running kernel:
Kernel indicates 1 disks for "/dev/vg00"; vg00.conf indicates 2 disks.
Cannot proceed with the restoration. Deactivate the Volume Group and try again.
# vgcfgrestore -f vg00.conf -l
Volume Group Configuration information in "vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 2 ----
/dev/rdsk/c21t0d1 (Bootable)
/dev/rdsk/c1t0d0 (Bootable)
The problem is one the one hand, the disks have another hw-paths and on the other hand, I want to restore the disks to vgxos not to vg00.
Can anybody help me please or do you need more detailed information?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 01:56 AM
04-14-2003 01:56 AM
Re: vgcfgrestore with a different hardwarepath
You error indicates though that you are trying to use disks which are already in use. I dont understand completely what you are trying to do.
With Vpars its important to remember to install the same software on both so the kernels on muiltiple vpars are the same - or else you can have vpmon boot errors as you had.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 02:27 AM
04-14-2003 02:27 AM
Re: vgcfgrestore with a different hardwarepath
I understand that it should be simple for LVM if there's only one disk in VG, but if there're 4 disks? And do not think there's an exception for the case with one disk within VG
Eugeny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 03:16 AM
04-14-2003 03:16 AM
Re: vgcfgrestore with a different hardwarepath
And I don't think vgimport and vgexport are designed for the bootlif and boot vg because of the BDRA and bootlif. Better to restore using an ignite make_tape_recovery tape.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 03:43 AM
04-14-2003 03:43 AM
Re: vgcfgrestore with a different hardwarepath
On vpar2, c21t0d1 was vg00, but now I want to recover it to vgxos, because vpar2 is not able to boot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 04:22 AM
04-14-2003 04:22 AM
Re: vgcfgrestore with a different hardwarepath
vgcfgrestore -f /etc/lvmconf/hpxos/vg00.conf -o /dev/rdsk/c21t0d0 /dev/rdsk/c25t0d0
However, I agree with Stefan... I have no real idea what you want to do. But, the command above should restore the former c21t0d0 header to c25t0d0.
Best regards...
Dietmar.