- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Vgexport & Vgimport
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
06-20-2006 04:42 PM
06-20-2006 04:42 PM
What is the use of vgexport & vgimport command in LVM.Can anybody share the scenerio of using this commands.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 05:02 PM
06-20-2006 05:02 PM
Solutionvgimport - import an LVM volume group onto the system
Scenarios:
a)vgexport can be used to remove a volume group definitions from the system
b)Support you want to Import the volume group /dev/vg01 that is located on physical disks /dev/dsk/c0t1d0 , u need to use vgimport
c)you can also Import the volume group using the mapfile that was previously specified by the vgexport command on another
system.
-Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 05:03 PM
06-20-2006 05:03 PM
Re: Vgexport & Vgimport
This is pretty useful in ServiceGuard environment.
-AMit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 05:03 PM
06-20-2006 05:03 PM
Re: Vgexport & Vgimport
You can take a look at man pages,
http://docs.hp.com/en/B2355-60103/vgexport.1M.html
http://docs.hp.com/en/B2355-60103/vgimport.1M.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 05:05 PM
06-20-2006 05:05 PM
Re: Vgexport & Vgimport
information found on the physical volumes.
The volume group identified by vg_name is removed from the /etc/lvmtab
file, and the associated device files including the vg_name directory and group file are removed from the system.
The volume group information and data is untouched on the physical volume. These disks can be imported to other system with the vgimport command .
-Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 05:32 PM
06-20-2006 05:32 PM
Re: Vgexport & Vgimport
I got Few things But not so clear
COnsider:-
If I want to Shift my disk from
SERVER1:-
/dev/dsk/c2t5d0 --> /dev/vg02/lvol3
--> /dev/vg02/lvol5
--> /dev/vg02/lvol4
TO SERVER2..How can I access these logical volumes from the SERVER2.
The SERVER2 is sensing the disk ad
/dev/rdsk/c6t5d0--->
How can I access the Logical volumes ??
lvol3 ..?
lvol4 ..
lvol5 ..
Is it possible....& Share me if so...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 05:40 PM
06-20-2006 05:40 PM
Re: Vgexport & Vgimport
Server1:
vgexport -m vgname.mapfile /dev/vgname
*copy the file "vgname.mapfile" to /tmp in server2
Server2:
vgimport -v -m /tmp/vgname.mapfile /dev/vgname /dev/dsk/c6t5d0
you will be able to see the logical volumes on server2 without any issues
Keep in mind following things:
a)Ensure backup before proceeding with any such activity
b) LV shouldn't span to any other disk , otherwise you will not be able to recover that LV
-Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2006 05:55 PM
06-20-2006 05:55 PM
Re: Vgexport & Vgimport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2006 01:25 PM
06-21-2006 01:25 PM
Re: Vgexport & Vgimport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2006 09:01 PM
06-25-2006 09:01 PM