Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2001 11:30:20 -0800 (PST)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Jordan Hubbard <jkh@winston.osd.bsdi.com>
Cc:        "Shawn Barnhart" <swb@grasslake.net>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Limit on the number of disklabel entries? 
Message-ID:  <200101201930.f0KJUKw08417@earth.backplane.com>
References:   <33819.980017896@winston.osd.bsdi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

:> Is there a hard limit on the number of disk label entries?
:
:Yes.  a-h is all you get (8) and of those, c is not usable unless
:you want to address the entire slice.
:
:- Jordan

    I researched this a few months ago.  The only thing preventing us 
    from increasing the number of partitions in a disklabel is our 
    major/minor device numbering scheme.  It isn't a minor fix, though.

    In the mean time, it is possible to quadruple the number of partitions
    you have by using all four fdisk slice entries.  Each slice can have its
    own partition table.  I do this on my home server's 18G HD:

apollo:/home/dillon> df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/da0s1a    127023    61449    55413    53%    /
/dev/da0s1d    127023    39697    77165    34%    /var
/dev/da0s1e    127023       98   116764     0%    /var/tmp
/dev/da0s1f   1016303   842959    92040    90%    /usr
/dev/da0s1g    126322    28039    88178    24%    /var/log
/dev/da0s2a   1524463   631822   770684    45%    /archive
/dev/da0s2d   3048942  2040806   764221    73%    /u1
/dev/da0s2e   5541549  3694467  1403759    72%    /FreeBSD
/dev/da0s2f   2032623  1201468   668546    64%    /images
/dev/da0s2g   3048942   531556  2273471    19%    /usr/obj
procfs              4        4        0   100%    /proc


						-Matt


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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