Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2011 12:47:42 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-ppc@freebsd.org
Subject:   Re: IBook G4 and FreeBSD 9.0-RC2: unable to create four slices on hard drive?
Message-ID:  <20111117124742.50779e7a.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <4EC4D537.4050704@FreeBSD.org>
References:  <20111116224604.6403be5a.torfinn.ingolfsen@broadpark.no> <4EC4D537.4050704@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
scheme: APM
Providers:
1. Name: ada0s2
   Mediasize: 819200 (800k)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 1309274112
   Mode: r0w0e0
   rawtype: Apple_Bootstrap
   label: (null)
   length: 819200
   offset: 27079077888
   type: apple-boot
   index: 1
   end: 52890423
   start: 52888824
2. Name: ada0s3
   Mediasize: 26944827392 (25G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 134250496
   Mode: r0w0e0
   rawtype: Apple_HFS
   label: Untitled
   length: 26944827392
   offset: 134250496
   type: apple-hfs
   index: 2
   end: 52888823
   start: 262208
3. Name: ada0s4
   Mediasize: 15031566336 (14G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 1310093312
   Mode: r1w1e1
   rawtype: FreeBSD-UFS
   label: (null)
   length: 15031566336
   offset: 27079897088
   type: freebsd-ufs
   index: 3
   end: 82248951
   start: 52890424
Consumers:
1. Name: ada0
   Mediasize: 60011642880 (55G)
   Sectorsize: 512
   Mode: r1w1e2


-- 
Torfinn




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111117124742.50779e7a.torfinn.ingolfsen>