From owner-freebsd-fs@FreeBSD.ORG Tue Mar 12 01:45:12 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7AA797CC for ; Tue, 12 Mar 2013 01:45:12 +0000 (UTC) (envelope-from bryan-lists@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 1ACA3EF3 for ; Tue, 12 Mar 2013 01:45:11 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=dd3SC0 0ldUj9fu7yVJvyBYNsmXExBU/QVFm52Sogjt9b8b3Mz3Kok/0qQXuWxNJKjieBiD tbxkJpfRtgc/jmB4oaz4TD6MDFn5gxQkjxjBBK4sJ8MP10hu8cfP/8IJSwl/Ym7u GklMSx+CxMaLw7Deu8bP0hQY5pxMk9ver98nY= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=zTkqveSmzYP+ g9DgEtIio0jBZql2HEJjltPTJX9nQV8=; b=pv3QGvpnTIeNw+lXJXsk34wKXJnz bvvohOCEbdNxwo75c+ykqmiP0Ge65rPnoqrVMcUVsiPNdjff4llIouOWJ2QgS2NE 3lYOuqJCNh1i36cszir1Wr9CGegJdowz6+G/A7CdHlfV1wHw/x4mb2QZOaYFKvU0 BIqxuy1kxuccppg= Received: (qmail 38312 invoked from network); 11 Mar 2013 20:38:29 -0500 Received: from unknown (HELO ?10.10.0.24?) (bryan@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 11 Mar 2013 20:38:29 -0500 Message-ID: <513E8711.2080909@shatow.net> Date: Mon, 11 Mar 2013 20:38:25 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: =?UTF-8?B?VXJvxaEgR3J1YmVy?= Subject: Re: zfs hang with umount References: <513E4B0B.3090807@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2013 01:45:12 -0000 On 3/11/2013 4:43 PM, Uroš Gruber wrote: > Hi Andriy, > > can you tell me more about this or what was the cause for this so I > can avoid it until 9.2 is released. I don't want to jump on 9-STABLE > and maybe have more problems with some other stuff. > This can very easily happen with `umount -f`. My understanding is it just takes a file descriptor being open to an unlinked file. Best to avoid -f if possible. If you run into one of these deadlocks you'll need to restart, possibly with reboot(8). > regards > > Uros > > On 11 March 2013 22:22, Andriy Gapon wrote: >> on 11/03/2013 20:20 Uroš Gruber said the following: >>> Hi, >>> >>> I don't know what causes this, but while stopping one of jails I also >>> run zfs inherit mountpoint on this jails fs. This jail was in stopping >>> state at this moment. Process than hanged in D state. Then I was doing >>> some stuff on the server, and while "zfs unmount -f" of that fs, >>> server chrased. Now everytime I wan't to unmount that fs process hang. >>> I've managed to send & receive this fs to other fs and mounted >>> sucessfuly. >>> >>> Before I reboot and try to destroy this fs, here is output of procstat >>> -k PID (zfs umount zroot/myfs) >>> >>> PID TID COMM TDNAME KSTACK >>> 3937 100559 zfs - mi_switch >>> sleepq_timedwait _sleep zfs_zget zfs_get_data zil_commit >>> zfs_freebsd_write VOP_WRITE_APV vnode_pager_generic_putpages >>> vnode_pager_putpages vm_pageout_flush vm_object_page_collect_flush >>> vm_object_page_clean vm_object_terminate vnode_destroy_vobject >>> zfs_freebsd_reclaim vgonel vflush >>> >>> Is there anything I can check or is this know bug? >>> >>> Server is running on 9.1-RELEASE >> >> This should be fixed in stable/9. >> >> -- >> Andriy Gapon > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > -- Regards, Bryan Drewery bdrewery@freenode/EFNet