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

Re: [linux-lvm] How do you mount a snapshot?



On Thursday, December 07, 2000 12:37:43 -0800 Tracy R Reed
<treed ultraviolet org> wrote:

> So...can I or can I not use snapshots with reiserfs? The snapshot was
> taken of a currently mounted and functioning (reiserfs module
> loaded...compiled into the kernel, actually) so if I did the snapshot
> correctly there should be a filesystem there. I'm going to wipe it out
> (nothing on it but some test files) and try again with ext2 and see what
> happens. 
> 
> This should work, shouldn't it?
> 

It should work with ext2.

You can make reiserfs snapshots, but you also need to apply the
linux-2.4.0-test10-VFS-lock.patch that comes with the LVM 0.9 code.  This
adds the hooks LVM needs to ask reiserfs to make the FS consistent before
creating the snapshot.

And, you need to edit linux/drivers/block/lvm.c, and uncomment the
LVM_VFS_ENHANCEMENT #define.  This enables the LVM code that uses the hooks.

-chris


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