- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Doubt in VG EXPORT and VG IMPORT
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-03-2010 05:42 AM
11-03-2010 05:42 AM
Doubt in VG EXPORT and VG IMPORT
lvm version : v1
for eg; take two nodes A and B.
Volume group /dev/vg01 of size 5 gb has been created on node A with PV as C1t2d3
now i need to create vg on another node B with same size as node A.
so is it possiable to use the vgmap of /dev/vg01 (node A ) on node B to create the same size.
vgexport -p -v -m /tmp/vg01.map /dev/vg01 ------------ >map file on node A.
now in node B , not created any vg dir and group file in /dev
i am running
vgimport -v -m -p /tmp/vg01.map /dev/vg01
is it possiable to do like that.
Regards
MC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2010 06:14 AM
11-03-2010 06:14 AM
Re: Doubt in VG EXPORT and VG IMPORT
Do you want to create two different volume groups(of course on different disks) on two different nodes? If yes then vgexport/vgimport is not useful for you.
Or do you want to access the same volume group on nodeB which is created on the nodeA? If yes then you can use vgexport/vgimport for this operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2010 06:36 AM
11-03-2010 06:36 AM
Re: Doubt in VG EXPORT and VG IMPORT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2010 06:41 AM
11-03-2010 06:41 AM
Re: Doubt in VG EXPORT and VG IMPORT
Just read the map file - it contains the VG/PV IDs so that the PVs are not manually added.
Before doing so - you would need to do:
"now in node B , created any vg dir and group file in /dev "
HTH
SNS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2010 06:56 AM
11-03-2010 06:56 AM
Re: Doubt in VG EXPORT and VG IMPORT
1)Can you confirm whether the nodes mentioned and nodes in a cluster?
Or
2) Are you trying to use vgexport/vgimport as a shortcut to create volume group vg01 in multiple servers?
Vgexport/ vgimport is mainly used in following scenarios.
1) Vg Migration -to move a vg from one server to a different server.
In this scnario the PV (lun or disk) must be moved to new server.
2) Clustering, the PV must be connected to all the nodes and vg information should be available on all nodes where package (application) need to failover in case of failure. Inorder to replicate vg info to cluster nodes vgexport/vgimport is used.
3) Whereever needed, thi is the simplest way to remove the vg from a hpux server.
Regards
Jayakrishnan G Naik