From owner-freebsd-fs@FreeBSD.ORG Thu Dec 12 20:13:18 2013 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 AE6D5828; Thu, 12 Dec 2013 20:13:18 +0000 (UTC) Received: from smtp.peterschmitt.fr (gentiane.peterschmitt.fr [213.239.219.91]) by mx1.freebsd.org (Postfix) with ESMTP id 09994139A; Thu, 12 Dec 2013 20:13:18 +0000 (UTC) Received: from [10.3.3.27] (89-159-92-164.rev.dartybox.com [89.159.92.164]) by smtp.peterschmitt.fr (Postfix) with ESMTPSA id A0DD36275F; Thu, 12 Dec 2013 21:13:25 +0100 (CET) Message-ID: <52AA26DA.30809@peterschmitt.fr> Date: Thu, 12 Dec 2013 21:12:58 +0000 From: Florent Peterschmitt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Artem Belevich , Andriy Gapon Subject: Re: 10.0-BETA4 (upgraded from 9.2-RELEASE) zpool upgrade -> boot failure References: <52A6EB67.3000103@peterschmitt.fr> <52A99917.2050200@FreeBSD.org> <52A9AA45.2000907@peterschmitt.fr> <52A9ABEF.8080509@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1GNg9HGTH594fBa6B0N9X6eT3MKBfTrDH" Cc: freebsd-fs , freebsd-stable stable 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, 12 Dec 2013 20:13:18 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --1GNg9HGTH594fBa6B0N9X6eT3MKBfTrDH Content-Type: multipart/mixed; boundary="------------010503040006050903090902" This is a multi-part message in MIME format. --------------010503040006050903090902 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Le 12/12/2013 18:13, Artem Belevich a =E9crit : > On Thu, Dec 12, 2013 at 4:28 AM, Andriy Gapon wrote: >>> Yes, sorry. You can find here the script I use to install: >>> >>> https://github.com/Leryan/freebsd-zfs-install/blob/master/zfs.sh >>> >=20 > From zfs.sh: >> # Zero ZFS sectors >> dd if=3D/dev/zero of=3D/dev/${ada}p3 count=3D560 bs=3D512 >=20 > That destroys only half of ZFS uberblocks. The other half is placed at > the top of the vdev slices in the pool. > There were few reports recently that such 'orphan' ZFS uberblocks were > messing up boot on recent FreeBSD versions. >=20 > Considering lack of details on how exactly your boot fails, this may > or may not be the issue in your case. >=20 > do "zdb -l /dev/ada0" (and all other slices on ada0) and check > whether it reports anything unexpected. >=20 > --Artem rescue-bsd# zdb -l /dev/ada0 -------------------------------------------- LABEL 0 -------------------------------------------- failed to unpack label 0 -------------------------------------------- LABEL 1 -------------------------------------------- failed to unpack label 1 -------------------------------------------- LABEL 2 -------------------------------------------- failed to unpack label 2 -------------------------------------------- LABEL 3 -------------------------------------------- failed to unpack label 3 Well=85 this sounds bad, right? I joined the dmesg of the last successful boot. Also here is the zfs list: NAME USED AVAIL REFER MOUNTPOINT tank 246G 203G 31K none tank/root 246G 203G 697M /mnt tank/root/tmp 830K 203G 830K /mnt/tmp tank/root/usr 244G 203G 278M /mnt/usr tank/root/usr/local 244G 203G 244G /mnt/usr/local tank/root/var 1.39G 203G 1.39G /mnt/var There is no snapshots but I used snapshots some times. rescue-bsd# zpool status pool: tank state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 gpt/zfs-root ONLINE 0 0 0 errors: No known data errors And zpool get all joined. Currently the system is booted in rescue with a 9.2-RELEASE amd64. Cannot do best. --=20 Florent Peterschmitt | Please: florent@peterschmitt.fr | * Avoid HTML/RTF in E-mail. +33 (0)6 64 33 97 92 | * Send PDF for documents. http://florent.peterschmitt.fr | * Trim your quotations. Really. Proudly powered by Open Source | Thank you :) --------------010503040006050903090902 Content-Type: text/plain; charset=UTF-8; name="dmesg-beta3.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg-beta3.txt" Copyright (c) 1992-2013 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-BETA3 #0 r257580: Sun Nov 3 19:43:01 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 module_register: module pci/em already exists! Module pci/em failed to register: 17 module_register: module pci/lem already exists! Module pci/lem failed to register: 17 CPU: Intel(R) Atom(TM) CPU N2800 @ 1.86GHz (1866.71-MHz K8-class CPU) Origin =3D "GenuineIntel" Id =3D 0x30661 Family =3D 0x6 Model =3D 0x= 36 Stepping =3D 1 Features=3D0xbfebfbff Features2=3D0x40e39d AMD Features=3D0x20100800 AMD Features2=3D0x1 TSC: P-state invariant, performance statistics real memory =3D 2147483648 (2048 MB) avail memory =3D 2030194688 (1936 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP/HT): APIC ID: 3 ioapic0: Changing APIC ID to 8 ioapic0 irqs 0-23 on motherboard lapic0: Forcing LINT1 to edge trigger random: initialized kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 acpi0: reservation of 0, 4000 (3) failed cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 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-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x30d0-0x30d7 mem 0x80500000-0x805= fffff irq 16 at device 2.0 on pci0 pcib1: at device 28.0 on pci0 pci1: on pcib1 em0: port 0x2000-0x201f mem = 0x80400000-0x8041ffff,0x80000000-0x803fffff,0x80420000-0x80423fff irq 16 = at device 0.0 on pci1 em0: Using MSIX interrupts with 3 vectors em0: Ethernet address: 00:22:4d:aa:77:45 uhci0: port 0x30a0-0x30bf irq = 23 at device 29.0 on pci0 uhci0: LegSup =3D 0x2f00 usbus0 on uhci0 uhci1: port 0x3080-0x309f irq = 19 at device 29.1 on pci0 uhci1: LegSup =3D 0x2f00 usbus1 on uhci1 uhci2: port 0x3060-0x307f irq = 18 at device 29.2 on pci0 uhci2: LegSup =3D 0x2f00 usbus2 on uhci2 uhci3: port 0x3040-0x305f irq = 16 at device 29.3 on pci0 uhci3: LegSup =3D 0x2f00 usbus3 on uhci3 ehci0: mem 0x80600400-0x80600= 7ff irq 23 at device 29.7 on pci0 usbus4: EHCI version 1.0 usbus4 on ehci0 pcib2: at device 30.0 on pci0 pci2: on pcib2 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0x30c8-0x30cf,0x30dc-0x30df= ,0x30c0-0x30c7,0x30d8-0x30db,0x3020-0x302f mem 0x80600000-0x806003ff irq = 19 at device 31.2 on pci0 ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 acpi_button1: on acpi0 ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 orm0: at iomem 0xcf800-0xd07ff,0xd0800-0xd17ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> 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] est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 est2: on cpu2 p4tcc2: on cpu2 est3: on cpu3 p4tcc3: on cpu3 fuse-freebsd: version 0.4.4, FUSE ABI 7.8 ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is pr= esent; to enable, add "vfs.zfs.prefetch_disable=3D0" to /boot/loader= =2Econf. ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec random: unblocking device. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ugen2.1: at usbus2 uhub0: on usbus2 ugen1.1: at usbus1 uhub1: on usbus1 ugen0.1: at usbus0 uhub2: on usbus0 ugen4.1: at usbus4 uhub3: on usbus4 ugen3.1: at usbus3 uhub4: on usbus3 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-8 SATA 3.x device ada0: Serial Number 23EJTDVPS ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 Netvsc initializing... lapic2: Forcing LINT1 to edge trigger SMP: AP CPU #2 Launched! lapic1: Forcing LINT1 to edge trigger SMP: AP CPU #1 Launched! lapic3: Forcing LINT1 to edge trigger SMP: AP CPU #3 Launched! Timecounter "TSC" frequency 1866712127 Hz quality 1000 Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0 uhub1: 2 ports with 2 removable, self powered uhub0: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered Root mount waiting for: usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 uhub3: 8 ports with 8 removable, self powered ugen4.2: at usbus4 uhub5: o= n usbus4 Root mount waiting for: usbus4 uhub5: 4 ports with 4 removable, self powered Trying to mount root from zfs:tank/root []... --------------010503040006050903090902 Content-Type: text/plain; charset=UTF-8; name="zpool-get-all.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="zpool-get-all.txt" rescue-bsd# zpool get all NAME PROPERTY VALUE = SOURCE tank size 456G = - tank capacity 53% = - tank altroot /mnt = local tank health ONLINE = - tank guid 14109252772653171024 = default tank version - = default tank bootfs tank/root = local tank delegation on = default tank autoreplace off = default tank cachefile /tmp/zpool.cache = local tank failmode wait = default tank listsnapshots off = default tank autoexpand off = default tank dedupditto 0 = default tank dedupratio 1.00x = - tank free 210G = - tank allocated 246G = - tank readonly off = - tank comment - = default tank expandsize 0 = - tank freeing 0 = default tank feature@async_destroy enabled = local tank feature@empty_bpobj enabled = local tank feature@lz4_compress enabled = local tank unsupported@com.joyent:multi_vdev_crash_dump inactive = local --------------010503040006050903090902-- --1GNg9HGTH594fBa6B0N9X6eT3MKBfTrDH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSqibfAAoJEFr01BkajbiBwnsP/1G5NGWTTh2V5el3XDNbP/oq CSCcyL/grqRavbmaglRHy3/rY3jAsROOHrfg+eBRWadvS8UKuFpcfkYURnSbOjWs TN6F1d+aO6WqG+WPC4nA42p/WKHrGRlUjFGh41PiD1QtjqydxwF4dZa0BJK96B8f tb8Txd0BsXVrfLm4BEd1KdhLODRk8NpPUuOuRMjO6NHk4tZYNZBFUWeWX2xjv+bb ZcfIYtQXeOlEtBFjnjXY9IdEMV1Gmu97bqKmOmd8oQOLbAOfxfjif4jQ+3y+kQtc PnDNXl+94bjM9XqPG2kTSGYNcYr2V43uZBpp9VMPmDNEE9cet5TCHEqPkKoeaZT4 zwPBVXEqsBcyJa+nl9hdjanergzRRZkDi0r0Tq+jV2a0fnr8NmJxOfTrZ4FGbqxq Vbqm55z0u2VNveTiF64zFLKJ+5F7hoitPLjEjlLU3Al1FcqRgXPOPAlzkG8Zdyjd vbxPgAqt1L9aiO6dd7FXHGKWBzNJJJ/E9mQbGmcWFzbEOuhKHt/LV9duAGX4netg mVqloZ/j8roDO35JCBwSw4O4i70WaIT8U0/e8IuzUMMp6dchSxwR5vF7Hh4c4IhS wfeoZXeS5xR6Sz3CpKhez+/7YQsJRZfwWnntvPkGcR+JaaR10TYeP/uElrGKJaFG g+3o22P00+cnliQ/uQUG =s2dV -----END PGP SIGNATURE----- --1GNg9HGTH594fBa6B0N9X6eT3MKBfTrDH--