From owner-freebsd-questions@FreeBSD.ORG Sun Nov 28 05:46:06 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58C11106566C for ; Sun, 28 Nov 2010 05:46:06 +0000 (UTC) (envelope-from geoff@apro.com.au) Received: from mail.ricksure.com.au (mail.ricksure.com.au [203.98.89.150]) by mx1.freebsd.org (Postfix) with ESMTP id AC5888FC15 for ; Sun, 28 Nov 2010 05:46:05 +0000 (UTC) Received: from apromail1.apro.com.au [61.28.222.38] by mail.ricksure.com.au with SMTP; Sun, 28 Nov 2010 16:30:44 +1100 Received: from localhost (horde.internal [10.1.1.23]) by mail.internal (Postfix) with ESMTP id 531375869D4 for ; Sun, 28 Nov 2010 16:30:48 +1100 (EST) Received: from 171.78.233.220.static.exetel.com.au (171.78.233.220.static.exetel.com.au [220.233.78.171]) by aprosrv2.apro.com.au (Horde Framework) with HTTP; Sun, 28 Nov 2010 16:30:48 +1100 Message-ID: <20101128163048.21211cl7o3xpi8lc@aprosrv2.apro.com.au> Date: Sun, 28 Nov 2010 16:30:48 +1100 From: Geoff Roberts To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) / FreeBSD-7.3 X-Declude-Sender: geoff@apro.com.au [61.28.222.38] X-Declude-Spoolname: 45064234.eml X-Declude-RefID: X-Declude-Note: Scanned by Declude 4.6.35 "http://www.declude.com/x-note.htm" X-Declude-Scan: Outgoing Score [0] at 16:30:49 on 28 Nov 2010 X-Declude-Tests: Whitelisted X-Country-Chain: X-Declude-Code: 0 X-Declude-Recipcount: 1 Organization: Declude, Inc. X-Helo: mail.internal X-RevDNS: Subject: zpool won't mount as dataset stuck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Nov 2010 05:46:06 -0000 Hi, In a slight panic here as my main ZFS pool "tank" won't mount. I have two ZFS pools on two different drives - a system pool on a single disk called "data" and a mirrored pool on two disks called "tank". The "tank" zpool contains all my jails and non-system boot type data. I was wanting to test FreeBSD 8.2-PRERELEASE and therefore took a snapshot of "data" and "tank": zfs snapshot -r data@pre82 zfs snapshot -r tank@pre82 "tank" seemed to hang on the above command for ages and I had to Ctrl-C. Long and short is I can see the "tank" zpool without a problem, but whenever I try to import it the disk light flashes every second and the datasets won't mount. I can run a history command on "tank" and that shows the following repeated every second (tgx keeps incrementing by one): 2010-11-28.15:08:33 [internal rollback txg:9645688] dataset = 222 [user root on systemname.com] 2010-11-28.15:08:34 [internal rollback txg:9645689] dataset = 222 [user root on systemname.com] The zpool seems to be stuck. What should I do from here? Is there a way to "freeze" dataset operations so I can at least mount them? Other thoughts and questions I had: a) What would be the best way to take a raw image of the zpool so I can work on a copy of the zpool rather than the original? b) Would it be worth trying to import the zpool on FreeBSD current or OpenSolaris? Any help greatly appreciated. Kind regards, Geoff