From owner-freebsd-current Wed Feb 23 3:48:19 2000 Delivered-To: freebsd-current@freebsd.org Received: from picalon.gun.de (picalon.gun.de [192.109.159.1]) by hub.freebsd.org (Postfix) with ESMTP id 4FAD237B7DF for ; Wed, 23 Feb 2000 03:48:15 -0800 (PST) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by picalon.gun.de (8.9.3/8.9.3) id MAA19744 for current@FreeBSD.ORG; Wed, 23 Feb 2000 12:45:24 +0100 (MET) >Received: (from andreas@localhost) by klemm.gtn.com (8.9.3/8.9.3) id MAA06249 for current@FreeBSD.ORG; Wed, 23 Feb 2000 12:19:29 +0100 (CET) (envelope-from andreas) Date: Wed, 23 Feb 2000 12:19:29 +0100 From: Andreas Klemm To: current@FreeBSD.ORG Subject: disklabels partition sizes differ from FreeBSDs syslog messages on mounting Message-ID: <20000223121928.A803@titan.klemm.gtn.com> Mime-Version: 1.0 X-Mailer: Mutt 1.0.1i X-Operating-System: FreeBSD 4.0-CURRENT SMP X-Disclaimer: A free society is one where it is safe to be unpopular Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi ! I'm worried about this message and don't know if I may forget about it or not. I see a discrepany of disklabel partition sizes and those syslog messages I get, when I mount something from my 40GB EIDE disk. I did a normal FreeBSD 4.0 SNAP installation on a new 40 GB disk. On the largest filesystem I wanted to backup my old system. So I mounted now the ata disk under my SCSI environment, to do a backup. Please note: I did no manual fiddeling with disklabel or such on the EIDE disk, it was a normal installation from self burned CD and doing a custom installation. When I try to mount the largest filesystem from the EIDE disk I get these syslog messages and this worries me: ad4s1d: start 24322111, end 80035829, size 55713719 ad4s1: rejecting partition in BSD label: it isn't entirely within the slice ad4s1f: start 5447743, end 13836350, size 8388608 ad4s1: rejecting partition in BSD label: it isn't entirely within the slice ad4s1g: start 13836351, end 15933502, size 2097152 ad4s1: rejecting partition in BSD label: it isn't entirely within the slice ad4s1h: start 15933503, end 24322110, size 8388608 Look at the different partition sizes, I made a tabular, some values are equal, some greater, some less, no clear picture to me: ad4s1d: start 24322111, end 80035829, size 55713719 disklabel -r at4 value: 37075257 < ad4s1f: start 5447743, end 13836350, size 8388608 disklabel -r at4 value: 8388608 = ad4s1g: start 13836351, end 15933502, size 2097152 disklabel -r at4 value: 4194304 > ad4s1h: start 15933503, end 24322110, size 8388608 disklabel -r at4 value: 8388608 = kernel in core disklabel and on the disk are the same: This is thew exact output: disklabel -r ad4 # /dev/rad4c: type: ESDI disk: ad4s2 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 4217 sectors/unit: 67746105 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 262144 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 16*) b: 1048576 262144 swap # (Cyl. 16*- 81*) c: 67746105 0 unused 0 0 # (Cyl. 0 - 4216) d: 37075257 30670848 4.2BSD 1024 8192 16 # (Cyl. 1909*- 4216*) e: 8388608 1310720 4.2BSD 1024 8192 16 # (Cyl. 81*- 603*) f: 8388608 9699328 4.2BSD 1024 8192 16 # (Cyl. 603*- 1125*) g: 4194304 18087936 4.2BSD 1024 8192 16 # (Cyl. 1125*- 1387*) h: 8388608 22282240 4.2BSD 1024 8192 16 # (Cyl. 1387*- 1909*) And here for reference the output of /stand/sysinstall: Disk name: ad4 FDISK Partition Editor DISK Geometry: 4982 cyls/255 heads/63 sectors = 80035830 sectors Offset Size End Name PType Desc Subtype Flags 0 63 62 - 6 unused 0 63 12289662 12289724 ad4s1 2 fat 11 12289725 67746105 80035829 ad4s2 3 freebsd 165 C> 80035830 5418 80041247 - 6 unused 0 > And here what the kernel says: ad4: 39082MB [79406/16/63] at ata2-master using UDMA33 Any thoughts ... should I simply install or better wait ??? ;-) -- Andreas Klemm http://www.FreeBSD.ORG/~andreas http://www.freebsd.org/~fsmp/SMP/SMP.html powered by Symmetric MultiProcessor FreeBSD Get new songs from our band: http://www.freebsd.org/~andreas/64bits/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message