- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgimport unable to read physical volume
Operating System - HP-UX
1822240
Members
3567
Online
109642
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО01-15-2011 02:37 PM
тАО01-15-2011 02:37 PM
HELP!
I am upgrading from 11.11 to 11.31. I did a vgexport -m /tmp/vg01.map vg01 command and copied the file off to a tape.
I did a cold install of 11.31, copied the map file back off of tape into the tmp file. I then did a vgimport -m /tmp/vg01.map /dev/vg01. Then I get the following error
vgimport: unable to read physical volume.
What am I missing and can I get around this error with out destroying all the data on the vg01 disks.
Thanks,
Tim
I am upgrading from 11.11 to 11.31. I did a vgexport -m /tmp/vg01.map vg01 command and copied the file off to a tape.
I did a cold install of 11.31, copied the map file back off of tape into the tmp file. I then did a vgimport -m /tmp/vg01.map /dev/vg01. Then I get the following error
vgimport: unable to read physical volume.
What am I missing and can I get around this error with out destroying all the data on the vg01 disks.
Thanks,
Tim
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2011 03:10 PM
тАО01-15-2011 03:10 PM
Re: vgimport unable to read physical volume
hi,
what is the server? model?
are you using the same server and storage? sounds like you are.
if so what is the storage? FWD storage options are not supported on 11.31 for example so did you check your interfaces and storage works with 11.31
Also what is the version of lvm used on the 11.11 system? and are you using on the version 3 system?
Andy
what is the server? model?
are you using the same server and storage? sounds like you are.
if so what is the storage? FWD storage options are not supported on 11.31 for example so did you check your interfaces and storage works with 11.31
Also what is the version of lvm used on the 11.11 system? and are you using on the version 3 system?
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2011 07:03 PM
тАО01-15-2011 07:03 PM
Solution
You should always use the -s option with -m so you get a VGID number for all the PVs. However, the mapfile only contains lvol information so vgimport will scanning every disk available to the system. So one of the PVs is not working. It may not have anything to do with vg01 but it does need to be resolved. Since this was a cold install, all the disks available to the new system should still be OK. Start with a ioscan -fnCdisk looking for NO_HW, then run diskinfo on each of the raw disks to see if one (or more) of the disks hangs or returns an invalid size.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2011 08:29 PM
тАО01-15-2011 08:29 PM
Re: vgimport unable to read physical volume
Thanks for the responses!
Bill,
you were absolutely correct. I messed up and did not use the -s option. So here is one way that I found to fix it.
As usual any one that upgrades should have a new/current ignite tape. The ignite tape does create a map file in the /etc/lvmconf directory called vg01.mapfile.
I tared off the etc directory from the ignite tape and put it into the tmp directory. From their was able to do the following commands.
- vgcreate /dev/vg01
- mknod /dev/vg01/group -c 64 0x010000
- vgimport -v -s -m /tmp/etc/lvmconf/vg01.mapfile /dev/vg01
- vgchange -a y /dev/vg01
- Added the mount information in the /etc/fstab
- Added the mount point directories
- mount -a
This did the trick...
I don't think I will make that mistake again. but if someone else does this may help.
Tim
Bill,
you were absolutely correct. I messed up and did not use the -s option. So here is one way that I found to fix it.
As usual any one that upgrades should have a new/current ignite tape. The ignite tape does create a map file in the /etc/lvmconf directory called vg01.mapfile.
I tared off the etc directory from the ignite tape and put it into the tmp directory. From their was able to do the following commands.
- vgcreate /dev/vg01
- mknod /dev/vg01/group -c 64 0x010000
- vgimport -v -s -m /tmp/etc/lvmconf/vg01.mapfile /dev/vg01
- vgchange -a y /dev/vg01
- Added the mount information in the /etc/fstab
- Added the mount point directories
- mount -a
This did the trick...
I don't think I will make that mistake again. but if someone else does this may help.
Tim
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP