[linux-lvm] Oops in 2.4.0 (@ LVM)

Andreas Dilger adilger at turbolinux.com
Thu Jan 11 03:20:47 UTC 2001


Gustavo Zacarias writes:
> I was just trying LVM's vgextend, maybe i'm missing something??
> LVM works as long as i don't try to extend the VG.
> I can do testing/patching without trouble here...

There is a patch to the LVM kernel code which should help:
ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/patches/v2.4/2.4.0ac4/lvm-fix-2

You should also get the LVM user tools from CVS (with TAG LVM_0-9-patches)
to solve this problem.  There will hopefully be a new LVM release soon.

> # pvcreate /dev/hdb1
> pvcreate -- physical volume "/dev/hdb1" successfully created
> 
> # pvcreate /dev/hdb2
> pvcreate -- physical volume "/dev/hdb2" successfully created
> 
> # pvcreate /dev/hdb3
> pvcreate -- physical volume "/dev/hdb3" successfully created

Actually, unless you are simply doing this for testing, it is best to
have only 1 partition for the whole disk.  It wastes less space.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert



More information about the linux-lvm mailing list