- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- when to use vgcfgrestore v/s vgimport
Operating System - HP-UX
1753793
Members
7036
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-01-2000 08:27 AM
тАО11-01-2000 08:27 AM
when to use vgcfgrestore v/s vgimport
I am little confused over the usuage of vgcfgrestore command v/s vgimpot . Can anybody explain me under what circumstances we have to use them.
Example : I have a disk drive connected to a Controller A . If i want to change the disk drive to some other controller , the device name of the disk will be change . So should i need to do a vgcfgbackup anf vgcfgrestore or vgexport and vgimport ?
Example : I have a disk drive connected to a Controller A . If i want to change the disk drive to some other controller , the device name of the disk will be change . So should i need to do a vgcfgbackup anf vgcfgrestore or vgexport and vgimport ?
Deepak Seth
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 08:40 AM
тАО11-01-2000 08:40 AM
Re: when to use vgcfgrestore v/s vgimport
vgexport is for removing vgroup definitions from a host in order to allow a vgimport.
Now you can vgexport the defs of a vg to a file and use the file to vgimport on another host for example.
So you use vgexport/vgimport to reconfigure on healthy systems whereas
vgcfgrestore is used to recover after a disk crash or when you are in trouble...
Now you can vgexport the defs of a vg to a file and use the file to vgimport on another host for example.
So you use vgexport/vgimport to reconfigure on healthy systems whereas
vgcfgrestore is used to recover after a disk crash or when you are in trouble...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 10:38 AM
тАО11-01-2000 10:38 AM
Re: when to use vgcfgrestore v/s vgimport
Hi victor,
so while putting the disk drive to another controller , i just need to the following
vgexport -m mapfile /dev/vg??
shutdown the machine and change the disk to different controller.
vgimport -m mapfile /dev/vg??
so while putting the disk drive to another controller , i just need to the following
vgexport -m mapfile /dev/vg??
shutdown the machine and change the disk to different controller.
vgimport -m mapfile /dev/vg??
Deepak Seth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 01:49 PM
тАО11-01-2000 01:49 PM
Re: when to use vgcfgrestore v/s vgimport
vgcfgrestore v/s vgimport:
Use vgcfgrestore in cases where a disk is replaced, and you need to restore the LVM information to the new disk.
Use vgimport when you need to (quickly and easily) copy over existing LVM information to disks from a map that was previously created with vgexport!! (That's the key, without the map, there is nothing to import!)
Say you wanted to build two identical systems. You can build one, and then use vgexport (in preview mode, with the map option). Transfer the map to the other system and use mkdir, mknod and vgimport.
Voila, two systems, same LVM information.
Use vgcfgrestore in cases where a disk is replaced, and you need to restore the LVM information to the new disk.
Use vgimport when you need to (quickly and easily) copy over existing LVM information to disks from a map that was previously created with vgexport!! (That's the key, without the map, there is nothing to import!)
Say you wanted to build two identical systems. You can build one, and then use vgexport (in preview mode, with the map option). Transfer the map to the other system and use mkdir, mknod and vgimport.
Voila, two systems, same LVM information.
"Downtime is a Crime."
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP