* LVM Snapshots
@ 2003-10-15 15:40 Christoph Pleger
2003-10-15 15:51 ` Marc-Christian Petersen
0 siblings, 1 reply; 8+ messages in thread
From: Christoph Pleger @ 2003-10-15 15:40 UTC (permalink / raw)
To: linux-kernel
Hello,
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?
Kind Regards
Christoph
PS: I do not know if it is of interest, but my distribution is Debian
woody with LVM 1.0.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LVM Snapshots
2003-10-15 15:40 LVM Snapshots Christoph Pleger
@ 2003-10-15 15:51 ` Marc-Christian Petersen
2003-10-15 16:53 ` Philippe Troin
2003-10-17 11:12 ` Marcelo Tosatti
0 siblings, 2 replies; 8+ messages in thread
From: Marc-Christian Petersen @ 2003-10-15 15:51 UTC (permalink / raw)
To: linux-kernel, Christoph Pleger
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
On Wednesday 15 October 2003 17:40, Christoph Pleger wrote:
Hi Christoph,
> 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.
ciao, Marc
[-- Attachment #2: LVM-v1.0.7-2.4-22-pre9-VFS-lock.patch.bz2 --]
[-- Type: application/x-bzip2, Size: 2344 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LVM Snapshots
2003-10-15 15:51 ` Marc-Christian Petersen
@ 2003-10-15 16:53 ` Philippe Troin
2003-10-16 9:28 ` Marc-Christian Petersen
2003-10-17 11:12 ` Marcelo Tosatti
1 sibling, 1 reply; 8+ messages in thread
From: Philippe Troin @ 2003-10-15 16:53 UTC (permalink / raw)
To: Marc-Christian Petersen; +Cc: linux-kernel, Christoph Pleger
Marc-Christian Petersen <m.c.p@wolk-project.de> writes:
> On Wednesday 15 October 2003 17:40, Christoph Pleger wrote:
>
> Hi Christoph,
>
> > 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.
What was the reason? I cannot find this thread in the archives...
Phil.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LVM Snapshots
2003-10-15 16:53 ` Philippe Troin
@ 2003-10-16 9:28 ` Marc-Christian Petersen
2003-10-16 20:33 ` Philippe Troin
0 siblings, 1 reply; 8+ messages in thread
From: Marc-Christian Petersen @ 2003-10-16 9:28 UTC (permalink / raw)
To: Philippe Troin; +Cc: linux-kernel, Christoph Pleger
On Wednesday 15 October 2003 18:53, Philippe Troin wrote:
Hi Philippe,
> Marc-Christian Petersen <m.c.p@wolk-project.de> writes:
> > On Wednesday 15 October 2003 17:40, Christoph Pleger wrote:
> >
> > Hi Christoph,
> >
> > > 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.
>
> What was the reason? I cannot find this thread in the archives...
it was a private mail. Pasting relevant stuff:
---------------------------------------------------------------------
Re: Patches
Date: 01.09.2003 03:42
From: Marcelo Tosatti <marcelo@parcelfarce.linux.theplanet.co.uk>
To: Marc-Christian Petersen <m.c.p@wolk-project.de>
CC: Marcelo Tosatti <marcelo@conectiva.com.br>, Alan Cox
<alan@lxorguk.ukuu.org.uk>
On Sun, 31 Aug 2003, Marc-Christian Petersen wrote:
> Hi Marcelo,
>
> I just want to know what's wrong with these patches I've sent to you:
>
>
> - [PATCH 2.4.23-pre1] lowlatency fixes -12
Want to add Andreas VM stuff first.
>
> - [PATCH 2.4.23-pre1] LVM 1.0.7 ADDON: Allow snapshots on journaling
> filesystems
LVM has already been updated on 2.4.23-pre. Lets do more changes later on.
---------------------------------------------------------------------
ciao , Marc
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LVM Snapshots
2003-10-16 9:28 ` Marc-Christian Petersen
@ 2003-10-16 20:33 ` Philippe Troin
0 siblings, 0 replies; 8+ messages in thread
From: Philippe Troin @ 2003-10-16 20:33 UTC (permalink / raw)
To: Marc-Christian Petersen; +Cc: linux-kernel, Christoph Pleger
Marc-Christian Petersen <m.c.p@wolk-project.de> writes:
> On Wednesday 15 October 2003 18:53, Philippe Troin wrote:
>
> Hi Philippe,
>
> > Marc-Christian Petersen <m.c.p@wolk-project.de> writes:
> > > On Wednesday 15 October 2003 17:40, Christoph Pleger wrote:
> > >
> > > Hi Christoph,
> > >
> > > > 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.
> >
> > What was the reason? I cannot find this thread in the archives...
>
> it was a private mail. Pasting relevant stuff:
>
> ---------------------------------------------------------------------
> > - [PATCH 2.4.23-pre1] LVM 1.0.7 ADDON: Allow snapshots on journaling
> > filesystems
>
> LVM has already been updated on 2.4.23-pre. Lets do more changes later on.
>
> ---------------------------------------------------------------------
Nothing technical then, Marcelo is just being slow for stability's
sake and easier testing. I guess that will go in somewhere in a later
23-pre or in 24.
Thanks for the info.
Phil.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LVM Snapshots
2003-10-15 15:51 ` Marc-Christian Petersen
2003-10-15 16:53 ` Philippe Troin
@ 2003-10-17 11:12 ` Marcelo Tosatti
2003-10-17 14:18 ` Christoph Pleger
1 sibling, 1 reply; 8+ messages in thread
From: Marcelo Tosatti @ 2003-10-17 11:12 UTC (permalink / raw)
To: Marc-Christian Petersen; +Cc: linux-kernel, Christoph Pleger
On Wed, 15 Oct 2003, Marc-Christian Petersen wrote:
> On Wednesday 15 October 2003 17:40, Christoph Pleger wrote:
>
> Hi Christoph,
>
> > 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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LVM Snapshots
2003-10-17 11:12 ` Marcelo Tosatti
@ 2003-10-17 14:18 ` Christoph Pleger
2003-10-17 20:58 ` Marcelo Tosatti
0 siblings, 1 reply; 8+ messages in thread
From: Christoph Pleger @ 2003-10-17 14:18 UTC (permalink / raw)
To: linux-kernel
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?
Christoph
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: LVM Snapshots
2003-10-17 14:18 ` Christoph Pleger
@ 2003-10-17 20:58 ` Marcelo Tosatti
0 siblings, 0 replies; 8+ messages in thread
From: Marcelo Tosatti @ 2003-10-17 20:58 UTC (permalink / raw)
To: Christoph Pleger; +Cc: linux-kernel
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-10-17 21:55 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-15 15:40 LVM Snapshots Christoph Pleger
2003-10-15 15:51 ` Marc-Christian Petersen
2003-10-15 16:53 ` Philippe Troin
2003-10-16 9:28 ` Marc-Christian Petersen
2003-10-16 20:33 ` Philippe Troin
2003-10-17 11:12 ` Marcelo Tosatti
2003-10-17 14:18 ` Christoph Pleger
2003-10-17 20:58 ` Marcelo Tosatti
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.