From owner-freebsd-fs@FreeBSD.ORG Tue Jun 30 15:10:04 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6A0D10656C6 for ; Tue, 30 Jun 2009 15:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A3FF68FC19 for ; Tue, 30 Jun 2009 15:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5UFA4OS084604 for ; Tue, 30 Jun 2009 15:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5UFA4so084603; Tue, 30 Jun 2009 15:10:04 GMT (envelope-from gnats) Date: Tue, 30 Jun 2009 15:10:04 GMT Message-Id: <200906301510.n5UFA4so084603@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Danny Braniss Cc: Subject: Re: kern/135412: [zfs] [nfs] zfs(v13)+nfs and open(..., O_WRONLY|O_CREAT|O_EXCL, ...) returns io error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Danny Braniss List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 15:10:05 -0000 The following reply was made to PR kern/135412; it has been noted by GNATS. From: Danny Braniss To: Andriy Gapon Cc: bug-followup@FreeBSD.org, danny@cs.huji.ac.il, danny@cs.huji.ac.il Subject: Re: kern/135412: [zfs] [nfs] zfs(v13)+nfs and open(..., O_WRONLY|O_CREAT|O_EXCL, ...) returns io error Date: Tue, 30 Jun 2009 18:05:28 +0300 > > Danny, > > maybe you misunderstood Gavin's question or maybe I misunderstood your reply. > > I have stable/7 amd64 from Jun 26, I have upgraded zpool to version 13 (as > reported by 'zpool upgrade' command) and I have upgraded zfs on-disk to version 3 > (as reported by 'zfs upgrade'). > And I can _not_ reproduce your problem using the program you provided - it > successfully creates a file on the first run and it fails with '17 - File exists' > on the subsequent ones. > > So, I'd like to re-iterate the question - what on-disk versions of zpool and zfs > you have? > Please provide output of 'zpool upgrade' and 'zfs upgrade' commands to avoid > further uncertainties. > > -- > Andriy Gapon you have to run the program on a client that mounted the zfs volume via nfs. it fails no matter what pool version, either 6 or 13 btw, it works fine if the server is solaris/v13 but just to answer your questions, dev is the server host dev> zfs upgrade This system is currently running ZFS filesystem version 3. All filesystems are formatted with the current version. dev> zpool upgrade This system is currently running ZFS pool version 13. All pools are formatted using this version. dev> danny