Date: Thu, 17 Nov 2011 10:14:40 -0500 From: Justin Hibbits <jrh29@alumni.cwru.edu> To: "Andrey V. Elsukov" <ae@freebsd.org> Cc: Marcel Moolenaar <marcel@freebsd.org>, freebsd-ppc@freebsd.org Subject: Re: IBook G4 and FreeBSD 9.0-RC2: unable to create four slices on hard drive? Message-ID: <CAHSQbTBo43yL8ShwUDS893tztHeBJFPpP62erUiHSE2Ui28ypQ@mail.gmail.com> In-Reply-To: <4EC4F868.9020901@FreeBSD.org> References: <20111116224604.6403be5a.torfinn.ingolfsen@broadpark.no> <4EC4D537.4050704@FreeBSD.org> <20111117124742.50779e7a.torfinn.ingolfsen@broadpark.no> <4EC4F868.9020901@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2011/11/17 Andrey V. Elsukov <ae@freebsd.org> > On 17.11.2011 15:47, Torfinn Ingolfsen wrote: > > On Thu, 17 Nov 2011 13:34:47 +0400 > > "Andrey V. Elsukov" <ae@FreeBSD.org> wrote: > > > >> On 17.11.2011 1:46, Torfinn Ingolfsen wrote: > >>> As you can see, the drive is APM partitioned, and there is 16 G of > free space on it. > >>> g-ibook# gpart add -s 2G -t freebsd-swap ada0 > >>> gpart: index '4': No space left on device > >> > >> Can you show the output of `gpart list ada0`? > > > > Sure: > > root@kg-ibook# gpart list ada0 > > Geom name: ada0 > > modified: false > > state: OK > > fwheads: 16 > > fwsectors: 63 > > last: 117210239 > > first: 5 > > entries: 3 > ^^^ - this is why you get this error. > > This information is from the metadata. > I'm not familiar with APM partition table, but may be Marcel can suggest > something? > > -- > WBR, Andrey V. Elsukov > > Try recreating the partition table with geom. APM will create a partition table 'partition' big enough to hold (N round 4) partitions, so you'll need to tell it you want to create 8 partitions, or more than that. - Justin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTBo43yL8ShwUDS893tztHeBJFPpP62erUiHSE2Ui28ypQ>