- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgimport error !
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
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
03-22-2002 10:38 AM
03-22-2002 10:38 AM
I am trying to import a VG after a cold install (upgrade) HP-UX 11.0. The vgname is vg02, and has one lvol1 and is mirrored. Now when I am trying this command:
# vgimport -m /tmp/vg02.map -s -p -v /dev/vg02
Beginning the import process on Volume Group "/dev/vg02".
Logical volume "/dev/vg02/lvol1" has been successfully created with lv number 3.
Warning: Logical Volume number "1" found on physical volume not found in "/tmp/vg02.map".
Logical volume "/dev/vg02/lvol1" has been successfully created with lv number 1.
Warning: Logical Volume number "2" found on physical volume not found in "/tmp/vg02.map".
Logical volume "/dev/vg02/lvol2" has been successfully created with lv number 2.
Volume group "/dev/vg02" has been successfully created.
Is it going to create a problem while I do the 'vgimport' without -p ? Mirror/UX is already installed on the server.
Thanks!
Shiju
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2002 10:52 AM
03-22-2002 10:52 AM
Re: vgimport error !
Donna Powell-Berry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2002 11:02 AM
03-22-2002 11:02 AM
SolutionYou seems to do everything right, -s option gives you the flexibility of not having to specify the PV-paths and yet it still complain, I assume you used -s also in your vgexport command ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2002 11:25 AM
03-22-2002 11:25 AM
Re: vgimport error !
I would love to assign 100 points to you !
The vgimport without -s option worked, but not in a proper manner ! However I did that and activated the VG and I can see the lvol1 is mirrored. This was the error:
# vgimport -m /tmp/vg02.map -v /dev/vg02 /dev/dsk/c1t13d0 /dev/dsk/c0t13d0
Beginning the import process on Volume Group "/dev/vg02".
Logical volume "/dev/vg02/VGID" has been successfully created with lv number 1.
Logical Volume is not defined on any physical volume. "/dev/vg02/e026d534db273c" is missing Physical Volumes.
Logical volume "/dev/vg02/lvol1" has been successfully created with lv number 3.
Volume group "/dev/vg02" has been successfully created.
Warning: A backup of this volume group may not exist on this machine.
Please remember to take a backup using the vgcfgbackup command after activating the volume group.
Now I don't know from where the VGID came ? Is this another error ? I think I can safely remove this lv from the vg (?)
Thanks again .. points to follow
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2002 11:28 AM
03-22-2002 11:28 AM
Re: vgimport error !
I'm not familiar with the -s option but what I just read makes it sound as though the disk(s) found by using -s were not the one(s) you formerly used for your vg02.
Is it possible for you to specify the disks you want instead of using -s? Do you need the sharable option?
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2002 11:47 AM
03-22-2002 11:47 AM
Re: vgimport error !
Thanks for the heads up !
1) The disks which found by -s option are the same which I specified. I did check this when I exported tha VG.
2) I don't need the sharable option, but I was assuming that using -s is a good choice while vgimport/export.
3) I think it is possible to specify the disks withou using -s, because it worked for me now.
Any idea about the new logical volume- VGID ? Does this is an effect of using -s in vgexport, but not using with vgimport ? Any issues if I delete this ?
Thanks!
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2002 12:19 PM
03-22-2002 12:19 PM
Re: vgimport error !
I use the -m option for a mapfile with vgexport and vgimport. I also use the -f option to let the system create a list of PVs for the VG and I don't have to type them in.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2002 12:27 PM
03-22-2002 12:27 PM
Re: vgimport error !
# vgexport -m mapfile -s -p /dev/vg00
# vgexport -m mapfile2 -p /dev/vg00
and take a look at both map files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2002 12:30 PM
03-22-2002 12:30 PM
Re: vgimport error !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2002 12:48 PM
03-22-2002 12:48 PM
Re: vgimport error !
Thanks everybody ! It worked fine for me. Here is the conclusion:
1) The 'VGID' logical volume created because the vgimport was executed without -s option ( as S.K. Chan said)
2) I have removed the VGID with lvremove:
# lvremove /dev/vg02/VGID
# vgchange -a n vg02
# vgchange -a y vg02
and looks fine now.
3) The reason why it was not working with '-s' option ( I think): I could find some mismatches in the 'vgdisplay' output which I took before the upgrade. The lv defenitions (current lv, open lv etc) were not matching, and this might have been created a problem while importing the vg with -s. The logical volume number was 3, but there was only one LV.
Thanks for all your time and inputs.
Have a good weekend !
Shiju