From owner-freebsd-fs@FreeBSD.ORG Tue Jan 6 14:58:40 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 683FA23B for ; Tue, 6 Jan 2015 14:58:40 +0000 (UTC) Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com [IPv6:2607:f8b0:4003:c06::22c]) (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 2CE961B4B for ; Tue, 6 Jan 2015 14:58:40 +0000 (UTC) Received: by mail-oi0-f44.google.com with SMTP id a141so18760656oig.3 for ; Tue, 06 Jan 2015 06:58:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=tW1xY5O21Dj0uJWfiVg8WC4WjB6/SMO9ulpQeWcBjwo=; b=XK7dvxG3pQTiPpAaVwf3S5hQLr9+KAAanuNZqeSJ7k30gKXmFa0dJXHUhZDvVUYBsW SDE4iMi6o+xNcem3RyjzqNvsGoxm7kLYHHnCd3U7a586bFdBFak27NalWCNcBMRCA+ZO 6tQ0ziK7I6K+mTMEuU2LoJX4VVKOXEyXfrOqxHFCpWJ0x9nq/hUy+vrXentKqRsDA6+2 spqBcYc5sKbIri38XQfBANp0vopAkiccWahRw8/WwnNlNqMimbQW0YM5e0iiD+M94Zeo tOs2yy7RMwf3XZjg4dTkh/5LWg2A/QuNDUzCs3K9Uhf/igQJHUKsxaXdWBD86I4JyTdf lVYw== X-Received: by 10.202.135.78 with SMTP id j75mr15541329oid.106.1420556319486; Tue, 06 Jan 2015 06:58:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.169.71 with HTTP; Tue, 6 Jan 2015 06:58:19 -0800 (PST) From: Fervent Dissent Date: Tue, 6 Jan 2015 22:58:19 +0800 Message-ID: Subject: zfs corruption after controller failure To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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 14:58:40 -0000 I have a external disk that was on a cheap usb controller, that controller died. At first zpool status showed a fault and I could find the pool. After a new cable, not usb, I couldn't import it no matter the combination of flags and switches. Nothing I found helped, but I managed to get it to give me some information back. I found some old posts on "labelfix" and manual moving labels, but I'm not willing to do that yet. It is on an esata connection now, so ada1. Thanks for the help, Jason # uname -v FreeBSD 10.1-PRERELEASE #3 r273269: Sun Oct 19 20:13:23 CST 2014 root@satellite:/usr/obj/usr/src/sys/TWILIGHT # ls /dev/diskid/ DISK-Z050B3VV from dmesg ada1 at ahcich3 bus 0 scbus3 target 0 lun 0 ada1: ATA-8 SATA 2.x device ada1: Serial Number Z050B3VV ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad10 # gpart show ada1 => 63 1953525105 ada1 MBR (932G) 63 1953525105 - free - (932G) # gpart list ada1 Geom name: ada1 modified: false state: OK fwheads: 16 fwsectors: 63 last: 1953525167 first: 63 entries: 4 scheme: MBR Consumers: 1. Name: ada1 Mediasize: 1000204886016 (932G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 # zdb -lu /dev/ada1 -------------------------------------------- LABEL 0 -------------------------------------------- failed to unpack label 0 -------------------------------------------- LABEL 1 -------------------------------------------- failed to unpack label 1 Uberblock[0] magic = 0000000000bab10c version = 5000 txg = 3697688 guid_sum = 13899651479099793827 timestamp = 1420437689 UTC = Mon Jan 5 14:01:29 2015 Uberblock[4] magic = 0000000000bab10c version = 5000 txg = 3697657 guid_sum = 13899651479099793827 timestamp = 1420437534 UTC = Mon Jan 5 13:58:54 2015 Uberblock[8] magic = 0000000000bab10c version = 5000 txg = 3697658 guid_sum = 13899651479099793827 timestamp = 1420437539 UTC = Mon Jan 5 13:58:59 2015 Uberblock[12] magic = 0000000000bab10c version = 5000 txg = 3697659 guid_sum = 13899651479099793827 timestamp = 1420437544 UTC = Mon Jan 5 13:59:04 2015 Uberblock[16] magic = 0000000000bab10c version = 5000 txg = 3697660 guid_sum = 13899651479099793827 timestamp = 1420437549 UTC = Mon Jan 5 13:59:09 2015 Uberblock[20] magic = 0000000000bab10c version = 5000 txg = 3697661 guid_sum = 13899651479099793827 timestamp = 1420437554 UTC = Mon Jan 5 13:59:14 2015 Uberblock[24] magic = 0000000000bab10c version = 5000 txg = 3697662 guid_sum = 13899651479099793827 timestamp = 1420437559 UTC = Mon Jan 5 13:59:19 2015 Uberblock[28] magic = 0000000000bab10c version = 5000 txg = 3697663 guid_sum = 13899651479099793827 timestamp = 1420437564 UTC = Mon Jan 5 13:59:24 2015 -------------------------------------------- LABEL 2 -------------------------------------------- failed to unpack label 2 -------------------------------------------- LABEL 3 -------------------------------------------- failed to unpack label 3 Uberblock[0] magic = 0000000000bab10c version = 5000 txg = 3697688 guid_sum = 13899651479099793827 timestamp = 1420437689 UTC = Mon Jan 5 14:01:29 2015 Uberblock[4] magic = 0000000000bab10c version = 5000 txg = 3697657 guid_sum = 13899651479099793827 timestamp = 1420437534 UTC = Mon Jan 5 13:58:54 2015 Uberblock[8] magic = 0000000000bab10c version = 5000 txg = 3697658 guid_sum = 13899651479099793827 timestamp = 1420437539 UTC = Mon Jan 5 13:58:59 2015 Uberblock[12] magic = 0000000000bab10c version = 5000 txg = 3697659 guid_sum = 13899651479099793827 timestamp = 1420437544 UTC = Mon Jan 5 13:59:04 2015 Uberblock[16] magic = 0000000000bab10c version = 5000 txg = 3697660 guid_sum = 13899651479099793827 timestamp = 1420437549 UTC = Mon Jan 5 13:59:09 2015 Uberblock[20] magic = 0000000000bab10c version = 5000 txg = 3697661 guid_sum = 13899651479099793827 timestamp = 1420437554 UTC = Mon Jan 5 13:59:14 2015 Uberblock[24] magic = 0000000000bab10c version = 5000 txg = 3697662 guid_sum = 13899651479099793827 timestamp = 1420437559 UTC = Mon Jan 5 13:59:19 2015 Uberblock[28] magic = 0000000000bab10c version = 5000 txg = 3697663 guid_sum = 13899651479099793827 timestamp = 1420437564 UTC = Mon Jan 5 13:59:24 2015