RE: stock kernel 2.4.20 + LVM 1.0.7 + ext3fs => snapshot problem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The solution appears to be to apply the patches in the other order. To
create a kernel capable of making a snapshot of an active ext3 or
reiserfs volume, the drill appears to be to apply the VFS-lock patch for
the appropriate kernel version to the un-patched kernel tree, and only
THEN to apply the generated LVM patch.

This makes me wonder if it would be possible to add this to the
configure script, so that I could say

	configure --with-VFS-lock

I envisage makeing --with-ext3 and --with-reiserfs aliases for the
above. Just an idea.

> -----Original Message-----
> From: C R Ritson 
> Sent: 09 May 2003 16:51
> To: 'linux-lvm@sistina.com'
> Subject: stock kernel 2.4.20 + LVM 1.0.7 + ext3fs => snapshot problem?
> 
> ... cannot make a snapshot of a mounted 
> ext3 filesystem. When I attempt to mount the snapshot 
> (readonly) I get:-
> 
> 	mount: wrong fs type, bad option, bad superblock on 
> /dev/vga/addon.backup,
>       or too many mounted file systems
> 
> ... applying this patch 
> separately after the generated LVM patch breaks the kernel, 
> leaving me with unresolved reverences to fsync_dev_lockfs and 
> unlockfs.

Chris Ritson (Computing Officer)

Rm 618, Claremont Bridge,       EMAIL: C.R.Ritson@newcastle.ac.uk
School of Computing Science,    PHONE: +44 191 222 8175
University of Newcastle,        FAX  : +44 191 222 8232
Newcastle on Tyne, UK NE1 7RU.  http://www.cs.ncl.ac.uk/~c.r.ritson/

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux