- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgcfgrestore
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
тАО12-20-2009 11:25 PM
тАО12-20-2009 11:25 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2009 11:46 PM
тАО12-20-2009 11:46 PM
Solution$man vgcfgrestore
$man vgcfgbackup
How ever ,
1. vgcfgbackup take the configuration from the lvm header of the disk and save to a file default location /etc/lvmconf/vgxx.conf. This command runs automatically ( if you are not desabling it by option) when ever there is a vg config change.
using vgcfgrestore you can restore the same to disks in case of header corruption/ disk replacement .
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2009 11:53 PM
тАО12-20-2009 11:53 PM
Re: vgcfgrestore
if you make some LVM/VG changes it will be writen to the /etc/lvmconf/*, on this location you will find the backup of the vg's, for this backup will be vgcfgbackup used, and vgcfgrestore read if from this location.
man vgcfg[backup/restore]
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2009 12:13 AM
тАО12-21-2009 12:13 AM
Re: vgcfgrestore
vgcfgrestore command display or restore LVM VG configuration from backup file.
The first one is generally used when any changes or maintenance occurred in LVM.
The second one is used when any thing wrong happened while doing any changes in LVM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2009 12:24 AM
тАО12-21-2009 12:24 AM
Re: vgcfgrestore
Restore the LVM configuration information for the physical volume
/dev/rdsk/c0t7d0 that was saved in the default file /etc/lvmconf/vxx.conf
vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t7d0
vgcfgbackup - create or update LVM volume group configuration backup file
By default, vgcfgbackup runs automatically each time an LVM command changes the LVM configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2009 08:46 AM
тАО12-21-2009 08:46 AM
Re: vgcfgrestore
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2009 05:14 AM
тАО12-22-2009 05:14 AM
Re: vgcfgrestore
on p.57 you can see how it is used for replacing a failed disk:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2010 10:05 PM
тАО01-05-2010 10:05 PM
Re: vgcfgrestore
To whcih location it is backing up?
Is it backup the data also?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2010 10:10 PM
тАО01-05-2010 10:10 PM
Re: vgcfgrestore
It's a configuration backup only!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2010 10:12 PM
тАО01-05-2010 10:12 PM
Re: vgcfgrestore
To whcih location it is backing up?
Is it a automatic one or we have to do manually?