[Samba] Samba 3.4.2 with Solaris ZFS Snaphots

Jeremy Allison jra at samba.org
Wed Nov 18 13:18:47 MST 2009


On Wed, Nov 18, 2009 at 08:09:16PM +0100, Volker Lendecke wrote:
> On Wed, Nov 18, 2009 at 11:05:07AM -0800, Jeremy Allison wrote:
> > > JCD> Hi,
> > > JCD> I'm trying to make samba working with Solaris ZFS Snaphots.
> > > 
> > > JCD> Solaris 10 is running on a x64/X86 box which is both Samba (3.4.2) 
> > > JCD> server and Zfs server.
> > > JCD> I created home/delaye filesystem with home zfs pool.
> > > .....
> > > ....
> > > JCD> Can anyone help to troubleshoot this? Does anybody have a running setup 
> > > JCD> for Solaris zfs snapshots ?
> > > 
> > > We are extensively using ZFS snapshots with samba, it works like a charm.
> > > 
> > > We use the patches from http://www.edplese.com/samba-with-zfs.html
> > > this give us freedom in naming convention
> > > they still can be applied (manuallly) to samba-3.4.x/source3/modules/vfs_shadow_copy.c
> > 
> > Hmmm - these patches look really interesting ! I wonder
> > how they didn't get added into mainline source code....
> 
> Maybe because nobody wants to touch the shadow_copy module?
> shadow_copy2 is the one that has seen fixes lately, I have
> some patches for shadow_copy2 that are still pending to be
> merged upstream.

Ah ok, didn't realize the difference between the two.
Maybe we should remove the vfs_shadow_copy and concentrate
everything on vfs_shadow_copy2 (and look at merging these
patches).

Jeremy.


More information about the samba mailing list