From owner-freebsd-questions@FreeBSD.ORG Mon Jan 2 22:15:31 2012 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 46CDA106564A for ; Mon, 2 Jan 2012 22:15:31 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from rc2.surewest.net (rc2.surewest.net [66.60.130.51]) by mx1.freebsd.org (Postfix) with ESMTP id 14FC58FC12 for ; Mon, 2 Jan 2012 22:15:30 +0000 (UTC) Received: from smtp1.surewest.net ([66.60.130.145]) by rc2.surewest.net ({1b970212-ad71-403b-a2dd-d897d2565e71}) via TCP (outbound) with ESMTP id 20120102221505999; Mon, 02 Jan 2012 22:15:05 +0000 X-RC-FROM: Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by smtp1.surewest.net (Postfix) with ESMTP id 6EA74896EA; Mon, 2 Jan 2012 14:15:05 -0800 (PST) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTPSA id D25F79C1DC; Mon, 2 Jan 2012 14:15:04 -0800 (PST) Received: from [127.0.0.1] (unknown [192.168.1.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id 6ED6D16556D; Mon, 2 Jan 2012 14:15:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1325542504; bh=fngqV7wr/993HD7subaixwl+hPESV5TetGKNJLddVD8=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=lleJhxxWJX/3XABYRAS+Y0b1aLQY+2CTTkOPSn/97Y6onTH23F+wT8S4ZmlMsjOBV QMSEv0ajCAwwj5uN4OrqVGSS7heX5+rBVtmqA+odbrc2cSBl9JoYNFhaKCoRYSxg1h HPN27Oru4Gtk4he4A6fWdYY4a7zC6M3GeZYVbAtg= Message-ID: <4F022C5F.9040208@mykitchentable.net> Date: Mon, 02 Jan 2012 14:14:55 -0800 From: Drew Tomlinson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: FreeBSD Questions References: <4EFF816B.60705@mykitchentable.net> <09FA5A77FFE5778565074B7A@mac-pro.magehandbook.com> In-Reply-To: <09FA5A77FFE5778565074B7A@mac-pro.magehandbook.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 120102-1, 01/02/2012), Outbound message X-Antivirus-Status: Clean Cc: Daniel Staal Subject: Re: Help Recovering FBSD 8 ZFS System 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: Mon, 02 Jan 2012 22:15:31 -0000 On 1/2/2012 12:36 PM, Daniel Staal wrote: > --As of December 31, 2011 1:40:59 PM -0800, Drew Tomlinson is alleged > to have said: > >> Thus it appears I am missing ad16 that I used to have. My data zpool >> was >> the bulk of my system with over 600 gig of files and things I'd like to >> have back. I thought that by creating a raidz1 I could avoid having to >> back up the huge drive and avoid this grief. However it appears I have >> lost 2 disks at the same time. :( >> >> Any thoughts before I just give up on recovering my data pool? > > Ouch. All I can really say is 'Redundancy is not backup', but that's > a bit trite... Yes, I know redundancy doesn't protect against operator error and thus isn't a true backup. However this is a personal system whose main function was to store DVDs, MP3s, photos, and the like. I can recreate most of the content and have backups of the photos up until about a year ago (bad me). > The one thing you haven't mentioned trying that might be worth the > attempt is trying the recovery from a 9.0 disk. There has been work > done on the ZFS system, and it's possible that something might work. > But that's mostly just to be thorough... I may try this. However I suspect before anything can work, I have to get the missing disk(s) detected by the OS. One (ad6) is detected but full of errors. There is another that's not even seen. > As for what it was telling you: It was just saying it couldn't open > the drives. ;) Which does bring up one other option: If you've got a > different drive controller, you might try plugging the drives into > it. (In the hopes that it's the *controller* and not the drive that's > gone bad. Unlikely, bit it *does* happen.) Thanks. I'll keep that in mind. However in this case, the controller is a SATA that's integrated into the motherboard. Since two of 4 are working, that would mean the controller is OK, right? I guess I could swap SATA cables for a test. > (Depending on the value of the data pool, a good data recovery service > might be able to do something as well. But they'd have to be a very > good service, and know what they were working with.) > >> And regarding my root pool, my system can't mount root and start. What >> do I need to do to boot from my degraded root pool. Here's the current >> status: >> >> # zpool status >> pool: root >> state: DEGRADED >> status: One or more devices could not be opened. Sufficient replicas >> exist for >> the pool to continue functioning in a degraded state. >> action: Attach the missing device and online it using 'zpool online'. >> see: http://www.sun.com/msg/ZFS-8000-2Q >> scrub: none requested >> config: >> >> NAME STATE READ >> WRITE CKSUM >> root DEGRADED 0 >> 0 0 >> mirror DEGRADED 0 >> 0 0 >> gptid/5b623854-6c46-11de-ae82-001b21361de7 ONLINE 0 >> 0 0 >> 12032653780322685599 UNAVAIL 0 >> 0 0 was /dev/ad6p3 >> >> Do I just need to do a 'zpool detach root /dev/ad6p3' to remove it from >> the pool and get it to boot? And then once I replace the disk a 'zpool >> attach root ' to fix? >> >> Thanks for your time. > > Personally, I'd do a 'zpool replace /dev/ad6p3 /dev/$NEWDRIVE', but > the above should work as well. What's odd though is that you can't > boot from it as is: Degraded should be considered functional, and it > should let you boot. You mentioned updating the zpool to v15. Did > you update the boot block at the same time? (Just checking the > basics.) It'd need to be able to read the updated zpool. I assume I upgraded the boot block since I've had no trouble booting before the drive failures and the upgrade was a long time ago. Thanks for your help. Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com