- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgimport failed?
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
07-28-2004 03:24 AM
07-28-2004 03:24 AM
I have to import some physical volumes, but vgimport failed as you can see in below
# vgscan -v -a
Creating "/etc/lvmtab".
Couldn't stat physical volume "/dev/dsk/c0t2d0":
Invalid argument
Physical Volume "/dev/dsk/c4t2d0" contains no LVM information
Physical Volume "/dev/dsk/c4t3d0" contains no LVM information
Physical Volume "/dev/dsk/c5t0d0" contains no LVM information
Physical Volume "/dev/dsk/c5t1d0" contains no LVM information
Physical Volume "/dev/dsk/c5t2d0" contains no LVM information
Physical Volume "/dev/dsk/c5t3d0" contains no LVM information
/dev/vg00
/dev/dsk/c1t15d0
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c4t0d0
/dev/dsk/c4t1d0
# vgimport /dev/vgoradata /dev/dsk/c4t0d0 /dev/dsk/c4t1d0
Volume group "/dev/vgoradata" is still active.
# vgchange -a n /dev/vgoradata
vgchange: Volume group "/dev/vgoradata" does not exist in the "/etc/lvmtab" file.
#
So how can I import these 2 volumes
Best Regards
Murat
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2004 03:28 AM
07-28-2004 03:28 AM
Re: vgimport failed?
mkdir /dev/vgxx
mknod /dev/vg00/group c 64 0x0y0000
Where y is appropriate vg number
Before trying to import the pvs to vgxx??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2004 03:28 AM
07-28-2004 03:28 AM
Re: vgimport failed?
# mkdir /dev/vg09
# mknod /dev/vg09/group c 64 0x090000
# vgimport /dev/vg09 /dev/dsk/c4t0d0 /dev/dsk/c4t1d0
# vgchange -a y /dev/vg09
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2004 03:35 AM
07-28-2004 03:35 AM
Re: vgimport failed?
I am so sorry, I already created the
/dev/vgoradata directory and
/dev/vgoradata/group file (with mknode)
before the import operation
/dev/vgoradata:
total 0
crw-rw-rw- 1 root sys 64 0x002000 Jul 28 17:18 group
Best Regards
Murat SULUHAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2004 03:37 AM
07-28-2004 03:37 AM
SolutionI believe you have the wrong minor number for the group file. The last 4 digits of the group file's minor number should be 0.
Try this
# rm /dev/vgoradata/group
# mknod /dev/vgoradata/group c 64 0x020000
# vgimport ....
# vgchange -a y /dev/vgoradata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2004 03:57 AM
07-28-2004 03:57 AM
Re: vgimport failed?
I am so sorry, thank you so much
Best Regards
Murat