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

[linux-lvm] Re: Problem getting snapshots mounted for ext3 & resierfs on2.4.17-xfs+lvm-1.0.1

Hash: SHA1

Well for the seasoned regulars on the list you may already know about this 
but as it turned out I didn't.  Therefore, I'm posting this just so that it 
may help another LVM newbie.

The problem of the kernel dying when the snapshot overflowed was fixed by 
going to kernel 2.4.17-xfs and using the self generating 
lvm-1.0.1-2.4.16.patch and the VFS-lock patch.

The other problem of ext3 and resierfs not being able to mount a snapshot was 
fixed by changing the following line in "linux/drives/md/lvm.c" from:

/* lvm_do_lv_create calls fsync_dev_lockfs()/unlockfs() */


/* lvm_do_lv_create calls fsync_dev_lockfs()/unlockfs() */

More info can be found here:

Hope this helps.

Date: Thu, 27 Dec 2001 12:58:00 +1000
From: Adrian Head <ahead bigpond net au>
To: linux-lvm sistina com, linux-xfs oss sgi com

Hash: SHA1

I'm starting to play around with LVM with the goal of having XFS, ext3,
reiserfs and LVM coexist nicely together.

Using the latest XFS CVS + the vfs-lock patch everything seemed fine except
if a snapshot ever got full it would oops the machine.  Because the LVM
version in the XFS CVS is 1.0.1-rc4(ish) I decided to generate the
appropriate 1.0.1 patch and recompile to see if this fixed the problem.

The order of patches was:
Standard 2.4.17-xfs CVS tree
+ VFS-lock patch
+ lvm-1.0.1 self generated patch
There were no rejects

The problem I have now is that I cannot mount the snapshot - I get the
standard "wrong fs type, bad option, bad superblock" etc..... error.  Has
anyone with the XFS CVS kernel ever come up against this before?  This mount
error occurs for ext3, reiserfs filesystems.  Snapshots on XFS volumes work
fine as long as they are done with xfs_freeze.

- -- 
Adrian Head

(Public Key available on request.)
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org


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