Operating System - HP-UX
1836230 Members
1990 Online
110096 Solutions
New Discussion

Current Physical Volume, Active Physical volume out of sync

 
Fred Myers
Advisor

Current Physical Volume, Active Physical volume out of sync

I am having a problem getting vgcfgbackup /dev/vg02 to run successfully, I keep getting the error "/etc/lvmtab is out of date wiht the running kernel:Kernel indicates 24 disks for "/dev/vg02"; /etc/lvmtab has 20 disks.
Cannot proceed with backup."

The problem is the Kernel is wrong.

I have already tried to remove /etc/lvmtab (it is now correct don't need to vgscan -v anymore) but the kernel is wrong.

I have also tried to vgreduce -f /dev/vg02 it is not removing the 4 physical disks that need to be removed. Other than a reboot how can I either

1.) figure out what the 4 disks captured in the kernel are.
2.) get these 4 disks out of the volume group kernel wise.

I have already done a ll -R /dev/vg02 | more and looked for phanto logical volumes I can not find any.

Thanks

Fred
2 REPLIES 2
Jeff Schussele
Honored Contributor

Re: Current Physical Volume, Active Physical volume out of sync

 
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Martin Johnson
Honored Contributor

Re: Current Physical Volume, Active Physical volume out of sync

Have you tried:

vgexport -m /tmp/mapfile /dev/vg02
vgimport -m /tmp/mapfile /dev/vg02 disk1 ... diskn

do man on vgexport/vgimport for mor info.

HTH
Marty