From owner-freebsd-i386@FreeBSD.ORG Sat Oct 9 05:30:02 2010 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6446C1065693 for ; Sat, 9 Oct 2010 05:30:02 +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 2708A8FC16 for ; Sat, 9 Oct 2010 05:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o995U2a8062650 for ; Sat, 9 Oct 2010 05:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o995U1GP062647; Sat, 9 Oct 2010 05:30:01 GMT (envelope-from gnats) Resent-Date: Sat, 9 Oct 2010 05:30:01 GMT Resent-Message-Id: <201010090530.o995U1GP062647@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "陈光健" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90007106566B for ; Sat, 9 Oct 2010 05:26:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7F6AC8FC08 for ; Sat, 9 Oct 2010 05:26:36 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o995QaGY073428 for ; Sat, 9 Oct 2010 05:26:36 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o995Qa9B073427; Sat, 9 Oct 2010 05:26:36 GMT (envelope-from nobody) Message-Id: <201010090526.o995Qa9B073427@www.freebsd.org> Date: Sat, 9 Oct 2010 05:26:36 GMT From: "陈光健" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/151330: will unshare all zfs filesystem after execute a "zfs clone" X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2010 05:30:02 -0000 >Number: 151330 >Category: i386 >Synopsis: will unshare all zfs filesystem after execute a "zfs clone" >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 09 05:30:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: 陈光健 >Release: 8.1 >Organization: 商品房 >Environment: FreeBSD FBSD-Z 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: i am using FreeBSD ZFS+NFS as filesystem server, support nfs filesystem for other organization, i can successfully to create zpool and create zfs filesystem, set sherenfs=on to share nfs to another machine. but today when i execute "zfs clone za/za2@empty za/za2/empty", then all nfs client got error: df: `/backup': Input/output error i ran "showmount -e" at freebsd server, i found nothing display, before clone it show all zfs filesystem what can be nfs mount at client. >How-To-Repeat: 1. create a zpool name za1 2. zfs set sharenfs=on za1 3. make sure all nfs process has been started.execute "showmount -e" will display /za1 can be nfs mount. 4. go to another machine which install redhat linux 5.3. 5. mount nfs using oralce recommendation option: mount -o rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,tcp 192.168.56.130:/za1 /backup 6. at freebsd server, execute "zfs snapshot za1@empty", then execute "zfs clone za1@empty za1/empty", after that, execute "showmount -e", nothing display. 7. go to client machine, execute "df -k" will get Input/output error. >Fix: at freebsd: ps aux|grep mountd kill mountd session, and restart mountd, then execute "showmount -e", all nfs share point will display. >Release-Note: >Audit-Trail: >Unformatted: