1832251 Members
2709 Online
110041 Solutions
New Discussion

error about VG

 
rayche
Frequent Advisor

error about VG

vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates as 6 disks.
Now In my vg, current PV is 6, but active PV is 5.

How to check this problem ?

Thanks.
4 REPLIES 4
Raj D.
Honored Contributor

Re: error about VG

Rayche,

check with ,
# vgdisplay -v vg## | grep "PV Name"

and compare with ,
# strings /etc/lvmtab

And also check # ioscan -fnC disk for NO_HW , hope then you can locate the faulty/missing disk,


hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
yulianto piyut
Valued Contributor

Re: error about VG

hi,

1. check in lvmtab
# strings /etc/lvmtab
2. check VG configurations
# vgdisplay -v /dev/vg_name
is it any PV that unavailable or not
3. re-scan disk
# ioscan -nfCdisk
all disks are CLAIMED or NO_HW.check status of path disks that used by VG.
wip
Frequent Advisor

Re: error about VG

Some confusion out there in the kernel and disks actually configured.A possible screwup.

Anyway try this up.

1. Take a copy of lvmtab to lvmtab.org (Play safe)

2.do an "ioscan" "insf -e" and "vgscan -a" ,you should find a new lvmtab file created.And see if problem resolved,if not revert the lvmtab file.
Torsten.
Acclaimed Contributor

Re: error about VG

Did you make changes like replacing a disk?

Sometimes this happens after an improper replacement procedure.

Please post a "strings /etc/lvmtab" and a "vgdisplay -v ".

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!