Operating System - Linux
1752788 Members
5784 Online
108789 Solutions
New Discussion юеВ

Re: SLES10 LVM vgchange -c y

 
SOLVED
Go to solution
Court Campbell
Honored Contributor

Re: SLES10 LVM vgchange -c y

And lastly here is some good documentation on evms2:

http://evms.sourceforge.net/user_guide/
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Peter J. Kraus
Occasional Advisor

Re: SLES10 LVM vgchange -c y

Court,
even it maybe not a solid answer but at least it's a very useful one. We have heard about evms but never dived into it. But with this documentation it seems to be worth to have a closer look into it. Let's see if it could solve our problem.
Colin Topliss
Esteemed Contributor

Re: SLES10 LVM vgchange -c y

For anyone finding this thread...

It appears to be broken under SLES. The only two ways we've found so far are to blow the disk away and start again (destructive), or vgcfgrestore the appropriate config:

tdbsl003:/etc/lvm/archive # vgcfgrestore -l vg_testdb02a

File: /etc/lvm/archive/vg_testdb02a_00000.vg
VG name: vg_testdb02a
Description: Created *before* executing 'vgs'
Backup Time: Tue Jun 16 20:54:18 2009


File: /etc/lvm/archive/vg_testdb02a_00001.vg
VG name: vg_testdb02a
Description: Created *before* executing 'vgexport vg_testdb02a'
Backup Time: Tue Jun 16 21:10:24 2009


File: /etc/lvm/archive/vg_testdb02a_00002.vg
VG name: vg_testdb02a
Description: Created *before* executing 'vgimport /dev/vg_testdb02a'
Backup Time: Tue Jun 16 21:52:28 2009


File: /etc/lvm/archive/vg_testdb02a_00003.vg
VG name: vg_testdb02a
Description: Created *before* executing 'vgdisplay'
Backup Time: Wed Jun 17 09:18:21 2009


File: /etc/lvm/archive/vg_testdb02a_00004.vg
VG name: vg_testdb02a
Description: Created *before* executing 'vgdisplay'
Backup Time: Wed Jun 17 09:18:21 2009


File: /etc/lvm/archive/vg_testdb02a_00005.vg
VG name: vg_testdb02a
Description: Created *before* executing 'vgchange -cy vg_testdb02a'
Backup Time: Wed Jun 17 09:20:11 2009


File: /etc/lvm/backup/vg_testdb02a
VG name: vg_testdb02a
Description: Created *after* executing 'vgchange -cy vg_testdb02a'
Backup Time: Wed Jun 17 09:20:11 2009

tdbsl003:/etc/lvm/archive # vgcfgrestore -f /etc/lvm/archive/vg_testdb02a_00005.vg vg_testdb02a