Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2002 17:41:25 +0100
From:      Jeff Penn <jeff@jrpenn.demon.co.uk>
To:        freebsd-questions@freebsd.org
Cc:        "Greg 'groggy' Lehey" <grog@freebsd.org>
Subject:   Re: rejecting partition in BSD label
Message-ID:  <20020721164125.GA279@jrpenn.demon.co.uk>
In-Reply-To: <20020721014949.GA61344@wantadilla.lemis.com>
References:  <20020719220644.GA1682@jrpenn.demon.co.uk> <20020721014949.GA61344@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020721164125.GA279>