1833353 Members
3079 Online
110051 Solutions
New Discussion

lvmtab is out of date

 
santy81
New Member

lvmtab is out of date

whenever i'm giving vgcfgbackup i'm getting an error which is as follows
#vgcfgbackup
vgcfgbackup:/etc/lvmtab is out of date with the running kernel. Kernel indicates 3 disks for /dev/vg02 ; /etc/lvmtab has 2 disks.

Actually in vg02 i'm having only 2 disks, but kernel is showing 3 disks .
Both the disks of vg02 are in good condition and mirrored . No disk is missing from this vol group.

i already tried by using vgexport and vgimport but still problem is persisting .
vgscan is also of no use.

Pls tell me how to proceed further.
4 REPLIES 4
Luk Vandenbussche
Honored Contributor

Re: lvmtab is out of date

Execute the following

mv /etc/lvmtab /tmp
vgscan

Check lvmtab with
strings /etc/lvmtab
santy81
New Member

Re: lvmtab is out of date

Dear Luk,
As i already informed there is no problem in lvmtab. I am having two disk in this vg02 and lvmtab is showing two disks only but it is kernel which is telling 3 disks are avilable.
Luk Vandenbussche
Honored Contributor

Re: lvmtab is out of date

Execute my commands to update the information between the kernel and lvmtab.
Basheer_2
Trusted Contributor

Re: lvmtab is out of date

Use Luk's Steps