From owner-freebsd-questions@FreeBSD.ORG Sat Sep 20 01:59:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B91C616A4B3 for ; Sat, 20 Sep 2003 01:59:46 -0700 (PDT) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CA6C43FEC for ; Sat, 20 Sep 2003 01:59:45 -0700 (PDT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id B3C0A2BC02 for ; Sat, 20 Sep 2003 18:59:42 +1000 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 1F365518EC; Sat, 20 Sep 2003 18:29:40 +0930 (CST) Date: Sat, 20 Sep 2003 18:29:40 +0930 From: Greg 'groggy' Lehey To: Guy Van Sanden Message-ID: <20030920085940.GK16686@wantadilla.lemis.com> References: <1064047468.9788.14.camel@cronos.home.vsb> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKtFalx5NIx0HZ72" Content-Disposition: inline In-Reply-To: <1064047468.9788.14.camel@cronos.home.vsb> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-questions@freebsd.org Subject: Re: Disklabe oddity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 08:59:46 -0000 --tKtFalx5NIx0HZ72 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [Format recovered--see http://www.lemis.com/email/email-format.html] Output wrapped. On Saturday, 20 September 2003 at 10:44:28 +0200, Guy Van Sanden wrote: > I get a strange message from disklabel: > Warning, partition c doesn't start at 0! > Warning, partition c doesn't cover the whole unit! > Warning, An incorrect partition c may cause problems for standard system > utilities > > What does this mean? Well, as it says, your c partition doesn't start at 0, so it also can't cover the whole unit: # size offset fstype [fsize bsize bps/cpg] c: 78156162 63 unused 0 0 # (Cyl. 0*-4864*) What part of that don't you understand? > The disk was formatted by the FreeBSD install procedure. If you haven't changed anything here, it would be interesting to know in more detail just what you did. To judge by the surprising number of partitions, you didn't take the defaults. > The system is an older Digital PC (3500) PII 333 Mhz. > The disk is a 40 GB IDE drive (WD) > > BTW, I'm looking for a safe way to 'grow' my rootfs, I've looked > arround before, but I'm still not clear on the right procedure for > it. Take a look at growfs(8). To do it right, you need space directly behind the root file system. Even Vinum won't help here. You could move the swap space elsewhere, for example. > I'm considering reinstalling the system with 5.2, reformatting the > disk, There's seldom a reason either to reinstall or to reformat. If you don't want anything of the current installation, reinstallation may be faster, however. > but I don't know if this will clear the error. You can clear the error by running disklabel -e /dev/ad0s1a in single user mode, and changing the length and offset of partition c (offset 0, add 63 to the size). Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers --tKtFalx5NIx0HZ72 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE/bBb8IubykFB6QiMRAjZRAJ4gBK9Ek0XJKTvdvWBNAGKMZmhbjwCeKc6w YlPyxwgIpwia/aznz6H1p00= =b/XC -----END PGP SIGNATURE----- --tKtFalx5NIx0HZ72--