Operating System - HP-UX
1834208 Members
2545 Online
110066 Solutions
New Discussion

how to rebuild /etc/lvmtab

 
SOLVED
Go to solution
Joe Profaizer
Super Advisor

how to rebuild /etc/lvmtab

Do I just move /etc/lvmtab to a different file, then run vgscan?

Thanks for you help.

..Joe
6 REPLIES 6
Helen French
Honored Contributor
Solution

Re: how to rebuild /etc/lvmtab

Hi Joe:

Try this:

# mv /etc/lvmtab lvmtab.old
# vgscan -v

HTH,
Shiju
Life is a promise, fulfill it!
Uday_S_Ankolekar
Honored Contributor

Re: how to rebuild /etc/lvmtab

Hello,

From the man pages..
If the /etc/lvmtab file exists, the information
contained in the file is used to assist in rebuilding the file, but
the existing file is updated with the new corrected configuration.

-USA
Good Luck..
Joe Profaizer
Super Advisor

Re: how to rebuild /etc/lvmtab

I get the following error message:
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg00
".
Physical Volume "/dev/dsk/c0t2d0" contains no LVM information

/dev/dsk/c0t2d0 is my dvd.

#strings /etc/lvmtab displays:

/dev/vg00
i9-u
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0

Is everything OK?

..Joe
Uday_S_Ankolekar
Honored Contributor

Re: how to rebuild /etc/lvmtab


Yes.. Don't worry about the character on top of strings output.

-USA..
Good Luck..
MANOJ SRIVASTAVA
Honored Contributor

Re: how to rebuild /etc/lvmtab

Hi Joe


Yes everything is fine. mv /etc/lvmttab to .old file and do a vgscan -v -p and you are good to go.


Manoj Srivastava
Helen French
Honored Contributor

Re: how to rebuild /etc/lvmtab

Hi Joe (again):

1) The vgscan output is normal with DVD and CDROM devices. Just ignore it.
2) The strings command of lvmtab also is normal. The reason is that the lvmtab is a binary file and the strings command is looking for ASCII strings in that ! If you don't have problems while booting or activating VG, then you can ignore it.

HTH,
Shiju
Life is a promise, fulfill it!