From owner-freebsd-questions Sun Jul 21 11:18:26 2002 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 629B737B406; Sun, 21 Jul 2002 11:18:24 -0700 (PDT) Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CC1843E5E; Sun, 21 Jul 2002 11:18:23 -0700 (PDT) (envelope-from jeff@jrpenn.demon.co.uk) Received: from jrpenn.demon.co.uk ([194.222.241.254]) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 17WLHh-0007ac-0U; Sun, 21 Jul 2002 19:18:22 +0100 Received: from jrpenn.demon.co.uk (localhost [127.0.0.1]) by jrpenn.demon.co.uk (8.12.3/8.12.3) with ESMTP id g6LIK1VA000480; Sun, 21 Jul 2002 19:20:02 +0100 (BST) (envelope-from jeff@jrpenn.demon.co.uk) Received: (from jeff@localhost) by jrpenn.demon.co.uk (8.12.3/8.12.3/Submit) id g6LGfPDQ000350; Sun, 21 Jul 2002 17:41:25 +0100 (BST) (envelope-from jeff) Date: Sun, 21 Jul 2002 17:41:25 +0100 From: Jeff Penn To: freebsd-questions@freebsd.org Cc: "Greg 'groggy' Lehey" Subject: Re: rejecting partition in BSD label Message-ID: <20020721164125.GA279@jrpenn.demon.co.uk> Mail-Followup-To: freebsd-questions@freebsd.org, Greg 'groggy' Lehey References: <20020719220644.GA1682@jrpenn.demon.co.uk> <20020721014949.GA61344@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020721014949.GA61344@wantadilla.lemis.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jul 21, 2002 at 11:19:49AM +0930, Greg 'groggy' Lehey wrote: > > I originally installed freebsd on slice 1, but have now moved it using > > dump/restore to slice 4. This process caused the following problem > > > > Mounting root from ufs:/dev/ad0s4a > > ad0s1: raw partition size != slice size > > ad0s1: start 63, end 62495, size 62433 > > ad0s1c: start 63, end 14335775, size 14335713 > > ad0s1: truncating raw partition > > ad0s1: rejecting partition in BSD label: it isn't entirely within the slice > > .... > > ad0s1h: start 7217215, end 10944574, size 3727360 > Use disklabel -e on the raw partitions in question (ad0s1, etc.). I should have mentioned in my original email that slice 1 has been resized and wiped using newfs_msdos. Running 'disklabel -e -r ad0s1' only shows partition ad0s1c, I can't work out where the system is finding information for all 8 partitions (a-h). The above output is showing the original partitions, the output from disklabel below shows the current config. # /dev/ad0s1c: type: ESDI disk: ad0s1 .... 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 62433 0 unused 0 0 # (Cyl. 0 - 30*) Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message