From owner-freebsd-current@FreeBSD.ORG Fri Dec 20 15:55:25 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A26ACB2 for ; Fri, 20 Dec 2013 15:55:25 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id D5F4A1003 for ; Fri, 20 Dec 2013 15:55:24 +0000 (UTC) Received: from [10.1.1.1] (S01060001abad1dea.hm.shawcable.net [50.70.108.129]) (Authenticated sender: allan.jude@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 9E56E4E618 for ; Fri, 20 Dec 2013 15:55:23 +0000 (UTC) Message-ID: <52B46873.5060703@allanjude.com> Date: Fri, 20 Dec 2013 10:55:31 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: ZFS/zpool command blocks ... locking up all terminals References: <20131220115534.52e79a76@telesto> In-Reply-To: <20131220115534.52e79a76@telesto> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="96WHaaCsgIW5bh0LBGmj33T47nqRLbX5n" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2013 15:55:25 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --96WHaaCsgIW5bh0LBGmj33T47nqRLbX5n Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2013-12-20 05:55, O. Hartmann wrote: > I have a faulty pool with an ambiguous label and I tried to resolve > that problem. ZFS is at the moment highly active copying data from > several volumes to another. > > Operating system: > > 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r259522: Tue Dec 17 19:02:10 CET > 2013 amd64 > > In one terminal I exported the pool in question and tried to list it > via "zpool import". But the this command sequence locks up the terminal= > for an hour up! > > In another terminal I tried to issue to command "zpool status" to watch= > the status of the pools (I have several). But this terminal ist alos > locked up right now! > > What is wrong here? I had such an issue in 10.0-CURRENT as well. It > seems ZFS is locking everything up and can only be brought back by a > hard reset! What is going on? Why is zpool locking up in trying to > display a label-scrambled pool while the zpool status is then also > locked up, but latter is supposed to show the status of the other, > healthy pools? This reminds me of single-threaded tools which looks up > every operation consecutively issued after the blocking command. > > How is this to be solved? > > Oliver Can you input 'control + t' or otherwise send siginfo to see what run 'state' zpool is in? This usually consists of the ZFS function name and is often very revealing and gives a starting point for investigation --=20 Allan Jude --96WHaaCsgIW5bh0LBGmj33T47nqRLbX5n Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJStGhzAAoJEJrBFpNRJZKfN5UQALyC0PKMMITpzFhzeALXNoi9 x+0nI7U/RwJ+dVXxuaCJYYSjjzf20Y0KtrtdrNRp4MQWAMalj9TsEnUfKUnDtIBE jjNy10lzB1BqMgMSaqP7jfFc1Ik135kG0nz2Q051m+7RsHUB6wQpJ+trtp7Wn1fa QSHkOnexWZI9M6FoeRXpqlzTNcqRP+wHfC64P1b76AIAB+3Mufye/H7AF1d3v9s1 cKwL/SnMYBjE6rdijtHksmGcTZixYMIyrc3CTTNOFfUdiXDFaBAxeKgVMQqVebA0 8NFd2lTQKgAjiDwcm1eJYKL1TTlyQ7N+E9ybYHOyTEXkgK7M1RACCrKmOycdsm1h qNpGPV357vwdHWfNLd5oS2t2HWLMjsKKcnYbw0E5ad1kQ494LGnH6MFour93XqeZ rkUgqMdnycvAJWMsQkXG5UbY0vjqXYuhGrnEKW3bC0qvwVKaK3azEfXGzETGg+fO pJEE+//kwwQdTEdsI2LABlNpMThNKg1eIKzRWTlYXKt8E4BUx8OqFQHQFCw1OpVW DMPZ8XmrmoVk6eD6YeP+wZyqmYrsUF5HvWdTjjVUpHiDtyRftcags8hJOFD2CwCd p50WHVJ463ZYILJI2wc0WQAvp5CoDK58Dt0pv8rpWu9oiX1kBBr+oA+1T9J5X9lj 8rhkbhptFFWjyuHMguQo =j5Kj -----END PGP SIGNATURE----- --96WHaaCsgIW5bh0LBGmj33T47nqRLbX5n--