From owner-freebsd-questions@FreeBSD.ORG Tue Oct 27 23:23:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDFBB1065676 for ; Tue, 27 Oct 2009 23:23:03 +0000 (UTC) (envelope-from andrew@accid.net) Received: from postville.darq.net (postville.darq.net [82.136.41.65]) by mx1.freebsd.org (Postfix) with ESMTP id A232F8FC17 for ; Tue, 27 Oct 2009 23:23:03 +0000 (UTC) Received: from localhost (postville [82.136.41.65]) by postville.darq.net (Postfix) with ESMTP id 07E683154D83; Tue, 27 Oct 2009 23:05:07 +0000 (GMT) X-Virus-Scanned: amavisd-new at darq.net Received: from postville.darq.net ([82.136.41.65]) by localhost (postville.darq.net [82.136.41.65]) (amavisd-new, port 10024) with ESMTP id T7BRd+OKpGtA; Tue, 27 Oct 2009 23:05:05 +0000 (GMT) Received: from flogger.darq.net (78-105-7-89.zone3.bethere.co.uk [78.105.7.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: andrew@accid.net) by postville.darq.net (Postfix) with ESMTPSA id 695F13154D8B; Tue, 27 Oct 2009 23:05:05 +0000 (GMT) Message-ID: <4AE77C70.2040300@accid.net> Date: Tue, 27 Oct 2009 23:04:16 +0000 From: Andrew Von Cid User-Agent: Thunderbird 2.0.0.22 (X11/20090719) MIME-Version: 1.0 To: Mak Kolybabi References: <20090813222501.GB29899@brisbane.nepharia.org> In-Reply-To: <20090813222501.GB29899@brisbane.nepharia.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Partitions per slice limitation removed? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2009 23:23:03 -0000 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./