[linux-lvm] LVM 1.0.7, kernel 2.4.21 and snapshots over ext3 filesystem

Alberto Picon Couselo albertopicon at asociacionser.org
Tue Jul 1 12:09:03 UTC 2003

Hello everybody. I'm having a lot problems trying to enable snapshots on an
EXT3 Logical Volume. I was using LVM 1.0.4 and I decided to upgrade to LVM
1.0.7 and Linux kernel 2.4.21 on a Debian 3.0 to fix it. I have downloaded
the following sources:

Sistina WebPage LVM Sources: lvm 1.0.7
LinuxKernel Kernel 2.4.21 sources from http://www.kernel.org

After executing ./configure script of LVM, I built VFS patch for 2.4.21,
lvm-1.0.7-2.4.21.patch, and I patched the kernel (2.4.21 at /usr/src/linux)
using "patch -p1 < /usr/src/LVM/1.0.7/PATCHES/lvm-1.0.7-2.4.21.patch". I
compiled and installed LVM package using "make" and "make install". After
that, I enabled LVM as a module and FileSystems->Vistual Memory Filesystem
option in the kernel using "make menuconfig". I compiled the kernel and
after reboor LVM seems to work correctly.

However, when I create a snapshot volume:

$:/usr/src/linux# lvcreate -L500M -s -n spoolbackup /dev/storage/spool
lvcreate -- WARNING: the snapshot will be automatically disabled once it
gets full
lvcreate -- INFO: using default snapshot chunk size of 64 KB for
lvcreate -- doing automatic backup of "storage"
lvcreate -- logical volume "/dev/storage/spoolbackup" successfully created

And I try to mount it:

$:/usr/src/linux# mount -t ext3 -r /dev/storage/spoolbackup /mnt/temp/
mount: wrong fs type, bad option, bad superblock on
       or too many mounted file systems

What's happenning?. I have upgraded LVM to 1.0.7, compiled VFS-lock kernel
patch for LVM using LVM native utility, compiled the kernel, and everything
seems to work fine. However, snapshots do not mount correctly.   

Please, please, help me,
Thanks in advance,
Alberto Picon

Alberto Picón Couselo
Departamento Informática y Telecomunicaciones
Asociación SER (Ser, Estar, Responder)
Teléfono: (91)554.36.37 - Móvil: 615.22.77.55 - FAX: (91)534.27.59
Email: albertopicon at asociacionser.org

More information about the linux-lvm mailing list