Operating System - HP-UX
1753786 Members
7400 Online
108799 Solutions
New Discussion юеВ

Re: vgcfgbackup fails with Kernel/lvmtb mismtach

 
Q4you
Regular Advisor

vgcfgbackup fails with Kernel/lvmtb mismtach

Is there any safer way with keeping vgXX active (other than import/export of the vgXX) to fix this error ?

# vgcfgbackup /dev/vgXX
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates
9 disks for "/dev/vgXX"; /etc/lvmtab has 8 disks.
Cannot proceed with backup.

TIA,

-Q
3 REPLIES 3
Michael Tully
Honored Contributor

Re: vgcfgbackup fails with Kernel/lvmtb mismtach

before anything try and run a:

# vgscan -a -v

Failing that see this posting.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=198627
Anyone for a Mutiny ?
Q4you
Regular Advisor

Re: vgcfgbackup fails with Kernel/lvmtb mismtach

Thanks for your reply, Mike.

I thought about vgscan command but cant use it as it will rebuild lvmtab and will cause the loss of load balancing ( we configure VG in such a way we distribute PV across multiple adapters). I was looking something like adb utility to fix the kernel. anyway, vgexport/import looks a better/safer choice :)


Jeff Schussele
Honored Contributor

Re: vgcfgbackup fails with Kernel/lvmtb mismtach

Hi Q4u,

Whoa - be careful there. Are you sure lvmtab is correct & the kernel's not?
I'd want to be 100% sure before I start altering the kernel. You could panic the box if you typo anything.
Not sure how big your lvmtab is, but I think I'd rather write a script to do all the vgreduce/vgextends ahead of time & then do the mv lvmtab;vgscan -av & quickly edit the script & run it afterwards.

My 2 cents,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!