Message-ID: <001201bf0495$017ef940$030116ac@fd1> From: "Fernando Dammous" Subject: [linux-lvm] ERROR -157 reading data Date: Tue, 21 Sep 1999 21:54:19 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000F_01BF047B.DB1D9220" Sender: owner-linux-lvm Errors-To: owner-linux-lvm List-Id: To: Linux LVM msede This is a multi-part message in MIME format. ------=_NextPart_000_000F_01BF047B.DB1D9220 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I have created my vg00 (/dev/hdb2) with 1 LV (lv00).=20 After mounting it, I can work fine with lv00.=20 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. 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=20 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 =3D 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 ------=_NextPart_000_000F_01BF047B.DB1D9220 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
I have created my vg00 (/dev/hdb2) with 1 LV = (lv00).=20
After mounting it, I can work fine with lv00.
But, on next boot, = vgscan=20 removes /etc/lvmtab and /etc/lvmtab.d and it isn't able to create a new = set of=20 these files.
<SNIP>
vgscan -- reading data of volume group = "vg00"=20 from physical volume(s)
vgscan -- ERROR -157: can't get data of = volume group=20 "vg00" from physical volume(s)
vgscan -- ERROR -157: creating = "/etc/lvmtab"=20 and "/etc/lvmtab.d"
 
With others LVM tools also give almost same = msgs=20 :

vgcfgbackup -- reading volume group data for = "vg00" from=20 disk(s)I
vgcfgbackup -- ERROR -157: reading VGDA of = "vg00"
vgcfgbackup --=20 ERROR -313: backing up volume group "vg00"
 
vgck -- reading volume group data for "vg00" from = physical=20 volume(s)
vgck -- ERROR -157: reading data of volume group "vg00" = from=20 physical volume(s)
vgck -- please DON'T run vgscan prior to=20 vgcfgrestore
My disk is a IDE 3.2GB with 2 partitions = :
# fdisk -l /dev/hdb
 
Disk /dev/hdb: 128 heads, 63 sectors, 785=20 cylinders
Units =3D cylinders of 8064 * 512 bytes
 
    Device   = Boot   =20 Start       =20 End       =20 Blocks         = Id   =20 System
/dev/hdb1         &= nbsp;         1  &= nbsp;=20         5     =20    20128+      83  = ; =20 Linux native
/dev/hdb2         &= nbsp;         6  &= nbsp;     =20 785     3144960     &nb= sp;  83   =20 Unknown
 
The LVM program is built into my kernel (2.0.36) not = as a=20 module.
Am I missing something in my = configuration?
 
Please help me!
 
Thanks in advance,
 
Fernando Dammous
 
 
------=_NextPart_000_000F_01BF047B.DB1D9220--