[linux-lvm] ERROR -157 reading data

Fernando Dammous ferdam at internetcom.com.br
Wed Sep 22 00:54:19 UTC 1999


Hi all,

I have created my vg00 (/dev/hdb2) with 1 LV (lv00). 
After mounting it, I can work fine with lv00. 
But, on next boot, vgscan removes /etc/lvmtab and /etc/lvmtab.d and it isn't able to create a new set of these files.
<SNIP>
vgscan -- reading data of volume group "vg00" from physical volume(s)
vgscan -- ERROR -157: can't get data of volume group "vg00" from physical volume(s)
vgscan -- ERROR -157: creating "/etc/lvmtab" and "/etc/lvmtab.d"

With others LVM tools also give almost same msgs :

vgcfgbackup -- reading volume group data for "vg00" from disk(s)I 
vgcfgbackup -- ERROR -157: reading VGDA of "vg00"
vgcfgbackup -- ERROR -313: backing up volume group "vg00"

vgck -- reading volume group data for "vg00" from physical volume(s)
vgck -- ERROR -157: reading data of volume group "vg00" from physical volume(s)
vgck -- please DON'T run vgscan prior to vgcfgrestore

My disk is a IDE 3.2GB with 2 partitions :
# fdisk -l /dev/hdb

Disk /dev/hdb: 128 heads, 63 sectors, 785 cylinders
Units = cylinders of 8064 * 512 bytes

    Device   Boot    Start        End        Blocks         Id    System
/dev/hdb1                   1            5         20128+      83    Linux native
/dev/hdb2                   6         785     3144960        83    Unknown

The LVM program is built into my kernel (2.0.36) not as a module.
Am I missing something in my configuration?

Please help me!

Thanks in advance,

Fernando Dammous


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/19990921/b3e3b2e4/attachment.htm>


More information about the linux-lvm mailing list