From owner-freebsd-fs@FreeBSD.ORG Thu Jan 16 19:28:56 2014 Return-Path: Delivered-To: freebsd-fs@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 14279EE3; Thu, 16 Jan 2014 19:28:56 +0000 (UTC) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BC60A1067; Thu, 16 Jan 2014 19:28:55 +0000 (UTC) Received: by mail-ob0-f181.google.com with SMTP id uy5so3266632obc.40 for ; Thu, 16 Jan 2014 11:28:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WLAhRdnSAYoXgXkLBCvcwbKzGP7LQuKds10TFhQawvo=; b=SuG3OOwlqjx01quXvu8H5+cMJxQtIb6Le9Cq+Llj1uT+hNmzFT4cHchFjedDi2UIdn L0LK9Zu1tvYhisk34MEGt2jxmhPMvOXm/YRIW5B5D3Pgaa60o44iIePtfqGv8w/Keyh0 1Oi9JKca0tDcMMkQkZNJLCDYkDbQGCgDAqnqAGww3kFKvIxbRcruh8PZH9oAqAEFGJcb Vm02h9LDq7Mviw5YFmIoZ74mjmaf2/BQx4unFjeSs1qsohbdCOFwGf+Jp+7SVtWjo6eH 5IDNmn83XwTPqEpK7M4IYl4CGL1pKIHs1XAnG1dXs60kiGHr0bzY4bNaMFVUw0RQfKst Q4xQ== MIME-Version: 1.0 X-Received: by 10.182.18.102 with SMTP id v6mr2492146obd.71.1389900534926; Thu, 16 Jan 2014 11:28:54 -0800 (PST) Received: by 10.76.132.9 with HTTP; Thu, 16 Jan 2014 11:28:54 -0800 (PST) In-Reply-To: <879A72E5-3F29-4AC4-A4B4-E65430800A7C@gmail.com> References: <52D71421.3030103@delphij.net> <52D82178.6030903@freebsd.org> <879A72E5-3F29-4AC4-A4B4-E65430800A7C@gmail.com> Date: Thu, 16 Jan 2014 11:28:54 -0800 Message-ID: Subject: Re: zpool import taking weeks ... From: Freddie Cash To: Gomes do Vale Victor Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Filesystems X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2014 19:28:56 -0000 On Thu, Jan 16, 2014 at 11:18 AM, Gomes do Vale Victor wrote: > > Le 16 janv. 2014 =C3=A0 19:14, Stefan Esser a =C3=A9crit= : > > > Am 16.01.2014 08:00, schrieb Gomes do Vale Victor: > >>> Thanks a lot for this info ! I have read about the "-T" option > >>> on import with tgx but it was with ZFS on Linux ... Don't knew it > >>> is available on newer implementation under FreeBSD. Will so wait > >>> that it ends correctly and will think on upgrading on the system > >>> (the rootfs is ZFS also ...) > > > > Just for the record, since your reply seems to imply that the -T > > option is only available on Linux: > > > > The -T option of zpool import has been present in FreeBSD for years, > > but is undocumented (same as in Solaris/OpenIndiana). It has been > > mentioned in some ZFS recovery guides (most written for Solaris) and > > it actually works quite well (I used it to recover an inconsistent pool > > and helped somebody else who has lost access to his ZFS file-systems). > > > > Regards, STefan > > Sorry if you understood that. It was not what I meant. I wanted to say > that I only found one thread talking about that option (the import with t= he > -T option) and that thread was about ZFS on Linux, and since I ain't foun= d > no mention of it on the actual man of my FreeBSD version I have here, I > tough it was only available on newer ZFS versions (like v5000) under > FreeBSD. > Thanks for the info, so do you think I could use this method to recover m= y > pool that is on ZFS v28 ? > Also, the import is now running without crash for 8 days now, and still > does not have finished, and I do not see any revelant activity on disks, > nor any load under CTRL+T on the zpool process (sometimes goes to 0.16/0.= 08 > but quickly returns to 0.00 and stays there a while) do you think I shoul= d > interrupt it, reboot and restart again ? Or directly test with the -T > option ? > I'd try a reboot to restart the process. Let it run for a day. If you still aren't seeing any disk activity, then try the -T and/or the -F import options.=E2=80=8B=E2=80=8B --=20 Freddie Cash fjwcash@gmail.com