All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] I/O error: dev 08:11, sector 0
@ 2001-07-19  3:17 Allan M. Wind
  2001-07-19  9:13 ` Heinz J. Mauelshagen
  0 siblings, 1 reply; 11+ messages in thread
From: Allan M. Wind @ 2001-07-19  3:17 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1968 bytes --]

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@mediaone.net
P.O. Box 2022			finger: awind@digit-safe.dyndns.org (GPG/PGP)
Woburn, MA 01888-0022
USA

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-07-23 14:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-19  3:17 [linux-lvm] I/O error: dev 08:11, sector 0 Allan M. Wind
2001-07-19  9:13 ` Heinz J. Mauelshagen
2001-07-19 12:48   ` Patrick Caulfield
2001-07-19 14:03     ` Heinz J. Mauelshagen
2001-07-19 13:10   ` Allan M. Wind
2001-07-19 14:06     ` Heinz J. Mauelshagen
2001-07-19 14:52       ` Allan M. Wind
2001-07-21  1:13         ` Allan M. Wind
2001-07-21 17:44           ` Allan M. Wind
2001-07-23  8:02             ` Heinz J. Mauelshagen
2001-07-23 14:31               ` Allan M. Wind

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.