From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 18:38:56 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94425106567C for ; Mon, 28 Mar 2011 18:38:56 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 247E88FC1D for ; Mon, 28 Mar 2011 18:38:55 +0000 (UTC) Received: by bwz12 with SMTP id 12so3362459bwz.13 for ; Mon, 28 Mar 2011 11:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ObMCasc+0ZOj051nd37xi/zeZPUNNORg3uFCSWOMu3I=; b=RiWpL1rGoOInrBghQjXJAEGXkrp00bpF4yKIR9DWXfsLf5QWHinOuDshKlatE7qmSf pZtcXIDnHQ7Rd97zu41N0sSKiBzoEPZ26B57A8xZABNMoGSiqYSrehnM88JHsBA9J9hQ wMsj7UuBnlazaXve7o5cIsbA6HBY6YD7/YCiM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=j4zrhfpHucxsqtfU7KPY6UVsDBAcBSB6AlSmgyfALmAD1bki5EeR8K6ePoYmx6eyhK Ecgpm+D9TjSv+3lTxeoocfsFjZhLX5u9vGRoor/Pg7zx0JUbbao7UKjrETIYGqsuIWxN 4PYf0lsUpczFRtyEiHy5NoWwWGN5hzlXX+9xg= MIME-Version: 1.0 Received: by 10.204.17.11 with SMTP id q11mr3632961bka.131.1301337534810; Mon, 28 Mar 2011 11:38:54 -0700 (PDT) Received: by 10.204.47.8 with HTTP; Mon, 28 Mar 2011 11:38:54 -0700 (PDT) In-Reply-To: <771acm1t.1301336268@helpdesk.islandnet.com> References: <771acm1t.1301336268@helpdesk.islandnet.com> Date: Mon, 28 Mar 2011 13:38:54 -0500 Message-ID: From: Scot Hetzel To: Mark Morley Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Stable Subject: Re: ZFS pool on FreeBSD 8.2-STABLE broken? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 18:38:56 -0000 On Mon, Mar 28, 2011 at 1:17 PM, Mark Morley wrote: > Hi there, > > I have a small backup server (8.2-STABLE). =A0It boots from ufs and has a= zfs pool for backups that consists of 8 drives configured as 4 mirrored de= vices, totally around 2.5 TB. > > Been working great, no issues, until the past few days when remote rsyncs= to it have started to get very slow (it's only at around %50 capacity). = =A0Rebooting it helps for a while, then it gets slow again. =A0But this isn= 't the problem now... > > After the last reboot, it froze while booting right at the point where th= e file system gets mounted. =A0No errors, it just doesn't proceed past the = ZFS version message. > > I rebooted single user and tried to access it with "zpool status", and th= e command hangs in the same way. =A0Any attempt to access it ("zfs list", f= or example) does the same thing. > > The disks themselves seem fine. =A0They are all connected to a pair of Ad= aptec RAID controllers (configured as individual drives, with mirroring han= dled by zfs) and the controller software shows them all to be intact. > > I disabled zfs in rc.conf and was able to boot, but I can't access the po= ol. > > Any ideas on how to diagnose and hopefully repair this? > Your going to need to download a recent -CURRENT ISO that contans zfs v28, then you can try to recover the pool as outlined in this post http://opensolaris.org/jive/message.jspa?messageID=3D445269 zpool import -nfF -R /mnt rpool If it reports that it can get back to good pool state, then do actual import with zpool import -fF -R /mnt rpool In case first command cannot rewind to older state, try to add -X option: zpool import -nfFX -R /mnt rpool and if it says that it can recover your pool with some data loss and you are ok with it, then do actual import zpool import -fFX -R /mnt rpool Note: I haven't given this a try on my system yet, let me know how it goes = ;-). Scot