From owner-freebsd-stable@FreeBSD.ORG Tue May 26 19:25:03 2009 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA3E2106568A; Tue, 26 May 2009 19:25:03 +0000 (UTC) (envelope-from mandrews@bit0.com) Received: from magnum.bit0.com (magnum.bit0.com [207.246.88.226]) by mx1.freebsd.org (Postfix) with ESMTP id C3CEF8FC20; Tue, 26 May 2009 19:25:03 +0000 (UTC) (envelope-from mandrews@bit0.com) Received: from [172.27.0.11] (nat.bit0.com [207.246.88.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by magnum.bit0.com (Postfix) with ESMTPSA id D44AF164E44; Tue, 26 May 2009 15:05:34 -0400 (EDT) Message-ID: <4A1C3DA8.5050300@bit0.com> Date: Tue, 26 May 2009 15:06:16 -0400 From: Mike Andrews User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Takahashi Yoshihiro References: <20090526.192217.94910518.nyan@jp.FreeBSD.org> In-Reply-To: <20090526.192217.94910518.nyan@jp.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@FreeBSD.org, pjd@FreeBSD.org, kmacy@FreeBSD.org Subject: Re: NFS on ZFS X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 19:25:04 -0000 Takahashi Yoshihiro wrote: > Today's stable has a problem creating a new file via NFS on ZFS. > > On the NFS server, there is no problem. > > % cd /ZFS > % mktemp hoge > hoge > % ls -l hoge > -rw------- 1 nyan nyan 0 5 26 19:09 hoge > > > But it's a problem on the NFS client. > > # mount server:/ZFS /ZFS > % cd /ZFS > % mktemp hoge > mktemp: mkstemp failed on hoge: Input/output error > % ls -l hoge > ---------- 1 nyan wheel 0 5 26 19:09 hoge > > The file has a wrong permission. > > This problem is only on stable, current has no problem. I'm seeing this too. It seems so far to be limited to mkstemp() -- just copying files normally works. For example /usr/bin/install -S fails, without -S works, if the target is an NFS+ZFS volume.