Partitions per slice limitation removed?
Andrew Von Cid
andrew at accid.net
Tue Oct 27 23:23:03 UTC 2009
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./
More information about the freebsd-questions
mailing list