- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Add disk to new volume group and preserve stru...
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-07-2005 08:36 PM
тАО03-07-2005 08:36 PM
I have used business copy to clone a disk in our EVA, and have presented this to the new host. I now need to create a "backup" volume group containing this disk, but normally when you do this you have to pvcreate the disk hence losig the data. Is there way to do this without trashing the existing data and lvm structures on the cloned disk??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2005 08:53 PM
тАО03-07-2005 08:53 PM
Re: Add disk to new volume group and preserve structures
It seems that vgexport/vgimport is your solution.
man vgexport/vgimport for details.
Regards,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2005 09:16 PM
тАО03-07-2005 09:16 PM
Re: Add disk to new volume group and preserve structures
Do you want to backup your vg?
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2005 09:21 PM
тАО03-07-2005 09:21 PM
SolutionOn the "source" server, execute: -
vgexport -m vgXX.map -p -v /dev/vgXX
-p switch is VERY important - without this your volume group will be removed on the source!
Now copy the created map file to the "backup" server. Import the volume group with: -
vgimport -m vgXX.map -v /dev/vgXX /dev/dsk/cXtXdX
Of course you'll need to create the /dev/vgXX/group first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2005 09:27 PM
тАО03-07-2005 09:27 PM
Re: Add disk to new volume group and preserve structures
Don't know how to help you, but give us some points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2005 09:31 PM
тАО03-07-2005 09:31 PM
Re: Add disk to new volume group and preserve structures
1. Before vgimport be sure that the other host can access that disk (storage configuration)
2. Be carefull so the VG won't be writeable on two servers in the same time (!!!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2005 09:34 PM
тАО03-07-2005 09:34 PM