From owner-freebsd-current@FreeBSD.ORG Fri Aug 24 21:24:04 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B16816A417 for ; Fri, 24 Aug 2007 21:24:04 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id C2A1313C483 for ; Fri, 24 Aug 2007 21:24:03 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so801314nfb for ; Fri, 24 Aug 2007 14:24:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N/rxAZuJHUC8XYOv+6di/9eHesal/WB1EPFsRVClOwRf6TMUfZHs21mvd6+e+xWvEilQq2gL1AP5+HZN7HGJUbIdQC6SQKohSt6ocYjS7bo7SoqphSa2MtEi+DW7todQsBzLiX13UfenrAnvxdXGt+01qdhT/h7W5B53WE9L+A4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rfdw4Gr7iGBFKs19mx1l5RL+9JDA8UFL0n4Xhk44/UZKGM4Js2LfRg8fBebySqh7kGq7kHkAdDu7wSYwNN0gVdbRobIJVJoUNJfY2dihYSewm+P7Od6g6Ulbj7zwHzz3jlGoC+xVskRU5mYK8PZp6/C3UsQUD1fO+qE3uHAbEqc= Received: by 10.86.60.7 with SMTP id i7mr2568479fga.1187990642490; Fri, 24 Aug 2007 14:24:02 -0700 (PDT) Received: by 10.86.71.6 with HTTP; Fri, 24 Aug 2007 14:24:02 -0700 (PDT) Message-ID: <790a9fff0708241424r44517517h357318b8a2004982@mail.gmail.com> Date: Fri, 24 Aug 2007 16:24:02 -0500 From: "Scot Hetzel" To: "Brook Tally" , "Ivan Voras" In-Reply-To: <20070824200726.GA66242@idoru.cepheid.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <31796970.30371187974660912.JavaMail.root@zmail.illuminati.org> <20070824200726.GA66242@idoru.cepheid.org> Cc: freebsd-current@freebsd.org, Erik Osterholm Subject: Re: ZFS + Samba/NFS = ugh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2007 21:24:04 -0000 On 8/24/07, Erik Osterholm 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.