lkml.org 
[lkml]   [2003]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: LVM Snapshots


On Fri, 17 Oct 2003, Christoph Pleger wrote:

> ello,
>
> On Fri, 17 Oct 2003 09:12:30 -0200 (BRST)
> Marcelo Tosatti <marcelo.tosatti@cyclades.com> wrote:
>
>
> > > > I am using a 2.4.22 kernel from www.kernel.org together with an
> > > > XFS patch from SGI. I want to use LVM for creating snapshots for
> > > > backups, but I found out that I cannot mount the snapshots of
> > > > journalling filesystems (EXT3, XFS, Reiser). Only JFS snapshots
> > > > can be mounted. My research on internet gave the result that a
> > > > kernel-patch must be used to solve that problem, but I could not
> > > > find such a patch for Linux 2.4.22, so where can I get it?
> > >
> > > Marcelo decided not to apply that needed patch. Here it is for you
> > > to play with :) ... It'll apply with offsets to 2.4.23-pre7.
> >
> > Because the patch touches generic fs code.
> >
> > Dont use LVM with XFS for now.
>
> I have used them together. The only thing that made problems at first
> after applying the LVM-patch was that I did not know that the special
> option "nouuid" is needed when mounting an XFS-Snapshot. But afterwards
> I had no problem so far.
>
> So why do you think that I should not use XFS on a logical volume?

Because the filesystem code lacks locking somewhere (thats what the
patches adds).

It seems its not safe to create snapshots of journalled fs'es without this
patch.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.025 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site