- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
07-27-2009 10:34 AM
07-27-2009 10:34 AM
vgimport
Lets say,on a system having vg01 with 4 external disks and their total size of all 4 is 100 gigs even.
Now, i go on a disaster recovery site with an ignite image which has the configuration og vg01. and i run
vgimport -v /dev/vg01 /dev/dsk/c2t2d0 > c2t2d0 is one disk worth 100 gigs.
Now, by doing so will i be able to restore vg01 data. Since it now has 100 gigs as well like the production box. And the lv's under it also have space.
So, will this work in a disaster recovery situation... Will that update /etc/lvmtab.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2009 10:43 AM
07-27-2009 10:43 AM
Re: vgimport
Instead, you need to plan ahead in your DR documentation the procedure to recreate the structure of vg01 and its filesystems manually from scratch, before restoring your data on it.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2009 10:43 AM
07-27-2009 10:43 AM
Re: vgimport
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2009 10:48 AM
07-27-2009 10:48 AM
Re: vgimport
For a remote site recovery the external vg's have to made manually and thats it . Right??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2009 10:56 AM
07-27-2009 10:56 AM
Re: vgimport
> so in a DR there is no way, i can run a command and get my vg's back.. For a remote site recovery the external vg's have to made manually and thats it .
What's so hard about that? You should have simple scripts that you can run at the disaster recovery site that create the volume groups. logical volumes and filesystems that you need. You run them and then you begin to populate them with data from your backups.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2009 12:38 PM
07-27-2009 12:38 PM
Re: vgimport
I will really appreciate that.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2009 12:46 PM
07-27-2009 12:46 PM
Re: vgimport
> Can you kindly tell me of that script that you say can bring back the volume group back to life without manually creating it.
You missed what we are saying. The magical script begins by 'pvcreate'ing available devices; performs a 'vgcreate' of a volume group; 'lvcreate's its logical volumes and 'newfs's the filesystems housed within the logical volumes --- exactly the steps you would do at home. You simply need to pass (or hard-code) the names of the device files you have available at runtime. These will vary exercise to exercise.
Regards!
...JRF...