- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to vgexport and vgimport in Linux
Operating System - Linux
1824976
Members
3210
Online
109678
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
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
тАО05-11-2009 12:11 AM
тАО05-11-2009 12:11 AM
How to vgexport and vgimport in Linux
I'm trying to do a vgexport/vgimport between two SLES 10 boxes connecting to an Equallogic SAN. I'd like to have a map file between the two using this commmand:
vgexport -m vgoracle.map oracle
vgexport: invalid option -- m
Does anybody know how to get a map file of a volume group using SLES? The -m works in HP-UX which is what I am migrating from.
In HP-UX i can able to perform:
vgexport -p -s -v -m /tmp/vgdata1202.map /dev/vgdata
vgimport -s -v -m /tmp/vgata1202.map /dev/vgdata
vgexport -m vgoracle.map oracle
vgexport: invalid option -- m
Does anybody know how to get a map file of a volume group using SLES? The -m works in HP-UX which is what I am migrating from.
In HP-UX i can able to perform:
vgexport -p -s -v -m /tmp/vgdata1202.map /dev/vgdata
vgimport -s -v -m /tmp/vgata1202.map /dev/vgdata
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 12:48 AM
тАО05-11-2009 12:48 AM
Re: How to vgexport and vgimport in Linux
Hi Minhaz,
you can check below link for vgexport/vgimport in linux
http://linux.die.net/man/8/vgimport
Rgds//
Taifur
you can check below link for vgexport/vgimport in linux
http://linux.die.net/man/8/vgimport
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 01:02 AM
тАО05-11-2009 01:02 AM
Re: How to vgexport and vgimport in Linux
HI, here is command info
http://linux.about.com/library/cmd/blcmdl_8uv.htm
also pls check below thread having good info,
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1318675
http://linux.about.com/library/cmd/blcmdl_8uv.htm
also pls check below thread having good info,
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1318675
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2009 04:46 AM
тАО05-11-2009 04:46 AM
Re: How to vgexport and vgimport in Linux
Linux does not use map files.
In HP-UX, an exported VG is nameless and the name must be defined when re-importing it. In Linux, the VG name is stored in the VG metadata and stays with it.
(If you need to rename a VG in Linux, there is a "vgrename" command for that. If you have two VGs with the same name on the same host, you can use VG UUIDs to uniquely identify the VGs. The UUID is visible in the vgdisplay listing.)
To make the VG known in the new host, just use "vgscan" (maybe as "vgscan -v" so you get some feedback). If udev is used (as usual with a 2.6 series kernel today) the device files associated with the VG and its LVs are created automatically when the VG is activated (vgchange -a y) and removed when the VG is deactivated.
(When using the LVM2 of Linux 2.6 kernel series for the first time, I spent a while wondering why the device files did not appear when I ran vgscan. :-)
MK
In HP-UX, an exported VG is nameless and the name must be defined when re-importing it. In Linux, the VG name is stored in the VG metadata and stays with it.
(If you need to rename a VG in Linux, there is a "vgrename" command for that. If you have two VGs with the same name on the same host, you can use VG UUIDs to uniquely identify the VGs. The UUID is visible in the vgdisplay listing.)
To make the VG known in the new host, just use "vgscan" (maybe as "vgscan -v" so you get some feedback). If udev is used (as usual with a 2.6 series kernel today) the device files associated with the VG and its LVs are created automatically when the VG is activated (vgchange -a y) and removed when the VG is deactivated.
(When using the LVM2 of Linux 2.6 kernel series for the first time, I spent a while wondering why the device files did not appear when I ran vgscan. :-)
MK
MK
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