- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgcfgrestore need a vgXX.conf ?
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
Forums
Discussions
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
05-24-2008 06:36 AM
05-24-2008 06:36 AM
i have a vg named VG01,and it has two disk PV1,PV2. pv1 and pv2 are mirrored. now pv2 has failed and i must replace it.
i have found that there is no vg01.conf file on my system .
now i want to ask,in this situation, i can run
vgcfgrestore -n vg01 pv2(new disk) successfully?
thank you!points will be given
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2008 06:43 AM
05-24-2008 06:43 AM
Re: vgcfgrestore need a vgXX.conf ?
Dear Leelan
what do u mean by vgcfgrestore?
vgcfgrestore is a command to restore once backed up the volume group by using vgcfgbackup. ok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2008 11:38 AM
05-24-2008 11:38 AM
Re: vgcfgrestore need a vgXX.conf ?
No ,You should have a valid configuration backup for restoring it to the new disk.
The default location will be /etc/lvmconf/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2008 06:29 PM
05-24-2008 06:29 PM
Re: vgcfgrestore need a vgXX.conf ?
there may be some modifications to VG01,and someone forgot to use vgcfgbackup to make a latest vg01.conf file which can not be used by vgcfgrestore, is it right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2008 10:41 PM
05-24-2008 10:41 PM
SolutionCan you check the timestamps on /etc/lvmtab and that conf file, however it is least likely they both are same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2008 11:21 PM
05-24-2008 11:21 PM
Re: vgcfgrestore need a vgXX.conf ?
While we executing most of the lvm command ,system automatically take the back up of vg configuration after doing the change (eg lvcreate,lvextend)
so it wouldn't be a bad idea to restore the configuration from /etc/lvmconf/
You can compare the configuration file by running (only disk details)
Vgcfgrestore -n
if you are not confident ,reduce the mirror copies from the faulty pv ,reduce the vg ,and add the new pv to vg ,extend the mirror copies (refer this link http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 12:46 AM
05-25-2008 12:46 AM