From owner-freebsd-questions@FreeBSD.ORG Fri Oct 17 12:22:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCFCA106568E for ; Fri, 17 Oct 2008 12:22:09 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by mx1.freebsd.org (Postfix) with ESMTP id 0C5098FC08 for ; Fri, 17 Oct 2008 12:22:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.westchester.pa.mail.comcast.net ([76.96.62.52]) by QMTA04.westchester.pa.mail.comcast.net with comcast id TluX1a00J17dt5G54oN8Fu; Fri, 17 Oct 2008 12:22:08 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA13.westchester.pa.mail.comcast.net with comcast id ToN71a00B2P6wsM3ZoN7rh; Fri, 17 Oct 2008 12:22:08 +0000 X-Authority-Analysis: v=1.0 c=1 a=526rwrygDQ8A:10 a=mQ5bP1b1WGUA:10 a=QycZ5dHgAAAA:8 a=_I4HfBsDXZMqN6aEHQ0A:9 a=an6f7ZMqxEkxVUfhrd0A:7 a=R9xT77DrsJZ5AumRGg5hXGoE6JYA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 33107C9432; Fri, 17 Oct 2008 05:22:07 -0700 (PDT) Date: Fri, 17 Oct 2008 05:22:07 -0700 From: Jeremy Chadwick To: andys Message-ID: <20081017122207.GA21157@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: bsdlabel partiton c error message on new install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 12:22:09 -0000 On Fri, Oct 17, 2008 at 02:13:45PM +0200, andys wrote: > Hi, > > on a newly installed FreeBSD 7.0 system on a dell 1950 server I see the > following error from bsdlabel. Is there any known issues with this or is > the only reasonable explanation that I have managed to mess it up without > even knowing? :P And should I manually change the partition c to fix the > prob? Is this safe to do? > > bsdlabel -A /dev/da0s1 > # /dev/da0s1: > type: SCSI > disk: da0s1 > label: > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 17750 > sectors/unit: 285155328 > 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: 20971520 0 4.2BSD 2048 16384 28552 > b: 20971520 75497472 swap > c: 285153687 0 unused 0 0 # "raw" part, > don't edit > d: 20971520 20971520 4.2BSD 2048 16384 28552 > e: 20971520 41943040 4.2BSD 2048 16384 28552 > f: 12582912 62914560 4.2BSD 2048 16384 28552 > bsdlabel: partition c doesn't cover the whole unit! > bsdlabel: An incorrect partition c may cause problems for standard system > utilities It's complaining that 285153687 (see "c" partition) does not equal 285155328 (see "sectors/unit" up top). > thanks for any advice, Im not really confident with the FreeBSD disk > management as I havent used it much, I'm left wondering why you're messing around with bsdlabel on a FreeBSD install in the first place. :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |