- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgimport -m filename
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
Discussions
Discussions
Forums
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
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-01-2010 03:52 AM
тАО03-01-2010 03:52 AM
vgimport -m filename
format of the file that is to be used for
importing a diskgroup with the -m option .
Im getting this error when I run vgimport
vgimport -m /tmp/mapRtRYWR -f /tmp/pathEMbuhC /dev/changehv
Physical volume "/dev/dsk/c5t0d6" has an unsupported LV
M disk layout.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 04:01 AM
тАО03-01-2010 04:01 AM
Re: vgimport -m filename
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 04:04 AM
тАО03-01-2010 04:04 AM
Re: vgimport -m filename
Are you trying to import LVM2.0/2.1 VG to hp-ux 11.23/earlier 11.31?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 04:51 AM
тАО03-01-2010 04:51 AM
Re: vgimport -m filename
Export the Volume Group /dev/vg01 into mapfile vg01.mapfile:
#vgexport -m vg01.mapfile /dev/vg01
Import the Volume Group /dev/vg01 from mapfile vg01.mapfile:
#vgimport -m vg01.mapfile /dev/vg01
Check in /etc/lvmconf/ for the mapfile if you not exported.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 04:58 AM
тАО03-01-2010 04:58 AM
Re: vgimport -m filename
The mapfile (designated with the '-m' argument) is simply a list of the logical volumes and their minor numbers. It will look like:
1 lvolX
2 lvolY
...
The '-f infile' points to a file of physical paths for the volume group. Make sure only one path per line occurs.
All this said, you haven't specified the *volume group* name. You should have something like:
# vgimport -m /tmp/mapRtRYWR /dev/vg01 -f /tmp/pathEMbuhC
...where '/dev/vg01' may be what you meant for '/dev/changehv'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 05:11 AM
тАО03-01-2010 05:11 AM
Re: vgimport -m filename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 05:17 AM
тАО03-01-2010 05:17 AM
Re: vgimport -m filename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 05:23 AM
тАО03-01-2010 05:23 AM
Re: vgimport -m filename
> Im using a 2.1 VG. Does the command line order matter I have specified /dev/changehv as the name of my vg.
No, your command was correct and I was wrong. The manpages do show:
# vgimport [-m mapfile] [-p] [-v] [-f infile] vg_name
I think turgay may be correct. What's your operating system (OS) release and from where (what OS) does the physical disk come?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 05:28 AM
тАО03-01-2010 05:28 AM
Re: vgimport -m filename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 05:35 AM
тАО03-01-2010 05:35 AM
Re: vgimport -m filename
mkdir /dev/vgNN
mknod /dev/vgNN/group c64 0xNN0000
then vgimport.
Pete
Pete