Operating System - HP-UX
1834336 Members
2021 Online
110066 Solutions
New Discussion

Re: unable to modify vg00 configuration

 
SOLVED
Go to solution
itai weisman
Super Advisor

unable to modify vg00 configuration

hi all
when attempting to extend/reduce vg00 the following message appears, indicating that kernel configuration and lvmtab are not synchornized.
any ideas what can cause that?
how can I synchronize between kernel & lvmtab?

Volume group "/dev/vg00" has been successfully reduced.
Warning: Can not determine all Physical Volumes on which mirrored copies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes.
Warning: Can not determine all Physical Volumes on which mirrored copies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes.
Warning: Can not determine all Physical Volumes on which mirrored copies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes.
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates
2 disks for "/dev/vg00"; /etc/lvmtab h
as 1 disks.
Cannot proceed with backup.
4 REPLIES 4
Muthukumar_5
Honored Contributor

Re: unable to modify vg00 configuration

Refer that.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851969

hth.
Easy to suggest when don't know about the problem!
Adisuria Wangsadinata_1
Honored Contributor
Solution

Re: unable to modify vg00 configuration

Hi,

Check on /etc/lvmtab whether the disk has been removed or not. If not removed try to use '-f' option on vgreduce :

# vgreduce -f /dev/vg00

If the problem still there, try to move /etc/lvmtab to other directory and run 'vgscan' :

# mv /etc/lvmtab /tmp/lvmtab.ORI
# vgscan -a -v

For more details, check the man page of vgscan :

# man vgscan

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Arunvijai_4
Honored Contributor

Re: unable to modify vg00 configuration

# strings /etc/lvmtab. Is everything correct ?
Probably it could have been edited by someone.
Also, # ioscan -fnC disk

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
itai weisman
Super Advisor

Re: unable to modify vg00 configuration

thanks everyone, after removing old device from 'lvdisplay' output by lvreduce -m 0 -k /dev/vg00/lvolXX, vgreduce -f /dev/vg00, and recreating lvmtab with vgscan, this problem was solved.
thanks!