[linux-lvm] I/O error: dev 08:11, sector 0

Allan M. Wind allanwind at mediaone.net
Thu Jul 19 03:17:29 UTC 2001


Hi,

Installed linux 2.4.6 + lvm 0.9.1beta7 with the kernel piece build
as a module (patched lvm and the kernel, got the user tools from
the .deb package of the right version).

# pvcreate /dev/sdb
# vgcreate -s16 vg1 /dev/scsi/host0/bus0/target9/lun0/disc
  (apparently, devfsd confuses lvcreate)
# lvcreate -L5g -nusr vg1
# mkfs -m0 /dev/vg1/usr
# lvcreate -L5g -nvar vg1
# mkfs -m0 /dev/vg1/var
# lvcreate -L24.03g -nhome vg1
# mkfs -m0 /dev/vg1/home

Updated /etc/fstab and:

# mount -a

Migrate data over, rebooted the box which does a:

# vgchange -a n

grub failed on me as the staging files were on lvm lv's
(that is probably a bug as one should be able to boot without
/usr), so booted off floppy.

Found that I had overlooked the check in /etc/init.d/lvm which
fails unless lvm was compiled in (yes, it was docmented but it
should probably be a tad smarter ;-) ).

# modprobe lvm-mod

(I might have had to do a vgscan & vgchange -a y)

# mount -a

so here is where I was looking for help... I get an I/O error
but things come up:

# vgck -v
vgck -- locking logical volume manager
vgck -- finding all volume group(s)
vgck -- checking volume group name "vg1"
vgck -- checking existence of volume group "vg1"
vgck -- reading volume group data for "vg1" from lvmtab
vgck -- checking volume group consistency  of "vg1" in lvmtab
vgck -- VGDA of "vg1" in lvmtab is consistent
vgck -- reading volume group data for "vg1" from physical volume(s)
 I/O error: dev 08:11, sector 0
vgck -- checking volume group consistency  of "vg1" on physical volume
vgck -- VGDA of "vg1" on physical volume is consistent
vgck -- unlocking logical volume manager

Is this a problem and how do I fix it?  This problem did not exist
before I rebooted.

Thanks in advance,


/Allan
-- 
Allan M. Wind			email: allanwind at mediaone.net
P.O. Box 2022			finger: awind at digit-safe.dyndns.org (GPG/PGP)
Woburn, MA 01888-0022
USA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20010718/fa14449e/attachment.sig>


More information about the linux-lvm mailing list