From owner-freebsd-questions@FreeBSD.ORG Wed Nov 5 14:34:30 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C1D9221 for ; Wed, 5 Nov 2014 14:34:30 +0000 (UTC) Received: from nef.pbox.org (ns.pbox.org [IPv6:2001:41d0:1:e836::1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.pbox.org", Issuer "smtp.pbox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 07BA92AD for ; Wed, 5 Nov 2014 14:34:29 +0000 (UTC) Received: from nef.pbox.org (localhost [127.0.0.1]) by nef.pbox.org (8.14.5/8.14.5/) with ESMTP id sA5EYNe2015525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 5 Nov 2014 15:34:23 +0100 (CET) Received: (from luc@localhost) by nef.pbox.org (8.14.5/8.14.5/Submit) id sA5EYNnG014834 for freebsd-questions@freebsd.org; Wed, 5 Nov 2014 15:34:23 +0100 (CET) Date: Wed, 5 Nov 2014 15:34:23 +0100 From: luc To: freebsd-questions@freebsd.org Subject: How recover ZFS pool Message-ID: <20141105143423.GA2033@ns.pbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Whois: LB895-ARIN, LB2868-RIPE, LBR262 User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.4.3 (nef.pbox.org [0.0.0.0]); Wed, 05 Nov 2014 15:34:23 +0100 (CET) X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on nef.pbox.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2014 14:34:30 -0000 Hi, My computer reboot every time. It crash at boot when /etc/rc.d/zfs starting, and reboot , and reboot ... I try, in Single User mode, every zpool command crash the kernel. The pool is a raidz1 with 3 disk and 1 cache on SSD. I think, the last pkg update is about X11. The first crash maybe a x11 drivers issue. I try : - upgrading 10.0-RELEASE-p11 to 10.0-RELEASE-p12 - without SSD disk. - with another adapter => same result. The system is on UFS, so I could boot without ZFS. How could I recover data ? thanks for your help, Luc. Copyright (c) 1992-2014 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-RELEASE-p12 #0: Tue Nov 4 05:07:17 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 CPU: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz (1995.24-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x206d7 Family = 0x6 Model = 0x2d Stepping = 7 Features=0xbfebfbff Features2=0x1fbee3ff AMD Features=0x2c100800 AMD Features2=0x1 TSC: P-state invariant, performance statistics real memory = 34359738368 (32768 MB) avail memory = 33240608768 (31700 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 24 CPUs FreeBSD/SMP: 2 package(s) x 6 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 cpu8 (AP): APIC ID: 8 cpu9 (AP): APIC ID: 9 cpu10 (AP): APIC ID: 10 cpu11 (AP): APIC ID: 11 cpu12 (AP): APIC ID: 32 cpu13 (AP): APIC ID: 33 cpu14 (AP): APIC ID: 34 cpu15 (AP): APIC ID: 35 cpu16 (AP): APIC ID: 36 cpu17 (AP): APIC ID: 37 cpu18 (AP): APIC ID: 38 cpu19 (AP): APIC ID: 39 cpu20 (AP): APIC ID: 40 cpu21 (AP): APIC ID: 41 cpu22 (AP): APIC ID: 42 cpu23 (AP): APIC ID: 43 random device not loaded; using insecure entropy ACPI BIOS Warning (bug): 32/64X FACS address mismatch in FADT - 0xAC7E8F40/0x00000000AC7DC F40, using 32 (20130823/tbfadt-550) ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard ioapic2 irqs 48-71 on motherboard random: initialized kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 cpu8: on acpi0 cpu9: on acpi0 cpu10: on acpi0 cpu11: on acpi0 cpu12: on acpi0 cpu13: on acpi0 cpu14: on acpi0 cpu15: on acpi0 cpu16: on acpi0 cpu17: on acpi0 cpu18: on acpi0 cpu19: on acpi0 cpu20: on acpi0 cpu21: on acpi0 cpu22: on acpi0 cpu23: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 350 Event timer "HPET1" frequency 14318180 Hz quality 340 Event timer "HPET2" frequency 14318180 Hz quality 340 Event timer "HPET3" frequency 14318180 Hz quality 340 Event timer "HPET4" frequency 14318180 Hz quality 340 Event timer "HPET5" frequency 14318180 Hz quality 340 Event timer "HPET6" frequency 14318180 Hz quality 340 Event timer "HPET7" frequency 14318180 Hz quality 340 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 26 at device 1.0 on pci0 pci1: on pcib1 pcib2: irq 26 at device 1.1 on pci0 pci2: on pcib2 mfi0: port 0x6000-0x60ff mem 0xf7e60000-0xf7e63fff,0xf7e00000-0xf7e3ffff irq 27 at device 0.0 on pci2 mfi0: Using MSI mfi0: Megaraid SAS driver Ver 4.23 pcib3: irq 32 at device 2.0 on pci0 pci3: on pcib3 pcib4: irq 40 at device 3.0 on pci0 pci4: on pcib4 vgapci0: port 0x5000-0x50ff mem 0xe0000000-0xefffffff,0xf7d20000-0xf7d3ffff irq 40 at device 0.0 on pci4 vgapci0: Boot video device hdac0: mem 0xf7d40000-0xf7d43fff irq 44 at device 0.1 on pci4 pci0: at device 5.0 (no driver attached) pci0: at device 5.2 (no driver attached) pcib5: irq 16 at device 17.0 on pci0 pci5: on pcib5 pci0: at device 22.0 (no driver attached) em0: port 0x7040-0x705f mem 0xf7f00000-0xf7f1ffff,0xf7f29000-0xf7f29fff irq 20 at device 25.0 on pci0 em0: Using an MSI interrupt em0: Ethernet address: b8:ca:3a:a4:0c:50 ehci0: mem 0xf7f28000-0xf7f283ff irq 16 at device 26.0 on pci0 usbus0: EHCI version 1.0 usbus0 on ehci0 hdac1: mem 0xf7f20000-0xf7f23fff irq 22 at device 27.0 on pci0 pcib6: irq 19 at device 28.0 on pci0 pci6: on pcib6 pcib7: irq 18 at device 28.2 on pci0 pci7: on pcib7 xhci0: mem 0xf7b00000-0xf7b01fff irq 18 at device 0.0 on pci7 xhci0: 32 byte context size. usbus1 on xhci0 ehci1: mem 0xf7f27000-0xf7f273ff irq 17 at device 29.0 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci1 pcib8: at device 30.0 on pci0 pci8: on pcib8 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0x7090-0x7097,0x7080-0x7083,0x7070-0x7077,0x7060-0x7063,0x7020-0x703f mem 0xf7f26000-0xf7f267ff irq 18 at device 31.2 on pci0 ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahciem0: on ahci0 pci0: at device 31.3 (no driver attached) pcib9: on acpi0 pci128: on pcib9 acpi_button0: on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (9600,n,8,1) orm0: at iomem 0xc0000-0xcffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: cannot reserve I/O port range est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 est2: on cpu2 p4tcc2: on cpu2 est3: on cpu3 p4tcc3: on cpu3 est4: on cpu4 p4tcc4: on cpu4 est5: on cpu5 p4tcc5: on cpu5 est6: on cpu6 p4tcc6: on cpu6 est7: on cpu7 p4tcc7: on cpu7 est8: on cpu8 p4tcc8: on cpu8 est9: on cpu9 p4tcc9: on cpu9 est10: on cpu10 p4tcc10: on cpu10 est11: on cpu11 p4tcc11: on cpu11 est12: on cpu12 p4tcc12: on cpu12 est13: on cpu13 p4tcc13: on cpu13 est14: on cpu14 p4tcc14: on cpu14 est15: on cpu15 p4tcc15: on cpu15 est16: on cpu16 p4tcc16: on cpu16 est17: on cpu17 p4tcc17: on cpu17 est18: on cpu18 p4tcc18: on cpu18 est19: on cpu19 p4tcc19: on cpu19 est20: on cpu20 p4tcc20: on cpu20 est21: on cpu21 p4tcc21: on cpu21 est22: on cpu22 p4tcc22: on cpu22 est23: on cpu23 p4tcc23: on cpu23 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec vboxdrv: fAsync=0 offMin=0xcd0 offMax=0xedc mfi0: 4045 (468502157s/0x0020/info) - Shutdown command received from host mfi0: 4046 (boot + 4s/0x0020/info) - Firmware initialization started (PCI ID 0073/1000/1f78/1028) mfi0: 4047 (boot + 4s/0x0020/info) - Firmware version 2.120.14-2762 mfi0: 4048 (boot + 5s/0x0020/info) - Package version 20.12.2-0001 mfi0: 4049 (boot + 5s/0x0020/info) - Board Revision A01 mfi0: 4050 (boot + 31s/0x0002/info) - Inserted: PD 00(e0xff/s0) random: unblocking device. usbus0: 480Mbps High Speed USB v2.0 usbus1: 5.0Gbps Super Speed USB v3.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: <0x1033> at usbus1 uhub1: <0x1033 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1 usbus2: 480Mbps High Speed USB v2.0 ugen2.1: at usbus2 uhub2: on usbus2 mfisyspd0 on mfi0 mfisyspd0: 1907729MB (3907029168 sectors) SYSPD volume (deviceid: 0) mfisyspd0: SYSPD volume attached mfisyspd1 on mfi0 mfisyspd1: 1907729MB (3907029168 sectors) SYSPD volume (deviceid: 1) mfisyspd1: SYSPD volume attached mfisyspd2 on mfi0 mfisyspd2: 244198MB (500118192 sectors) SYSPD volume (deviceid: 4) mfisyspd2: SYSPD volume attached mfisyspd3 on mfi0 mfisyspd3: 1907729MB (3907029168 sectors) SYSPD volume (deviceid: 5) mfisyspd3: SYSPD volume attached hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm1: at nid 20 and 24 on hdaa1 pcm2: at nid 27,33 and 25 on hdaa1 mfi0: 4051 (boot + 31s/0x0002/info) - Inserted: PD 00(e0xff/s0) Info: enclPd=ffff, scsiType=0, portMap=02, sasAddr=4433221107000000,0000000000000000 mfi0: 4052 (boot + 31s/0x0002/WARN) - PD 00(e0xff/s0) is not a certified drive mfi0: 4053 (boot + 31s/0x0002/info) - Inserted: PD 01(e0xff/s1) mfi0: 4054 (boot + 31s/0x0002/info) - Inserted: PD 01(e0xff/s1) Info: enclPd=ffff, scsiType=0, portMap=01, sasAddr=4433221106000000,uhub1: 4 ports with 4 removable, self powered uhub0: 2 ports with 2 removable, self powered 0000000000000000 mfi0: 4055 (boot + 31s/0x0002/WARN) - PD 01(e0xff/s1) is not a certified drive mfi0: 4056 (boot + 31s/0x0002/info) - Inserted: PD 04(e0xff/s4) mfi0: 4057 (boot + 31s/0x0002/info) - Inserted: PD 04(e0xff/s4) Info: enclPd=ffff, scsiType=0, portMap=03, sasAddr=4433221103000000,0000000000000000 mfi0: 4058 (boot + 31s/0x0002/WARN) - PD 04(e0xff/s4) is not a certified drive mfi0: uhub2: 2 ports with 2 removable, self powered 4059 (boot + 31s/0x0002/info) - Inserted: PD 05(e0xff/s5) mfi0: 4060 (boot + 31s/0x0002/info) - Inserted: PD 05(e0xff/s5) Info: enclPd=ffff, scsiType=0, portMap=00, sasAddr=4433221102000000,0000000000000000 mfi0: 4061 (boot + 31s/0x0002/WARN) - PD 05(e0xff/s5) is not a certified drive mfi0: 4062 (468502190s/0x0020/info) - Time established as 11/05/14 11:29:50; (32 seconds since power on) mfi0: 4063 (468502203s/0x0020/info) - Time established as 11/05/14 11:30:03; (45 seconds since power on) mfi0: 4064 (468502213s/0x0002/info) - Unexpected sense: PD 04(e0xff/s4) Path 4433221103000000, CDB: 28 00 1d cf 32 b0 00 00 01 00, Sense: 6/28/00 mfi0: 4065 (468502213s/0x0002/info) - Unexpected sense: PD 00(e0xff/s0) Path 4433221107000000, CDB: 28 00 e8 e0 88 b0 00 00 01 00, Sense: 5/21/00 mfi0: 4066 (468502213s/0x0002/info) - Unexpected sense: PD 01(e0xff/s1) Path 4433221106000000, CDB: 28 00 e8 e0 88 b0 00 00 01 00, Sense: 5/21/00 mfi0: 4067 (468502213s/0x0002/info) - Unexpected sense: PD 05(e0xff/s5) Path 4433221102000000, CDB: 28 00 e8 e0 88 b0 00 00 01 00, Sense: 5/21/00 ugen0.2: at usbus0 uhub3: on usbus0 mfi0: 4068 (468502261s/0x0020/info) - Host driver is loaded and operational ses0 at ahciem0 bus 0 scbus1 target 0 lun 0 ses0: cd0 at ahcich0 bus 0 scbus0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: Serial Number MRGTT5508135HM6C9A00 cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed SEMB S-E-S 2.00 device ses0: SEMB SES Device ugen2.2: at usbus2 uhub4: on usbus2 Netvsc initializing... SMP: AP CPU #21 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #12 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #23 Launched! SMP: AP CPU #11 Launched! SMP: AP CPU #13 Launched! SMP: AP CPU #18 Launched! SMP: AP CPU #14 Launched! SMP: AP CPU #22 Launched! SMP: AP CPU #17 Launched! SMP: AP CPU #8 Launched! SMP: AP CPU #9 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #20 Launched! SMP: AP CPU #19 Launched! SMP: AP CPU #15 Launched! SMP: AP CPU #16 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #10 Launched! SMP: AP CPU #2 Launched! GEOM: mfisyspd0: the secondary GPT table is corrupt or invalid. GEOM: mfisyspd0: using the primary only -- recovery suggested. Timecounter "TSC" frequency 1995238812 Hz quality 1000 GEOM: mfisyspd1: the secondary GPT table is corrupt or invalid. GEOM: mfisyspd1: using the primary only -- recovery suggested. GEOM: mfisyspd2: the secondary GPT table is corrupt or invalid. GEOM: mfisyspd2: using the primary only -- recovery suggested. uhub3: 6 ports with 6 removable, self powered GEOM: mfisyspd3: the secondary GPT table is corrupt or invalid. GEOM: mfisyspd3: using the primary only -- recovery suggested. Root mount waiting for: usbus2 ugen2.4: at usbus2 uhub5: on usbus2 uhub5: MTT enabled uhub5: 3 ports with 3 removable, self powered Root mount waiting for: usbus2 ugen2.5: at usbus2 umass0: on usbus2 umass0: SCSI over Bulk-Only; quirks = 0x4000 umass0:2:0:-1: Attached to scbus2 da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: Serial Number 20070818000000000 da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da0: quirks=0x2 da1 at umass-sim0 bus 0 scbus2 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: Serial Number 20070818000000000 da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da1: quirks=0x2 ugen2.6: at usbus2 da2 at umass-sim0 bus 0 scbus2 target 0 lun 2 uhub6: da2: on usbus2 Removable Direct Access SCSI-0 device uhub6: da2: Serial Number 20070818000000000 MTT enabled da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da2: quirks=0x2 da3 at umass-sim0 bus 0 scbus2 target 0 lun 3 da3: Removable Direct Access SCSI-0 device uhub6: da3: Serial Number 20070818000000000 3 ports with 3 removable, self powered da3: 40.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present da3: quirks=0x2 Root mount waiting for: usbus2 ugen2.7: at usbus2 umass1: on usbus2 umass1: SCSI over Bulk-Only; quirks = 0x4000 umass1:3:1:-1: Attached to scbus3 da4 at umass-sim1 bus 1 scbus3 target 0 lun 0 da4: Removable Direct Access SCSI-4 device da4: Serial Number F131C0008E4C da4: 40.000MB/s transfers da4: Attempt to query device size failed: NOT READY, Medium not present da4: quirks=0x2 Root mount waiting for: usbus2 ugen2.8: at usbus2 ukbd0: on usbus2 kbd2 at ukbd0 Trying to mount root from ufs:/dev/gptid/d6307cbc-51eb-11e3-aa5d-b8ca3aa40c50 [rw]... Enter full pathname of shell or RETURN for /bin/sh: # zpool status panic: solaris assert: ddt_object_info(ddt, type, class, &doi) == 0, file: /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/ddt.c, line: 132 cpuid = 12 KDB: stack backtrace: #0 0xffffffff808e7e90 at kdb_backtrace+0x60 #1 0xffffffff808af975 at panic+0x155 #2 0xffffffff81a2c202 at assfail+0x22 #3 0xffffffff8181a3cc at ddt_load+0x17c #4 0xffffffff8185035c at spa_load+0x10ac #5 0xffffffff8184ff8d at spa_load+0xcdd #6 0xffffffff8184ed3f at spa_load_best+0x5f #7 0xffffffff8184b9fc at spa_open_common+0xfc #8 0xffffffff8184bd51 at spa_get_stats+0x51 #9 0xffffffff81893015 at zfs_ioc_pool_stats+0x25 #10 0xffffffff81890a38 at zfsdev_ioctl+0x478 #11 0xffffffff807ac1df at devfs_ioctl_f+0x11f #12 0xffffffff808fdfae at kern_ioctl+0x22e #13 0xffffffff808fdd2f at sys_ioctl+0x11f #14 0xffffffff80c8f127 at amd64_syscall+0x357 #15 0xffffffff80c7581b at Xfast_syscall+0xfb Uptime: 32s To: d@pbox.org Cc: Bcc: Subject: d Reply-To: X-Whois: LB895-ARIN, LB2868-RIPE, LBR262