From owner-freebsd-fs@FreeBSD.ORG Tue Jan 6 15:35:37 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 001EE333 for ; Tue, 6 Jan 2015 15:35:36 +0000 (UTC) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B314926F for ; Tue, 6 Jan 2015 15:35:36 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id uz6so3174703obc.5 for ; Tue, 06 Jan 2015 07:35:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=RXT7CS0RA8maPhbZATV5bLGoOLfZI3dWO04nts4eH18=; b=pPL5WFVrd2I3UlBssrgEl5dzQ2Z8TQ62Xn/nQGLrrNjrQ/JQPY/iiv0LW+3bZbqy1Q +ffJAr2eebVO+3r1n8BhOlLRo0tDji6qvbENd8jPZbgqj8Z8jatb2Bh2g2PjcKDxP0b/ HRPd+UlExsL9kuuDsxkgTvC5B1beesKaFO7EOxwM8Dv79oDKiGOQxTdChRmIf5fTXxW0 y/bMFhzK/j7Qq5o8FP2Hu5cX/CW1QvFE12mave+dB2tG0Ena5Lhcqt16irEiHLjcj6at B/NyvIwEt10DU5/kBwCY033LrSW8ynSNa3loOyhiGursttaTJqTScJ1Hwdl6PDz/6Mhf 7zKw== X-Received: by 10.60.145.167 with SMTP id sv7mr56868193oeb.38.1420558536134; Tue, 06 Jan 2015 07:35:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.169.71 with HTTP; Tue, 6 Jan 2015 07:35:16 -0800 (PST) In-Reply-To: <54ABFF51.50708@internetx.com> References: <20FB5F2C-65D2-4F33-8D45-DD7FC34A5E2E@ultra-secure.de> <54ABFA82.2070401@internetx.com> <54ABFF51.50708@internetx.com> From: Fervent Dissent Date: Tue, 6 Jan 2015 23:35:16 +0800 Message-ID: Subject: Re: zfs corruption after controller failure To: jg@internetx.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2015 15:35:37 -0000 # zpool import -d /dev/diskid/ # no error, no import # zpool import -d /dev/diskid/ -N -o readonly=3Don -f -R /tb -F -T 3697688 = tb cannot import 'tb': no such pool available tb is the pool name, I'll try those scripts later On Tue, Jan 6, 2015 at 11:29 PM, InterNetX - Juergen Gotteswinter < jg@internetx.com> wrote: > -T is an undocumentated and so for it should be considered as unstable > or even something which can easily break things. theres a reason why its > not documentated very likely. > > dl;dr - its something i whouldnt touch... > > What Output do you get from a simple zpool import ? You did everything > you tried until now with "readonly=3Don" ? > > If everything seems to be broken, you could give the zfs forensic > scripts a try... its already broken, cant get worse anymore. > > Am 06.01.2015 um 16:11 schrieb Fervent Dissent: > > I tried these, and some variations of them, and it gave the error the > > pool does not exist. > > zpool import -N -o readonly=3Don -f -R /pool > > zpool import -N -o readonly=3Don -f -R /pool -F -T > > > > On Tue, Jan 6, 2015 at 11:08 PM, InterNetX - Juergen Gotteswinter > > > wrote: > > > > > external usb drive (for sure cheap consumer desktop one) > > > cheap (maybe even buggy) usb controller > > > non-mirrored / raidz > > > probably cheap hardware at all (no ecc, like rainer mentioned for > example) > > > > what do you expect. zfs is very tolerant, but some basics should be > > taken care of... > > > > but even with a single disk it should be possible to recover / impo= rt > > the pool at least read only > > > > > > > > Am 06.01.2015 um 16:06 schrieb Fervent Dissent: > > > I've had power lose before and a previous bad controller cause > > multiple > > > problems. The drive would disappear or go offline. I would clear > > it and go > > > on no problem. This is the first failure that I have not been abl= e > to > > > recover from. > > > > > > On Tue, Jan 6, 2015 at 11:01 PM, Rainer Duffner > > > > > > wrote: > > > > > >> > > >>> Am 06.01.2015 um 15:58 schrieb Fervent Dissent < > > >> walkerindarkness@gmail.com >: > > >>> > > >>> I have a external disk that was on a cheap usb controller, that > > >> controller > > >>> died. > > >> > > >> > > >> Maybe I=E2=80=99m mistaken, but I though that if your pool only = has a > > single disk > > >> and that disk/pool shows errors or becomes > > unreadable/corrupted/whatever > > >> you cannot recover it. > > >> > > >> Same for not using ECC memory=E2=80=A6 > > >> > > >> > > >> > > >> > > > _______________________________________________ > > > freebsd-fs@freebsd.org mailing > list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > > > To unsubscribe, send any mail to > > "freebsd-fs-unsubscribe@freebsd.org > > " > > > > > > > > >