Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2007 16:24:02 -0500
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Brook Tally" <brooks@illuminati.org>, "Ivan Voras" <ivoras@fer.hr>
Cc:        freebsd-current@freebsd.org, Erik Osterholm <freebsd-lists-erik@erikosterholm.org>
Subject:   Re: ZFS + Samba/NFS = ugh
Message-ID:  <790a9fff0708241424r44517517h357318b8a2004982@mail.gmail.com>
In-Reply-To: <20070824200726.GA66242@idoru.cepheid.org>
References:  <31796970.30371187974660912.JavaMail.root@zmail.illuminati.org> <fan8p8$3p1$1@sea.gmane.org> <20070824200726.GA66242@idoru.cepheid.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/24/07, Erik Osterholm <freebsd-lists-erik@erikosterholm.org> wrote:
> On Fri, Aug 24, 2007 at 08:41:34PM +0200, Ivan Voras wrote:
> > Brooks Talley wrote:
> > > Hi everyone.  So far, 7.0 is being pretty darned sweet for me.
> > >
> > > It's probably a known issue, but I haven't seen it referenced anywhere: it seems that ZFS filesystems can be shared/exported with Samba/NFS, but they do not accept any kind of writes over the network, and have other issues with smbclient ("Error in diskattr: Call returned zero bytes (EOF)" comes up a lot).
> > >
> > > Anyone run into this?  Any known fixes?
> >
> > NFS _and_ Samba?
> >
> > Samba is a userland daemon - if it had problems, other applications
> > would have also had problems.
>
> The issue has been discussed before.  It is very real:
> http://lists.freebsd.org/pipermail/freebsd-current/2007-June/072991.html
>
It was also discussed in:

http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074495.html

where it was found to be caused by lseek behaving differently on ZFS:

http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074584.html

And one person found a work arround for ZFS by removing the
repdir_get* sources from samba:

http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074592.html
http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074600.html
http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074601.html

Here is a test program thats shows some problems with the consistency
of telldir/seekdir behavior:

http://lists.freebsd.org/pipermail/freebsd-current/2007-July/075401.html

Read the full thread to get all the information on the problem.

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0708241424r44517517h357318b8a2004982>