linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] [Q]XFS + LVM Snapshot?
@ 2001-11-17 11:58 Sean Oh
  2001-11-17 16:21 ` Andreas Dilger
  2001-11-19  2:30 ` Patrick Caulfield
  0 siblings, 2 replies; 4+ messages in thread
From: Sean Oh @ 2001-11-17 11:58 UTC (permalink / raw)
  To: linux-lvm

Hi,

Kernel: 2.4.15-pre4 with XFS patch ( linux-2.4-xfs CVS tree from SGI site)
LVM: current - LVM CVS

Patches applied: linux-2.4.11-VFS-lock.patch from LVM CVS


I have tried to test the LVM snapshot feature with XFS and encountered the following problem.

*I can not mount the original FS and snapshot FS at the same time. If I unmount the origianal XFS FS and then mount the snapshot FS, it works, tough.

Is there any patches that I missed??

Thanks in Advance.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] [Q]XFS + LVM Snapshot?
  2001-11-17 11:58 [linux-lvm] [Q]XFS + LVM Snapshot? Sean Oh
@ 2001-11-17 16:21 ` Andreas Dilger
  2001-11-18  0:21   ` Sean Oh
  2001-11-19  2:30 ` Patrick Caulfield
  1 sibling, 1 reply; 4+ messages in thread
From: Andreas Dilger @ 2001-11-17 16:21 UTC (permalink / raw)
  To: Sean Oh; +Cc: linux-lvm

On Nov 18, 2001  02:59 +0900, Sean Oh wrote:
> Kernel: 2.4.15-pre4 with XFS patch ( linux-2.4-xfs CVS tree from SGI site)
> LVM: current - LVM CVS
> 
> Patches applied: linux-2.4.11-VFS-lock.patch from LVM CVS
> 
> *I can not mount the original FS and snapshot FS at the same time. If
> I unmount the origianal XFS FS and then mount the snapshot FS, it works,
> tough.

Yes, you need an XFS patch which does something with the filesystem UUID
in the snapshot.  XFS has a feature which prevents the same filesystem
from being mounted more than once.

What they do to fix this is to create writable snapshots.  What I would
rather they do is in the "duplicate UUID detection" code, allow mounting
of devices which are on read-only media (e.g. a snapshot).

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] [Q]XFS + LVM Snapshot?
  2001-11-17 16:21 ` Andreas Dilger
@ 2001-11-18  0:21   ` Sean Oh
  0 siblings, 0 replies; 4+ messages in thread
From: Sean Oh @ 2001-11-18  0:21 UTC (permalink / raw)
  To: linux-lvm

Sorry, but where can I find that patch?

Thanks again for your reply.

----- Original Message ----- 
From: "Andreas Dilger" <adilger@turbolabs.com>
To: "Sean Oh" <oh@linuxsecurity.co.kr>
Cc: <linux-lvm@sistina.com>
Sent: Sunday, November 18, 2001 7:22 AM
Subject: Re: [linux-lvm] [Q]XFS + LVM Snapshot?


> On Nov 18, 2001  02:59 +0900, Sean Oh wrote:
> > Kernel: 2.4.15-pre4 with XFS patch ( linux-2.4-xfs CVS tree from SGI site)
> > LVM: current - LVM CVS
> > 
> > Patches applied: linux-2.4.11-VFS-lock.patch from LVM CVS
> > 
> > *I can not mount the original FS and snapshot FS at the same time. If
> > I unmount the origianal XFS FS and then mount the snapshot FS, it works,
> > tough.
> 
> Yes, you need an XFS patch which does something with the filesystem UUID
> in the snapshot.  XFS has a feature which prevents the same filesystem
> from being mounted more than once.
> 
> What they do to fix this is to create writable snapshots.  What I would
> rather they do is in the "duplicate UUID detection" code, allow mounting
> of devices which are on read-only media (e.g. a snapshot).
> 
> Cheers, Andreas
> --
> Andreas Dilger
> http://sourceforge.net/projects/ext2resize/
> http://www-mddsp.enel.ucalgary.ca/People/adilger/
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] [Q]XFS + LVM Snapshot?
  2001-11-17 11:58 [linux-lvm] [Q]XFS + LVM Snapshot? Sean Oh
  2001-11-17 16:21 ` Andreas Dilger
@ 2001-11-19  2:30 ` Patrick Caulfield
  1 sibling, 0 replies; 4+ messages in thread
From: Patrick Caulfield @ 2001-11-19  2:30 UTC (permalink / raw)
  To: linux-lvm

On Sun, Nov 18, 2001 at 02:59:53AM +0900, Sean Oh wrote:
> Hi,
> 
> Kernel: 2.4.15-pre4 with XFS patch ( linux-2.4-xfs CVS tree from SGI site)
> LVM: current - LVM CVS
> 
> Patches applied: linux-2.4.11-VFS-lock.patch from LVM CVS
> 
> 
> I have tried to test the LVM snapshot feature with XFS and encountered the following problem.
> 
> *I can not mount the original FS and snapshot FS at the same time. If I unmount the origianal XFS FS and then mount the snapshot FS, it works, tough.

If you have fairly recent XFS code you should be able to mount the snapshot with
the -onouuid,norecovery options.

patrick

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-19  2:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-17 11:58 [linux-lvm] [Q]XFS + LVM Snapshot? Sean Oh
2001-11-17 16:21 ` Andreas Dilger
2001-11-18  0:21   ` Sean Oh
2001-11-19  2:30 ` Patrick Caulfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).