Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2009 23:04:16 +0000
From:      Andrew Von Cid <andrew@accid.net>
To:        Mak Kolybabi <mak@kolybabi.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Partitions per slice limitation removed?
Message-ID:  <4AE77C70.2040300@accid.net>
In-Reply-To: <20090813222501.GB29899@brisbane.nepharia.org>
References:  <20090813222501.GB29899@brisbane.nepharia.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
> No, you were not dreaming. When in doubt, check the source. From
> head/sbin/bsdlabel/bsdlabel.c [1]:
>
> "Allow bsdlabel to operate on labels that have at most 26 partitions by virtue
> of there not being any (lower-case) letters avaliable for more partitions."
>
> [1] http://svn.freebsd.org/viewvc/base?view=revision&revision=174501
>   

Has anyone actually got that working?  I just tried adding a 9th label
on 8.0-RC2 with no luck.  I tried both gpart and bsdlabel.

silver% gpart show ad4s1
=>       0  62914257  ad4s1  BSD  (30G)
         0   1048576      1  freebsd-ufs  (512M)
   1048576   2097152      2  freebsd-swap  (1.0G)
   3145728  14680064      4  freebsd-ufs  (7.0G)
  17825792   3145728      5  freebsd-ufs  (1.5G)
  20971520   1048576      6  freebsd-ufs  (512M)
  22020096   4194304      7  freebsd-ufs  (2.0G)
  26214400   4194304      8  freebsd-ufs  (2.0G)
  30408704  32505553         - free -  (15G)

silver% sudo gpart add -b 30408704 -s 32505553 -t freebsd-ufs ad4s1
gpart: index '9': No space left on device

...and if I specify the index manually I get this:

silver% sudo gpart add -b 30408704 -s 32505553 -t freebsd-ufs -i 9 ad4s1
gpart: index '9': Invalid argument

silver% uname -r
8.0-RC2

Perhaps this isn't going to make into 8.0-RELEASE after all or am I
doing something wrong?


Cheers,


Andrew./
 



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