Operating System - HP-UX
1753773 Members
5204 Online
108799 Solutions
New Discussion юеВ

Re: vgcfgrestore with empty lvmtab

 
Gregory Thomas
Frequent Advisor

vgcfgrestore with empty lvmtab

I lost my lvmtab entries (long story).
When I try to vgcfgrestore it says the /dev/dsk/xxxxx entry is not in the lvmtab (which is true). I did a vgscan -a but it didn't populate the lvmtab. The lvmtab.conf files still exist. The ioscan can still see the disks. What else can I try?
Thanks...Jim
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: vgcfgrestore with empty lvmtab

The only thing that I can suggest is mv /etc/lvmtab /etc/lvmtab.save before running vgscan. That should at least populate lvmtab.
If it ain't broke, I can fix that.
Patrick Wallek
Honored Contributor

Re: vgcfgrestore with empty lvmtab

To recreate your /etc/lvmtab:

# mv /etc/lvmtab /etc/lvmtab.bad

# vgscan -av

You should now have /etc/lvmtab back as it should be.
Sunil Sharma_1
Honored Contributor

Re: vgcfgrestore with empty lvmtab

Hi,

Don't worry be happy ...
use vgscan -av and you will get your lvmtab back...

vgcfgrestor is usefull to create lvm structure on disk if you replace with new one.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***