- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Difference between vgexport/vgimport and vgcfgback...
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
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
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
тАО09-29-2004 08:22 PM
тАО09-29-2004 08:22 PM
Difference between vgexport/vgimport and vgcfgbackup/restore
can you explain to me what's the "big" difference between vgexport/vgimport and vgcfgbackup/vgcfgrestore respectively when to use the one and when to use the other ?
Somehow it doesn't seem quite clear to me
Thx in advance
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2004 08:45 PM
тАО09-29-2004 08:45 PM
Re: Difference between vgexport/vgimport and vgcfgbackup/restore
The vgcfgrestore command restores the LVM configuration data from a default (-n option) or alternate (-f option) configuration backup file to the physical volume named by pv_path.it restores the vg information on disk(like VGRA ).
vgexport/vgimport is just adding/removing the entry of VG in the lvmtab file and creates LVs in the respective VG.it is not changing any data in the disk(PV)
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2004 08:46 PM
тАО09-29-2004 08:46 PM
Re: Difference between vgexport/vgimport and vgcfgbackup/restore
vgexport/import will remove the definitions of a VG from a system including removuing it from /etc/lvmtab, unless used with -p option, and vgimport is used to import the vg definitions onto a system..
Refer to the man pages for more information and details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2004 08:57 PM
тАО09-29-2004 08:57 PM
Re: Difference between vgexport/vgimport and vgcfgbackup/restore
Just to add something more:
1. vgexport/vgimport plays around with the VG configuration stored on the server itself whereas vgcfgrestore/backup play with the configuration which is there on the disk (PV's)
2. vgexport/import is is basically used to copy the VG structure from one server to another server which is required in HA cluster whereas the vgcfgrestore/backup is used to backup the Metadata stored on the PV's and restored incase of bad disk or disk replacement.
3. vgexport is also used to delete VG's
4. vgexport/import is used for replicating configuration whereas vgcfgrestore/backup is done for recovering from failures.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2004 10:12 PM
тАО09-29-2004 10:12 PM
Re: Difference between vgexport/vgimport and vgcfgbackup/restore
vgimport / vgexport can work on shared mode on cluster systems.
vgcfgbackup /vgcfgrestore are used to take backup of VG configuartion informations into a file / restore or list the VG informations again. It will not do any action on physical disk or volume group configurion file.
vgcfgrestore cannot be performed if the volume group is activated in shared mode.
Differences are physical volume group settings configuration and updation and volume group configuration file configuration and restoration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2004 01:27 AM
тАО10-04-2004 01:27 AM
Re: Difference between vgexport/vgimport and vgcfgbackup/restore
if i understand correctly then in case of desaster recovery you'll need both (vgexport and vgcfgbackup) to restore a disk from scratch - vgcfgbackup for the LVM Structures on the disk itself and vgimport for the VG's on the system (lvmtab)
Is that right ?
Thx
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2004 01:35 AM
тАО10-04-2004 01:35 AM
Re: Difference between vgexport/vgimport and vgcfgbackup/restore
If disks, then vgcfgrestore.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2004 01:53 AM
тАО10-04-2004 01:53 AM
Re: Difference between vgexport/vgimport and vgcfgbackup/restore
This quite often works.
If that still hasnt worked then I will try the vgexport/vgimport.
Best regards,
Kent M. Ostby