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

[linux-lvm] RE: stock kernel 2.4.20 + LVM 1.0.7 + ext3fs => snapshot problem?



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/



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