Re: [Ocfs2-users] OCFS2 and Snapshots

2006-07-21 Thread Michael Wood
Andre Brinkmann [EMAIL PROTECTED] wrote: I am trying to couple OCFS2 with a storage virtualization environment to use features like mirroring and snapshots. Unfortunately it seems to be impossible for ocfs2console (and for mount.ocfs2) to distinguish between the original volume and its

Re: [Ocfs2-users] OCFS2 and Snapshots

2006-07-21 Thread Andre Brinkmann
Michael Wood wrote: Andre Brinkmann [EMAIL PROTECTED] wrote: I am trying to couple OCFS2 with a storage virtualization environment to use features like mirroring and snapshots. Unfortunately it seems to be impossible for ocfs2console (and for mount.ocfs2) to distinguish between the

Re: [Ocfs2-users] OCFS2 and Snapshots

2006-07-21 Thread Andre Brinkmann
Joel Becker wrote: On Thu, Jul 20, 2006 at 07:54:57PM +0200, Andre Brinkmann wrote: Similar to OCFS2, XFS relies on the uniqueness of a serial number. But with XFS, I am able to change this uid with a user space admin tool. I hope to find (or implement) similar features in OCFS2

Re: [Ocfs2-users] OCFS2 and Snapshots

2006-07-21 Thread Andre Brinkmann
Sorry, here the patch as text: For the Makefile: 39c39 $(LINK) $(LIBOCFS2_LIBS) $(LIBO2DLM_LIBS) $(LIBO2CB_LIBS) $(COM_ERR_LIBS) --- $(LINK) $(LIBOCFS2_LIBS) $(UUID_LIBS) $(LIBO2DLM_LIBS) $(LIBO2CB_LIBS) $(COM_ERR_LIBS) For tunefs.ocfs2.c: 46a47 #include uuid/uuid.h 72a74

Re: [Ocfs2-users] OCFS2 and Snapshots

2006-07-21 Thread Joel Becker
On Fri, Jul 21, 2006 at 03:33:11PM +0200, Andre Brinkmann wrote: here the patch as text: Wow, excellent. I think you pretty much have it down, even without reading the patch in full (trusting the tunefs exclusion mechanisms, getting the uuid code from mfks). But in the future, all code

Re: [Ocfs2-users] OCFS2 and Snapshots

2006-07-21 Thread Andre Brinkmann
I hope this patch is in a better diff -u -p-format :-) Patch for the Makefile === --- tunefs.ocfs2/Makefile 2006-04-21 23:40:29.0 +0200 +++ tunefs.ocfs2_new/Makefile 2006-07-21 14:29:48.0 +0200 @@ -36,6 +36,6 @@ OBJS = $(subst .c,.o,$(CFILES)) DIST_FILES =

Re: [Ocfs2-users] OCFS2 and Snapshots

2006-07-21 Thread Sunil Mushran
Cool. Andre Brinkmann wrote: I hope this patch is in a better diff -u -p-format :-) Patch for the Makefile === --- tunefs.ocfs2/Makefile 2006-04-21 23:40:29.0 +0200 +++ tunefs.ocfs2_new/Makefile 2006-07-21 14:29:48.0 +0200 @@ -36,6 +36,6 @@ OBJS =

Re: [Ocfs2-users] OCFS2 and Snapshots

2006-07-20 Thread Sunil Mushran
OCFS2 relies on the uniqueness of the uuid for it to distinguish between different volumes. One cannot mount two volumes having the same uuid on the same node. Infact, one should not do that across the cluster too, i.e., mount two different physical volumes having the same identical uuid. If you

Re: [Ocfs2-users] OCFS2 and Snapshots

2006-07-20 Thread Andre Brinkmann
AM Subject: [Ocfs2-users] OCFS2 and Snapshots Hello, I am trying to couple OCFS2 with a storage virtualization environment to use features like mirroring and snapshots. Unfortunately it seems to be impossible for ocfs2console (and for mount.ocfs2) to distinguish between the original volume

Re: [Ocfs2-users] OCFS2 and Snapshots

2006-07-20 Thread Joel Becker
On Thu, Jul 20, 2006 at 07:54:57PM +0200, Andre Brinkmann wrote: Similar to OCFS2, XFS relies on the uniqueness of a serial number. But with XFS, I am able to change this uid with a user space admin tool. I hope to find (or implement) similar features in OCFS2 to be able to support