Date: Sun, 14 Jun 2009 19:08:50 -0400 (EDT) From: Daniel Eischen <deischen@freebsd.org> To: Dan Allen <danallen46@airwired.net> Cc: "Paul B. Mahol" <onemda@gmail.com>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: Let's back out LOADER_ZFS_SUPPORT from STABLE Message-ID: <Pine.GSO.4.64.0906141903300.14204@sea.ntplx.net> In-Reply-To: <1407C6EC-873D-49AB-9F8C-6A4A6FFA9DC3@airwired.net> References: <E2C78331-3407-44BE-BF32-0A24E86B0F09@airwired.net> <3a142e750906131642n4d00469dh779e54da231bf6d3@mail.gmail.com> <F878F546-F141-4FF8-9AC9-C553F4E560A4@airwired.net> <Pine.GSO.4.64.0906140323320.10803@sea.ntplx.net> <1407C6EC-873D-49AB-9F8C-6A4A6FFA9DC3@airwired.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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: > <UNUSED> > The data for partition 4 is: > <UNUSED> > > > > # /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: <UNUSED> The data for partition 4 is: <UNUSED> $ 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0906141903300.14204>