Operating System - HP-UX
1834639 Members
2564 Online
110069 Solutions
New Discussion

Re: vg00 configuration lost in /etc/lvmtab

 
SOLVED
Go to solution
stephen peng
Valued Contributor

vg00 configuration lost in /etc/lvmtab

dear all,
i could not query vg00's configuration using " strings /etc/lvmtab", there was no configuration in /etc/lvmtab, what could happen to vg00? how can i retrieve vg00's configuration? in this right moment, could i reboot the server? vgscan did not work. the server is a HP SD32000, and two of the four system disks might failed, but is seemed that they located in the same DS2300, so i don't think it was the disk hardware problem that produced that problem.
look forward to your reply, thanks a lot!

stephen
8 REPLIES 8
Pete Randall
Outstanding Contributor
Solution

Re: vg00 configuration lost in /etc/lvmtab

mv /etc/lvmtab /etc/lvmtab.old
vgscan -a


Pete

Pete
IT_2007
Honored Contributor

Re: vg00 configuration lost in /etc/lvmtab

move /etc/lvmtab to /tmp/lvmtab.orig and run vgscan -av to recreate /etc/lvmtab.

rebooting server won't fix the problem. You need to identify whehter it is hardware problem or some thing else.

do you still see output of lvlnboot -v vg00 ? what it shows?
stephen peng
Valued Contributor

Re: vg00 configuration lost in /etc/lvmtab

Pete & IT 2007,
thank you for your reply.
i could not operate the system right now cause it is now near chinese national day, all the systems are not permit to operate.
from your reply, is it nessesary to move the current /etc/lvmtab to a backup file, to vgscan to recreate the /etc/lvmtab file?
there must be some hardware problem with the server, but i don't know whether it relates to this vg00 issue. furthermore, what may cause this configuration lost in the /etc/lvmtab?
thanks again.
DCE
Honored Contributor

Re: vg00 configuration lost in /etc/lvmtab


Stephen

vgscan -a does not modify an existing lvmtab file, it will only create a new one. That is why you move the original lvmtab file to new name.

potential causes - bad disk, or corrupted vg/lv.
IT_2007
Honored Contributor

Re: vg00 configuration lost in /etc/lvmtab

could not operate the system right now cause it is now near chinese national day, all the systems are not permit to operate.
from your reply, is it nessesary to move the current /etc/lvmtab to a backup file, to vgscan to recreate the /etc/lvmtab file?
there must be some hardware problem with the server, but i don't know whether it relates to this vg00 issue. furthermore, what may cause this configuration lost in the /etc/lvmtab?
thanks again.
==========================

There are several reasons to justify about corruption.. somebody did something or messed it up. Still it is not a problem to move it and rescan it.
stephen peng
Valued Contributor

Re: vg00 configuration lost in /etc/lvmtab

dear all,
thank you for your concern,
one last problem, would the corruption of the /etc/lvmtab make the server unbootable?
Yang Qin_1
Honored Contributor

Re: vg00 configuration lost in /etc/lvmtab

Hi, Stephen,

You can run "vgscan -p -a -v" it will not create a new lvmtab but it will report to you all your devices on the system.

BTW, to create a new lvmtab by vgscan will not impact your system.

For more information you may run a " man vgscan".

Regards,
Yang
IT_2007
Honored Contributor

Re: vg00 configuration lost in /etc/lvmtab

one last problem, would the corruption of the /etc/lvmtab make the server unbootable?
========================

No. If lvmtab was already corrupted and you rebooted system, it will try to fix it while booting if at all there is no hardware failures otherwise it won't bootup.