From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 13 06:08:11 2014 Return-Path: Delivered-To: freebsd-bugs@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 5BD6216E for ; Thu, 13 Nov 2014 06:08:11 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4340D32E for ; Thu, 13 Nov 2014 06:08:11 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sAD68Bg3078862 for ; Thu, 13 Nov 2014 06:08:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 194983] New: ZFS pool fails to import after r274337 (ZFS large block support) Date: Thu, 13 Nov 2014 06:08:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: marcus@blazingdot.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2014 06:08:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194983 Bug ID: 194983 Summary: ZFS pool fails to import after r274337 (ZFS large block support) Product: Base System Version: 11.0-CURRENT Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: marcus@blazingdot.com Created attachment 149351 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149351&action=edit Boot messages Hi, I have two pools: "zroot" (imports fine) and "archive", which will not import after -r274337. I have compiled both a r274337 kernel and r274334 (the commit before it) and the pool will import with the earlier kernel. During boot, I get: Solaris: WARNING: can't open objset for archive/oldmac Solaris: WARNING: can't open objset for archive/archive Solaris: WARNING: can't open objset for archive/pics Solaris: WARNING: can't open objset for archive/music Solaris: WARNING: can't open objset for archive/Win7 Solaris: WARNING: can't open objset for archive/win98 Solaris: WARNING: can't open objset for archive This repeats several times, with some usb initialization interspersed. See dmesg.boot (attached). These messages continue to accumulate in dmesg. [mreid@sol /usr/home/mreid]$ zpool status pool: archive state: FAULTED status: The pool metadata is corrupted and the pool cannot be opened. action: Destroy and re-create the pool from a backup source. see: http://illumos.org/msg/ZFS-8000-72 scan: scrub repaired 0 in 1h16m with 0 errors on Sat Oct 18 03:26:54 2014 config: NAME STATE READ WRITE CKSUM archive FAULTED 0 0 0 mirror-0 ONLINE 0 0 0 ada0s2 ONLINE 0 0 0 ada1s1 ONLINE 0 0 0 pool: zroot state: ONLINE scan: scrub repaired 0 in 0h0m with 0 errors on Wed Nov 12 21:25:39 2014 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 ada2p2 ONLINE 0 0 0 errors: No known data errors Note that the pool is made up of two mbr partitions (ada0 also serves as a win7 boot disk). Here is some partition info: [mreid@sol /usr/home/mreid]$ fdisk ada0 ******* Working on device /dev/ada0 ******* parameters extracted from in-core disklabel are: cylinders=3876021 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=3876021 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 7 (0x07),(NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX) start 2048, size 204800 (100 Meg), flag 80 (active) beg: cyl 0/ head 32/ sector 33; end: cyl 12/ head 223/ sector 19 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 206848, size 1858822144 (907628 Meg), flag 0 beg: cyl 205/ head 3/ sector 20; end: cyl 50/ head 12/ sector 44 The data for partition 3 is: sysid 7 (0x07),(NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX) start 1859028992, size 2047997952 (999999 Meg), flag 0 beg: cyl 1023/ head 254/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: [mreid@sol /usr/home/mreid]$ fdisk ada1 ******* Working on device /dev/ada1 ******* parameters extracted from in-core disklabel are: cylinders=3876021 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=3876021 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 1858823505 (907628 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 870/ head 15/ sector 63 The data for partition 2 is: sysid 7 (0x07),(NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX) start 1858824192, size 2048200704 (1000098 Meg), flag 0 beg: cyl 1023/ head 254/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: The data for partition 4 is: [mreid@sol /usr/home/mreid]$ gpart list Geom name: ada0 modified: false state: OK fwheads: 16 fwsectors: 63 last: 3907029167 first: 63 entries: 4 scheme: MBR Providers: 1. Name: ada0s1 Mediasize: 104857600 (100M) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 attrib: active rawtype: 7 length: 104857600 offset: 1048576 type: ntfs index: 1 end: 206847 start: 2048 2. Name: ada0s2 Mediasize: 951716937728 (886G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 rawtype: 165 length: 951716937728 offset: 105906176 type: freebsd index: 2 end: 1859028991 start: 206848 3. Name: ada0s3 Mediasize: 1048574951424 (977G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 rawtype: 7 length: 1048574951424 offset: 951822843904 type: ntfs index: 3 end: 3907026943 start: 1859028992 Consumers: 1. Name: ada0 Mediasize: 2000398934016 (1.8T) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 Geom name: ada1 modified: false state: OK fwheads: 16 fwsectors: 63 last: 3907029167 first: 63 entries: 4 scheme: MBR Providers: 1. Name: ada1s1 Mediasize: 951717634560 (886G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 3584 Mode: r0w0e0 attrib: active rawtype: 165 length: 951717634560 offset: 32256 type: freebsd index: 1 end: 1858823567 start: 63 2. Name: ada1s2 Mediasize: 1048678760448 (977G) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 rawtype: 7 length: 1048678760448 offset: 951717986304 type: ntfs index: 2 end: 3907024895 start: 1858824192 Consumers: 1. Name: ada1 Mediasize: 2000398934016 (1.8T) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 Please let me know if I can provide any more information. I can test patches, etc. -- You are receiving this mail because: You are the assignee for the bug.