From owner-freebsd-fs@FreeBSD.ORG Wed Oct 3 13:34:58 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03EF7106564A for ; Wed, 3 Oct 2012 13:34:58 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 531DC8FC18 for ; Wed, 3 Oct 2012 13:34:56 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA06424; Wed, 03 Oct 2012 16:34:53 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <506C3EFC.2060602@FreeBSD.org> Date: Wed, 03 Oct 2012 16:34:52 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: ram_chander250@yahoo.com References: In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org Subject: Re: Zfs import issue X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2012 13:34:58 -0000 on 03/10/2012 14:43 Ram Chander said the following: > Hi, > > I am importing zfs snapshot to freebsd-9 from anther host running > freebsd-9. When the import happens, it locks the filesystem, "df" hangs > and unable to use the filesystem. Once the import completes, the filesystem > is back to normal and read/write works fine. The same doesnt happen in > Solaris/OpenIndiana. > > # uname -an > FreeBSD hostname 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 > UTC 2012 root@farrell.cse.buffalo.edu:/ > usr/obj/usr/src/sys/GENERIC amd64 > > Zfs ver: 28 > > > Any inputs would be helpful. Is there any way to overcome this freeze ? What if you add -n option to df? -- Andriy Gapon