From owner-freebsd-questions@FreeBSD.ORG Fri Jun 30 06:38:59 2006 Return-Path: X-Original-To: questions@freebsd.org 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 3036916A494; Fri, 30 Jun 2006 06:38:59 +0000 (UTC) (envelope-from morten@atreides.freenix.no) Received: from freenix.no (atreides.freenix.no [212.33.142.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1596A442A0; Fri, 30 Jun 2006 06:38:50 +0000 (GMT) (envelope-from morten@atreides.freenix.no) Received: from atreides.freenix.no (localhost [127.0.0.1]) by freenix.no (8.13.6/8.13.6) with ESMTP id k5U6chVF054866; Fri, 30 Jun 2006 08:38:44 +0200 (CEST) (envelope-from morten@atreides.freenix.no) Received: (from morten@localhost) by atreides.freenix.no (8.13.6/8.13.6/Submit) id k5U6chB7054865; Fri, 30 Jun 2006 08:38:43 +0200 (CEST) (envelope-from morten) Date: Fri, 30 Jun 2006 08:38:43 +0200 From: "Morten A. Middelthon" To: questions@freebsd.org, stable@freebsd.org Message-ID: <20060630063843.GA54234@freenix.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline X-PGP-Key: http://freenix.no/~morten/pgp.txt X-PGP-Key-FingerPrint: D48B 5C4E 1590 7DE6 08A0 6539 BECC F62E 829F DF6A X-Operating-System: FreeBSD 5.5-RELEASE-p1 X-Warning: So cunning you could brush your teeth with it. User-Agent: Mutt/1.5.11 Cc: Subject: Adjusting partition size with disklabel 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, 30 Jun 2006 06:38:59 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, long story short, I have a partition on a RAID5 array which after an accide= nt where I had to rebuild the array became smaller than it originally was. Her= e's the original size: amrd1: 1430505MB (2929674240 sectors) RAID 5 (degraded) and the new size after the rebuild: amrd1: 1430400MB (2929459200 sectors) RAID 5 (optimal) Is it possible to use 'bsdlabel -e' to shrink the partition down to a size which will fit the new size of the array? with regards, --=20 Morten A. Middelthon Which is worse: ignorance or apathy? Who knows? Who cares? --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEpMbzvsz2LoKf32oRAhcJAJ9OJsn+GWCEp34QdX0jfLnW345ynwCeJzw3 x2jxNBaA4e66XZWrJNDfgQQ= =3jHi -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--