- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- importvg with a lot of disks 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
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
11-11-2004 08:25 PM
11-11-2004 08:25 PM
I'm working in a HP UX N4000 server. I had a vgexport of a volume group with the following command:
vgexport -m mapfile.tmp /dev/vgkk
Now, I need to import it in the same server using the mapfile.temp. I'm trying:
vgimport -m mapfile.temp /dev/vgkk
the problem is that I have to import 13 disks and the previous command doesn't display anything in the screen. If I try it with only 12 disks, there is not problem. I think that the problem is the number of disks (13 are too much).
How I can to import the VG with the 13 disks??
(vgimport with 12 disks and then vgextend, doesn't work)
Thanks in advance
Mari
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 11:03 PM
11-11-2004 11:03 PM
SolutionYou can try to obtain the VGID from any of the disk running the following command
#echo 0x2010?2X | adb /dev/dsk/c3t2d6 |expand |tr -d " " | sed "s/2010:/VGID /"
You may to change the value of /dev/dsk/c3t2d6 for any of your vg disks
The value returned by the command must be like
#VGID 25738B564191D5EE
Know insert this line at the beginning of the mapfile (see one example in the lines below)
VGID 25738B564191D5EE
1 lvoldat
2 lvolind
3 lvolhis
4 lvolsys
After that, execute the following command for import the vg. This command will scan all the disk and all of then with the same VGID will used to create the VG.
#vgimport -m mapfile -s /dev/vg??????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 11:07 PM
11-11-2004 11:07 PM
Re: importvg with a lot of disks doesn't work
# vgdisplay -v /dev/vg02 |more
Max PV 14
Also add the -v switch to see if this gives you more detail.
# vgimport -v -m mapfile.temp /dev/vgkk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 11:09 PM
11-11-2004 11:09 PM
Re: importvg with a lot of disks doesn't work
I don't think you need to mess with the mapfile - just use the -s option in your vgimport command:
vgimport -s -m mapfile.tmp /dev/vgkk
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2004 11:25 PM
11-11-2004 11:25 PM
Re: importvg with a lot of disks doesn't work
I have solved the problem adding to the vgimport the -s option. First at all I have searched the value of VGID and added it at the beginning of the mapfile because I did the vgexport without the "-s" option. And then I have launched the vgimport -s.... and the vgchange and vgcfgbackup.