1834137 Members
2221 Online
110064 Solutions
New Discussion

Problem with vgcfgbackup

 
SOLVED
Go to solution
Eduardo Ayala Cortés
Occasional Advisor

Problem with vgcfgbackup

Hi Friends,
I have a problem when I want backup volume group configuration, I typed the follow command:

vgcfgbackup vgname

vgcfgbackup: Invalid LVMREC on Physical Volume /dev/rdsk/c28t2d0

Thanks.
4 REPLIES 4
Uday_S_Ankolekar
Honored Contributor

Re: Problem with vgcfgbackup

You must be a having a disk in there that does not have header informamation or a disk with bad header in that volumegroup, or a disk have been replaced.

Try pvcreate on that disk by pvcreate -f

-USA..
Good Luck..
Patrick Wallek
Honored Contributor
Solution

Re: Problem with vgcfgbackup

Is c28t2d0 supposed to belong to the VG vgname? If it is, then there is a disk problem. You could try doing a 'vgcfgrestore -n vgname /dev/rdsk/c28t2d0' and then see if you can do a 'vgcfgbackup vgname'.
Darrel Louis
Honored Contributor

Re: Problem with vgcfgbackup

Hi,

What does pvdisplay says about the disk?
If you do a "strings /etc/lvmconf/.conf"
which disks does it show?
Does the particular disk belong to ?

Darrel
Eduardo Ayala Cortés
Occasional Advisor

Re: Problem with vgcfgbackup

Thank you very much, Your recomendations solve my problem.