From owner-freebsd-stable@FreeBSD.ORG Sun Jun 14 23:08:56 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1D741065678 for ; Sun, 14 Jun 2009 23:08:56 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id B2B168FC17 for ; Sun, 14 Jun 2009 23:08:56 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.3/8.14.3/NETPLEX) with ESMTP id n5EN8oGw028154; Sun, 14 Jun 2009 19:08:50 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.0 (mail.netplex.net [204.213.176.10]); Sun, 14 Jun 2009 19:08:50 -0400 (EDT) Date: Sun, 14 Jun 2009 19:08:50 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Dan Allen In-Reply-To: <1407C6EC-873D-49AB-9F8C-6A4A6FFA9DC3@airwired.net> Message-ID: References: <3a142e750906131642n4d00469dh779e54da231bf6d3@mail.gmail.com> <1407C6EC-873D-49AB-9F8C-6A4A6FFA9DC3@airwired.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "Paul B. Mahol" , FreeBSD-STABLE Mailing List Subject: Re: Let's back out LOADER_ZFS_SUPPORT from STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 23:08:57 -0000 On Sun, 14 Jun 2009, Dan Allen wrote: > > On 14 Jun 2009, at 1:27 AM, Daniel Eischen wrote: > >> From one of your older emails, you mention you are using >> ad0s2a as / and ad0s2b as swap, and then say that ad0s2c >> is unused (I may have the ad0s2 part wrong). But ad0s2c >> should be the entire slice (or partition depending on >> the wording you are used to). >> >> How about posting a relevent fdisk and disklabel (or >> gpart show) so we can see what your slices and partitions >> look like (fdisk /dev/ad0, disklabel /dev/ad0s2). > > ad0s2c is the entire slice as you thought it should be. > > Here is fdisk and bsdlabel /dev/ad0s2: > > ******* Working on device /dev/ad0 ******* > parameters extracted from in-core disklabel are: > cylinders=232581 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=232581 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),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) > start 63, size 188747622 (92161 Meg), flag 0 > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 10/ sector 63 > The data for partition 2 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 188747685, size 45688860 (22309 Meg), flag 80 (active) > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 14/ sector 63 > The data for partition 3 is: > > The data for partition 4 is: > > > > > # /dev/ad0s2: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 43591708 2097152 4.2BSD 0 0 0 > b: 2097152 0 swap > c: 45688860 0 unused 0 0 # "raw" part, don't > edit Seems weird to see swap at offset 0 and partition a after swap. I wonder if that is screwing things up. And shouldn't the offset for your first slice start at offset 188747685 (from fdisk)? This is from my system: $ fdisk /dev/ad0 ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=155061 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=155061 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 6 (0x06),(Primary DOS, 16 bit FAT (>= 32MB)) start 63, size 20964762 (10236 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 20964825, size 135331560 (66079 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: The data for partition 4 is: $ disklabel /dev/ad0s2 # /dev/ad0s2: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 20964825 4.2BSD 2048 16384 28552 b: 4194304 23061977 swap c: 135331560 20964825 unused 0 0 d: 4194304 27256281 4.2BSD 2048 16384 28552 e: 4194304 31450585 4.2BSD 2048 16384 28552 f: 16777216 35644889 4.2BSD 2048 16384 28552 g: 103874280 52422105 4.2BSD 2048 16384 28536 -- DE