From owner-freebsd-fs@FreeBSD.ORG Fri Jun 14 12:51:44 2013 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7E8ACD3F; Fri, 14 Jun 2013 12:51:44 +0000 (UTC) (envelope-from josefkarthauser@gmail.com) Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) by mx1.freebsd.org (Postfix) with ESMTP id E52521D45; Fri, 14 Jun 2013 12:51:43 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id a12so461576wgh.28 for ; Fri, 14 Jun 2013 05:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=WXoR6eZeOIXmv9TKhiys0rQMPHQV+SdWKECKdmhBQ/M=; b=RIsPWINv+dXnITu0ky8QQj+VjColWoba5hlA+bUB1kApkL4UmN1Xhbhm/r2jtivvtV rn0IfYFAHFwFCJIUMId9Bv1biS3XM6P5R9HQ2kj+vej6a5Zi2eujgj1MgacFzikfMy8A 5wcw7mZ/pr/Gl9K8fsyUBl3m0sK0NbHYHPFuv5/mVtbJ0915yrri8X9dYujp1Ry4ExSh YMyeU7eNq8MecuZJglFaX8yVStNLWwQMaqroF5WlbJwBKoUylNmDC48FeFMS7E9Nmv7T q39BynSUmaX0tACHJEFpSjgLKIRG39Q8QgJt9hfxbLnQbcSNRY05SLrI16SqA/dp3bda Ldgw== X-Received: by 10.194.242.136 with SMTP id wq8mr1367543wjc.60.1371214303095; Fri, 14 Jun 2013 05:51:43 -0700 (PDT) Received: from ?IPv6:2001:8b0:3a3::ad3c:495b:5c7b:32f1? ([2001:8b0:3a3:0:ad3c:495b:5c7b:32f1]) by mx.google.com with ESMTPSA id fo10sm3008607wib.8.2013.06.14.05.51.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Jun 2013 05:51:42 -0700 (PDT) Subject: Re: Help! :( ZFS panic on boot, importing pool after server crash. Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii From: Dr Josef Karthauser In-Reply-To: <51BAF7E3.4020401@gmail.com> Date: Fri, 14 Jun 2013 13:51:40 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <9AF22029-B753-4D74-A798-11C0A1C55D88@gmail.com> References: <301B4131-F677-4B8D-ABF6-A6D269FE604E@gmail.com> <51BAF7E3.4020401@gmail.com> To: Volodymyr Kostyrko X-Mailer: Apple Mail (2.1503) Cc: "freebsd-stable@freebsd.org" , 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: Fri, 14 Jun 2013 12:51:44 -0000 On 14 Jun 2013, at 12:00, Volodymyr Kostyrko wrote: > 14.06.2013 12:55, Dr Josef Karthauser: >> Hi, I'm a bit at the end of my tether. >> p.s. the config, btw, is a ZFS mirror on two ad devices. It's got a = ZFS root file system. >=20 > If you are fairly sure about your devices you can: >=20 > 1. Remove second disk from pool or create another pool on top of it. >=20 > 2. Recreate all FS structure on the second disk. You can dump al your = FS with something like: >=20 Great. Thanks for that. Have you got a hint as to how I can get access to the root file system? = It's currently set to have a legacy mount point. Which means that when = I import the pool: # zfs import -o readonly=3Don -o altroot=3D/tmp/zfs -f poolname the root filesystem is missing. Then if I try and set the mount point: #zfs set mountpoint=3D/tmp/zfs2 poolname it just sits there; probably because the command is blocking on the R/O = pool, or something. How do I temporarily remount the root filesystem so that I can get = access to the files? Thanks, Joe