Re: 8 partitions maximum

2010-12-02 Thread Ivan Voras
On 12/01/10 21:23, David DEMELIER wrote:

 Yes it is just exercises, I heard bsdlabel was grow up so I wanted to
 test, now I don't really understand why it's fixed to 20 only. I also

It turns out that something like 22.75 bsdlabel partition table entries
fit in a 512 byte sector, so this was rounded down to 20. This is where
this limit comes from - the size of the sector.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-12-01 Thread Paul B Mahol
On 12/1/10, David Demelier demelier.da...@gmail.com wrote:
 On 30/11/2010 23:29, Paul B Mahol wrote:
 On 11/30/10, David DEMELIERdemelier.da...@gmail.com  wrote:
 2010/11/30 Paul B Maholone...@gmail.com:
 On 11/30/10, David DEMELIERdemelier.da...@gmail.com  wrote:
 2010/11/30 Patrick Lamaizierepatf...@davenulle.org:
 Le Tue, 30 Nov 2010 21:45:03 +0100,
 David Demelierdemelier.da...@gmail.com  a ecrit :

 Hello,
 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd
 slice. Since OpenBSD and NetBSD can support at most 32 partitions
 iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

 Is there any plan to grow up max partitions or every work is
 dedicated to ZFS?
 hmmm, isn't already done in 8.X ?
 from what's cooking for FreeBSD 8.0
 http://ivoras.sharanet.org/freebsd/freebsd8.html
 
 bsdlabel gets extended to 26 partitions

 Status: Committed to -CURRENT
 Will appear in 8.0: sure
 Author: Marcel Moolenaar
 Web: commit message

 bsdlabel is (finally!) extended to support more than 8 partitions. The
 new limit of 26 partitions comes from the number of lower-case
 letters.

 To make use of this change, GEOM_PART needs to be used instead of
 GEOM_BSD (this is default in 8.0 but will not work with older
 kernels).
 I don't have GEOM_PART in my kernel, but if you said it's default it
 should be pulled in.

 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

 But why :

 # /dev/md2s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
a:  10m   164.2BSD0 0
b:  10m   *4.2BSD0 0
d:  10m   *4.2BSD0 0
e:  10m   *4.2BSD0 0
f:  10m   *4.2BSD0 0
g:  10m   *4.2BSD0 0
h:  10m   *4.2BSD0 0
i:  10m   *4.2BSD0 0
j:  10m   *4.2BSD0 0
k:  10m   *4.2BSD0 0

c:  20479730unused0 0 # raw part,
 don't
 edit

 line 11: partition name out of range a-h: i
 line 12: partition name out of range a-h: j
 line 13: partition name out of range a-h: k
 re-edit the label? [y]:

 I'm on 8.1-RELEASE.
 To make use of such feature you need to recreate table with gpart(8).

 bsdlabel is not going to work.

 mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100
 100+0 records in
 100+0 records out
 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec)
 mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2
 mark...@melon ~ $ sudo gpart create -s MBR md2
 md2 created
 mark...@melon ~ $ sudo gpart show md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart add -t freebsd md2
 md2s1 added
 mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart create -s BSD md2s1
 gpart create -s BSD -n 26 md2s1

 mark...@melon ~ $ sudo gpart create -s BSD -n 26 md0s1
 gpart: entries '26': Invalid argument
 mark...@melon ~ $ sudo gpart create -s BSD -n 8 md0s1
 md0s1 created


Looks like max number is 20, up to md2s1t.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-12-01 Thread David DEMELIER
2010/12/1 Paul B Mahol one...@gmail.com:
 On 12/1/10, David Demelier demelier.da...@gmail.com wrote:
 On 30/11/2010 23:29, Paul B Mahol wrote:
 On 11/30/10, David DEMELIERdemelier.da...@gmail.com  wrote:
 2010/11/30 Paul B Maholone...@gmail.com:
 On 11/30/10, David DEMELIERdemelier.da...@gmail.com  wrote:
 2010/11/30 Patrick Lamaizierepatf...@davenulle.org:
 Le Tue, 30 Nov 2010 21:45:03 +0100,
 David Demelierdemelier.da...@gmail.com  a ecrit :

 Hello,
 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd
 slice. Since OpenBSD and NetBSD can support at most 32 partitions
 iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

 Is there any plan to grow up max partitions or every work is
 dedicated to ZFS?
 hmmm, isn't already done in 8.X ?
 from what's cooking for FreeBSD 8.0
 http://ivoras.sharanet.org/freebsd/freebsd8.html
 
 bsdlabel gets extended to 26 partitions

 Status: Committed to -CURRENT
 Will appear in 8.0: sure
 Author: Marcel Moolenaar
 Web: commit message

 bsdlabel is (finally!) extended to support more than 8 partitions. The
 new limit of 26 partitions comes from the number of lower-case
 letters.

 To make use of this change, GEOM_PART needs to be used instead of
 GEOM_BSD (this is default in 8.0 but will not work with older
 kernels).
 I don't have GEOM_PART in my kernel, but if you said it's default it
 should be pulled in.

 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

 But why :

 # /dev/md2s1:
 8 partitions:
 #        size   offset    fstype   [fsize bsize bps/cpg]
    a:  10m       16    4.2BSD        0     0
    b:  10m       *    4.2BSD        0     0
    d:  10m       *    4.2BSD        0     0
    e:  10m       *    4.2BSD        0     0
    f:  10m       *    4.2BSD        0     0
    g:  10m       *    4.2BSD        0     0
    h:  10m       *    4.2BSD        0     0
    i:  10m       *    4.2BSD        0     0
    j:  10m       *    4.2BSD        0     0
    k:  10m       *    4.2BSD        0     0

    c:  2047973        0    unused        0     0         # raw part,
 don't
 edit

 line 11: partition name out of range a-h: i
 line 12: partition name out of range a-h: j
 line 13: partition name out of range a-h: k
 re-edit the label? [y]:

 I'm on 8.1-RELEASE.
 To make use of such feature you need to recreate table with gpart(8).

 bsdlabel is not going to work.

 mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100
 100+0 records in
 100+0 records out
 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec)
 mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2
 mark...@melon ~ $ sudo gpart create -s MBR md2
 md2 created
 mark...@melon ~ $ sudo gpart show md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart add -t freebsd md2
 md2s1 added
 mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart create -s BSD md2s1
 gpart create -s BSD -n 26 md2s1

 mark...@melon ~ $ sudo gpart create -s BSD -n 26 md0s1
 gpart: entries '26': Invalid argument
 mark...@melon ~ $ sudo gpart create -s BSD -n 8 md0s1
 md0s1 created


 Looks like max number is 20, up to md2s1t.


Yes I saw that it was only 20 max, so how to get 26 partitions using
bsdlabel ? :-)

Cheers,

-- 
Demelier David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-12-01 Thread Paul B Mahol
On 12/1/10, David DEMELIER demelier.da...@gmail.com wrote:
 2010/12/1 Paul B Mahol one...@gmail.com:
 On 12/1/10, David Demelier demelier.da...@gmail.com wrote:
 On 30/11/2010 23:29, Paul B Mahol wrote:
 On 11/30/10, David DEMELIERdemelier.da...@gmail.com  wrote:
 2010/11/30 Paul B Maholone...@gmail.com:
 On 11/30/10, David DEMELIERdemelier.da...@gmail.com  wrote:
 2010/11/30 Patrick Lamaizierepatf...@davenulle.org:
 Le Tue, 30 Nov 2010 21:45:03 +0100,
 David Demelierdemelier.da...@gmail.com  a ecrit :

 Hello,
 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd
 slice. Since OpenBSD and NetBSD can support at most 32 partitions
 iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

 Is there any plan to grow up max partitions or every work is
 dedicated to ZFS?
 hmmm, isn't already done in 8.X ?
 from what's cooking for FreeBSD 8.0
 http://ivoras.sharanet.org/freebsd/freebsd8.html
 
 bsdlabel gets extended to 26 partitions

 Status: Committed to -CURRENT
 Will appear in 8.0: sure
 Author: Marcel Moolenaar
 Web: commit message

 bsdlabel is (finally!) extended to support more than 8 partitions.
 The
 new limit of 26 partitions comes from the number of lower-case
 letters.

 To make use of this change, GEOM_PART needs to be used instead of
 GEOM_BSD (this is default in 8.0 but will not work with older
 kernels).
 I don't have GEOM_PART in my kernel, but if you said it's default it
 should be pulled in.

 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

 But why :

 # /dev/md2s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
a:  10m   164.2BSD0 0
b:  10m   *4.2BSD0 0
d:  10m   *4.2BSD0 0
e:  10m   *4.2BSD0 0
f:  10m   *4.2BSD0 0
g:  10m   *4.2BSD0 0
h:  10m   *4.2BSD0 0
i:  10m   *4.2BSD0 0
j:  10m   *4.2BSD0 0
k:  10m   *4.2BSD0 0

c:  20479730unused0 0 # raw
 part,
 don't
 edit

 line 11: partition name out of range a-h: i
 line 12: partition name out of range a-h: j
 line 13: partition name out of range a-h: k
 re-edit the label? [y]:

 I'm on 8.1-RELEASE.
 To make use of such feature you need to recreate table with gpart(8).

 bsdlabel is not going to work.

 mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100
 100+0 records in
 100+0 records out
 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec)
 mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2
 mark...@melon ~ $ sudo gpart create -s MBR md2
 md2 created
 mark...@melon ~ $ sudo gpart show md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart add -t freebsd md2
 md2s1 added
 mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart create -s BSD md2s1
 gpart create -s BSD -n 26 md2s1

 mark...@melon ~ $ sudo gpart create -s BSD -n 26 md0s1
 gpart: entries '26': Invalid argument
 mark...@melon ~ $ sudo gpart create -s BSD -n 8 md0s1
 md0s1 created


 Looks like max number is 20, up to md2s1t.


 Yes I saw that it was only 20 max, so how to get 26 partitions using
 bsdlabel ? :-)

It is hardcoded. Not my code.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-12-01 Thread Bruce Cran
On Wed, 1 Dec 2010 13:51:48 +
Paul B Mahol one...@gmail.com wrote:
[snip 9 levels of quoting]
 It is hardcoded. Not my code.

Could you remember to remove excess quotes please? It's getting a bit
ridiculous having to scroll past 50 lines to see a one-line reply :)

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-12-01 Thread krad
On 1 December 2010 14:13, Bruce Cran br...@cran.org.uk wrote:

 On Wed, 1 Dec 2010 13:51:48 +
 Paul B Mahol one...@gmail.com wrote:
 [snip 9 levels of quoting]
  It is hardcoded. Not my code.

 Could you remember to remove excess quotes please? It's getting a bit
 ridiculous having to scroll past 50 lines to see a one-line reply :)

 --
 Bruce Cran
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



Is this a theoretical exercise as I cant see why you would need that many
file systems? Why not just use a EFI layout then you can have 128 file
sytems?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-12-01 Thread David DEMELIER
2010/12/1 krad kra...@gmail.com:
 On 1 December 2010 14:13, Bruce Cran br...@cran.org.uk wrote:

 On Wed, 1 Dec 2010 13:51:48 +
 Paul B Mahol one...@gmail.com wrote:
 [snip 9 levels of quoting]
  It is hardcoded. Not my code.

 Could you remember to remove excess quotes please? It's getting a bit
 ridiculous having to scroll past 50 lines to see a one-line reply :)

 --
 Bruce Cran
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



 Is this a theoretical exercise as I cant see why you would need that many
 file systems? Why not just use a EFI layout then you can have 128 file
 sytems?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Yes it is just exercises, I heard bsdlabel was grow up so I wanted to
test, now I don't really understand why it's fixed to 20 only. I also
wanted to try partitionning a disk using only gpart and not
fdisk/bsdlabel at all so to check if what announced is real but it
seems not :-).

Kind regards,

-- 
Demelier David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-11-30 Thread Polytropon
On Tue, 30 Nov 2010 21:45:03 +0100, David Demelier demelier.da...@gmail.com 
wrote:
 Since OpenBSD and NetBSD can support at most 32 partitions iirc.

I thought the limit was 26, as the letters a to z...



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-11-30 Thread Paul B Mahol
On 11/30/10, David Demelier demelier.da...@gmail.com wrote:
 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd slice.
 Since OpenBSD and NetBSD can support at most 32 partitions iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

Actually FreeBSD supports more that 8 ufs partitions via gpart(8).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-11-30 Thread Patrick Lamaiziere
Le Tue, 30 Nov 2010 21:45:03 +0100,
David Demelier demelier.da...@gmail.com a écrit :

 Hello,

Hello,

 We all know that we can only have 8 ufs partitions in one freebsd
 slice. Since OpenBSD and NetBSD can support at most 32 partitions
 iirc.
 
 I wonder why FreeBSD still lacks more ufs partitions in one slice?
 
 Is there any plan to grow up max partitions or every work is
 dedicated to ZFS?

hmmm, isn't already done in 8.X ? 
from what's cooking for FreeBSD 8.0
http://ivoras.sharanet.org/freebsd/freebsd8.html
«
bsdlabel gets extended to 26 partitions

Status: Committed to -CURRENT
Will appear in 8.0: sure
Author: Marcel Moolenaar
Web: commit message

bsdlabel is (finally!) extended to support more than 8 partitions. The
new limit of 26 partitions comes from the number of lower-case letters.

To make use of this change, GEOM_PART needs to be used instead of
GEOM_BSD (this is default in 8.0 but will not work with older kernels).
»

Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-11-30 Thread David DEMELIER
2010/11/30 Patrick Lamaiziere patf...@davenulle.org:
 Le Tue, 30 Nov 2010 21:45:03 +0100,
 David Demelier demelier.da...@gmail.com a écrit :

 Hello,

 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd
 slice. Since OpenBSD and NetBSD can support at most 32 partitions
 iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

 Is there any plan to grow up max partitions or every work is
 dedicated to ZFS?

 hmmm, isn't already done in 8.X ?
 from what's cooking for FreeBSD 8.0
 http://ivoras.sharanet.org/freebsd/freebsd8.html
 «
 bsdlabel gets extended to 26 partitions

 Status: Committed to -CURRENT
 Will appear in 8.0: sure
 Author: Marcel Moolenaar
 Web: commit message

 bsdlabel is (finally!) extended to support more than 8 partitions. The
 new limit of 26 partitions comes from the number of lower-case letters.

 To make use of this change, GEOM_PART needs to be used instead of
 GEOM_BSD (this is default in 8.0 but will not work with older kernels).
 »


I don't have GEOM_PART in my kernel, but if you said it's default it
should be pulled in.

 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


But why :

# /dev/md2s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  10m   164.2BSD0 0
  b:  10m   *4.2BSD0 0
  d:  10m   *4.2BSD0 0
  e:  10m   *4.2BSD0 0
  f:  10m   *4.2BSD0 0
  g:  10m   *4.2BSD0 0
  h:  10m   *4.2BSD0 0
  i:  10m   *4.2BSD0 0
  j:  10m   *4.2BSD0 0
  k:  10m   *4.2BSD0 0

  c:  20479730unused0 0 # raw part, don't edit

line 11: partition name out of range a-h: i
line 12: partition name out of range a-h: j
line 13: partition name out of range a-h: k
re-edit the label? [y]:

I'm on 8.1-RELEASE.

Cheers,

-- 
Demelier David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-11-30 Thread Paul B Mahol
On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote:
 2010/11/30 Patrick Lamaiziere patf...@davenulle.org:
 Le Tue, 30 Nov 2010 21:45:03 +0100,
 David Demelier demelier.da...@gmail.com a ecrit :

 Hello,

 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd
 slice. Since OpenBSD and NetBSD can support at most 32 partitions
 iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

 Is there any plan to grow up max partitions or every work is
 dedicated to ZFS?

 hmmm, isn't already done in 8.X ?
 from what's cooking for FreeBSD 8.0
 http://ivoras.sharanet.org/freebsd/freebsd8.html
 
 bsdlabel gets extended to 26 partitions

 Status: Committed to -CURRENT
 Will appear in 8.0: sure
 Author: Marcel Moolenaar
 Web: commit message

 bsdlabel is (finally!) extended to support more than 8 partitions. The
 new limit of 26 partitions comes from the number of lower-case letters.

 To make use of this change, GEOM_PART needs to be used instead of
 GEOM_BSD (this is default in 8.0 but will not work with older kernels).
 


 I don't have GEOM_PART in my kernel, but if you said it's default it
 should be pulled in.

 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org


 But why :

 # /dev/md2s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  10m   164.2BSD0 0
   b:  10m   *4.2BSD0 0
   d:  10m   *4.2BSD0 0
   e:  10m   *4.2BSD0 0
   f:  10m   *4.2BSD0 0
   g:  10m   *4.2BSD0 0
   h:  10m   *4.2BSD0 0
   i:  10m   *4.2BSD0 0
   j:  10m   *4.2BSD0 0
   k:  10m   *4.2BSD0 0

   c:  20479730unused0 0 # raw part, don't
 edit

 line 11: partition name out of range a-h: i
 line 12: partition name out of range a-h: j
 line 13: partition name out of range a-h: k
 re-edit the label? [y]:

 I'm on 8.1-RELEASE.

To make use of such feature you need to recreate table with gpart(8).

bsdlabel is not going to work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-11-30 Thread David DEMELIER
2010/11/30 Paul B Mahol one...@gmail.com:
 On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote:
 2010/11/30 Patrick Lamaiziere patf...@davenulle.org:
 Le Tue, 30 Nov 2010 21:45:03 +0100,
 David Demelier demelier.da...@gmail.com a ecrit :

 Hello,

 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd
 slice. Since OpenBSD and NetBSD can support at most 32 partitions
 iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

 Is there any plan to grow up max partitions or every work is
 dedicated to ZFS?

 hmmm, isn't already done in 8.X ?
 from what's cooking for FreeBSD 8.0
 http://ivoras.sharanet.org/freebsd/freebsd8.html
 
 bsdlabel gets extended to 26 partitions

 Status: Committed to -CURRENT
 Will appear in 8.0: sure
 Author: Marcel Moolenaar
 Web: commit message

 bsdlabel is (finally!) extended to support more than 8 partitions. The
 new limit of 26 partitions comes from the number of lower-case letters.

 To make use of this change, GEOM_PART needs to be used instead of
 GEOM_BSD (this is default in 8.0 but will not work with older kernels).
 


 I don't have GEOM_PART in my kernel, but if you said it's default it
 should be pulled in.

 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org


 But why :

 # /dev/md2s1:
 8 partitions:
 #        size   offset    fstype   [fsize bsize bps/cpg]
   a:  10m       16    4.2BSD        0     0
   b:  10m       *    4.2BSD        0     0
   d:  10m       *    4.2BSD        0     0
   e:  10m       *    4.2BSD        0     0
   f:  10m       *    4.2BSD        0     0
   g:  10m       *    4.2BSD        0     0
   h:  10m       *    4.2BSD        0     0
   i:  10m       *    4.2BSD        0     0
   j:  10m       *    4.2BSD        0     0
   k:  10m       *    4.2BSD        0     0

   c:  2047973        0    unused        0     0         # raw part, don't
 edit

 line 11: partition name out of range a-h: i
 line 12: partition name out of range a-h: j
 line 13: partition name out of range a-h: k
 re-edit the label? [y]:

 I'm on 8.1-RELEASE.

 To make use of such feature you need to recreate table with gpart(8).

 bsdlabel is not going to work.


mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100
100+0 records in
100+0 records out
104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec)
mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2
mark...@melon ~ $ sudo gpart create -s MBR md2
md2 created
mark...@melon ~ $ sudo gpart show md2s1
gpart: No such geom: md2s1.
mark...@melon ~ $ sudo gpart add -t freebsd md2
md2s1 added
mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1
gpart: No such geom: md2s1.
mark...@melon ~ $ sudo gpart create -s BSD md2s1
md2s1 created
mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1
md2s1a added
mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1
md2s1b added
mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1
md2s1d added
mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1
md2s1e added
mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1
md2s1f added
mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1
md2s1g added
mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1
md2s1h added
mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1
gpart: index '9': No space left on device
mark...@melon ~ $ sudo gpart add -t freebsd-ufs -s 1m md2s1
gpart: index '9': No space left on device

Maybe I really need GEOM_PART? Or I'm doing something wrong.

-- 
Demelier David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-11-30 Thread Paul B Mahol
On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote:
 2010/11/30 Paul B Mahol one...@gmail.com:
 On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote:
 2010/11/30 Patrick Lamaiziere patf...@davenulle.org:
 Le Tue, 30 Nov 2010 21:45:03 +0100,
 David Demelier demelier.da...@gmail.com a ecrit :

 Hello,

 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd
 slice. Since OpenBSD and NetBSD can support at most 32 partitions
 iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

 Is there any plan to grow up max partitions or every work is
 dedicated to ZFS?

 hmmm, isn't already done in 8.X ?
 from what's cooking for FreeBSD 8.0
 http://ivoras.sharanet.org/freebsd/freebsd8.html
 
 bsdlabel gets extended to 26 partitions

 Status: Committed to -CURRENT
 Will appear in 8.0: sure
 Author: Marcel Moolenaar
 Web: commit message

 bsdlabel is (finally!) extended to support more than 8 partitions. The
 new limit of 26 partitions comes from the number of lower-case letters.

 To make use of this change, GEOM_PART needs to be used instead of
 GEOM_BSD (this is default in 8.0 but will not work with older kernels).
 


 I don't have GEOM_PART in my kernel, but if you said it's default it
 should be pulled in.

 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org


 But why :

 # /dev/md2s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  10m   164.2BSD0 0
   b:  10m   *4.2BSD0 0
   d:  10m   *4.2BSD0 0
   e:  10m   *4.2BSD0 0
   f:  10m   *4.2BSD0 0
   g:  10m   *4.2BSD0 0
   h:  10m   *4.2BSD0 0
   i:  10m   *4.2BSD0 0
   j:  10m   *4.2BSD0 0
   k:  10m   *4.2BSD0 0

   c:  20479730unused0 0 # raw part,
 don't
 edit

 line 11: partition name out of range a-h: i
 line 12: partition name out of range a-h: j
 line 13: partition name out of range a-h: k
 re-edit the label? [y]:

 I'm on 8.1-RELEASE.

 To make use of such feature you need to recreate table with gpart(8).

 bsdlabel is not going to work.


 mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100
 100+0 records in
 100+0 records out
 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec)
 mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2
 mark...@melon ~ $ sudo gpart create -s MBR md2
 md2 created
 mark...@melon ~ $ sudo gpart show md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart add -t freebsd md2
 md2s1 added
 mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart create -s BSD md2s1

gpart create -s BSD -n 26 md2s1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-11-30 Thread David DEMELIER
2010/11/30 Paul B Mahol one...@gmail.com:
 On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote:
 2010/11/30 Paul B Mahol one...@gmail.com:
 On 11/30/10, David DEMELIER demelier.da...@gmail.com wrote:
 2010/11/30 Patrick Lamaiziere patf...@davenulle.org:
 Le Tue, 30 Nov 2010 21:45:03 +0100,
 David Demelier demelier.da...@gmail.com a ecrit :

 Hello,

 Hello,

 We all know that we can only have 8 ufs partitions in one freebsd
 slice. Since OpenBSD and NetBSD can support at most 32 partitions
 iirc.

 I wonder why FreeBSD still lacks more ufs partitions in one slice?

 Is there any plan to grow up max partitions or every work is
 dedicated to ZFS?

 hmmm, isn't already done in 8.X ?
 from what's cooking for FreeBSD 8.0
 http://ivoras.sharanet.org/freebsd/freebsd8.html
 
 bsdlabel gets extended to 26 partitions

 Status: Committed to -CURRENT
 Will appear in 8.0: sure
 Author: Marcel Moolenaar
 Web: commit message

 bsdlabel is (finally!) extended to support more than 8 partitions. The
 new limit of 26 partitions comes from the number of lower-case letters.

 To make use of this change, GEOM_PART needs to be used instead of
 GEOM_BSD (this is default in 8.0 but will not work with older kernels).
 


 I don't have GEOM_PART in my kernel, but if you said it's default it
 should be pulled in.

 Regards.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org


 But why :

 # /dev/md2s1:
 8 partitions:
 #        size   offset    fstype   [fsize bsize bps/cpg]
   a:  10m       16    4.2BSD        0     0
   b:  10m       *    4.2BSD        0     0
   d:  10m       *    4.2BSD        0     0
   e:  10m       *    4.2BSD        0     0
   f:  10m       *    4.2BSD        0     0
   g:  10m       *    4.2BSD        0     0
   h:  10m       *    4.2BSD        0     0
   i:  10m       *    4.2BSD        0     0
   j:  10m       *    4.2BSD        0     0
   k:  10m       *    4.2BSD        0     0

   c:  2047973        0    unused        0     0         # raw part,
 don't
 edit

 line 11: partition name out of range a-h: i
 line 12: partition name out of range a-h: j
 line 13: partition name out of range a-h: k
 re-edit the label? [y]:

 I'm on 8.1-RELEASE.

 To make use of such feature you need to recreate table with gpart(8).

 bsdlabel is not going to work.


 mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100
 100+0 records in
 100+0 records out
 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec)
 mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2
 mark...@melon ~ $ sudo gpart create -s MBR md2
 md2 created
 mark...@melon ~ $ sudo gpart show md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart add -t freebsd md2
 md2s1 added
 mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1
 gpart: No such geom: md2s1.
 mark...@melon ~ $ sudo gpart create -s BSD md2s1

 gpart create -s BSD -n 26 md2s1

Thank you, I didn't see this little part of gpart(8).

-- 
Demelier David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 8 partitions maximum

2010-11-30 Thread David Demelier

On 30/11/2010 23:29, Paul B Mahol wrote:

On 11/30/10, David DEMELIERdemelier.da...@gmail.com  wrote:

2010/11/30 Paul B Maholone...@gmail.com:

On 11/30/10, David DEMELIERdemelier.da...@gmail.com  wrote:

2010/11/30 Patrick Lamaizierepatf...@davenulle.org:

Le Tue, 30 Nov 2010 21:45:03 +0100,
David Demelierdemelier.da...@gmail.com  a ecrit :


Hello,

Hello,


We all know that we can only have 8 ufs partitions in one freebsd
slice. Since OpenBSD and NetBSD can support at most 32 partitions
iirc.

I wonder why FreeBSD still lacks more ufs partitions in one slice?

Is there any plan to grow up max partitions or every work is
dedicated to ZFS?

hmmm, isn't already done in 8.X ?
from what's cooking for FreeBSD 8.0
http://ivoras.sharanet.org/freebsd/freebsd8.html

bsdlabel gets extended to 26 partitions

Status: Committed to -CURRENT
Will appear in 8.0: sure
Author: Marcel Moolenaar
Web: commit message

bsdlabel is (finally!) extended to support more than 8 partitions. The
new limit of 26 partitions comes from the number of lower-case letters.

To make use of this change, GEOM_PART needs to be used instead of
GEOM_BSD (this is default in 8.0 but will not work with older kernels).

I don't have GEOM_PART in my kernel, but if you said it's default it
should be pulled in.


Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org


But why :

# /dev/md2s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
   a:  10m   164.2BSD0 0
   b:  10m   *4.2BSD0 0
   d:  10m   *4.2BSD0 0
   e:  10m   *4.2BSD0 0
   f:  10m   *4.2BSD0 0
   g:  10m   *4.2BSD0 0
   h:  10m   *4.2BSD0 0
   i:  10m   *4.2BSD0 0
   j:  10m   *4.2BSD0 0
   k:  10m   *4.2BSD0 0

   c:  20479730unused0 0 # raw part,
don't
edit

line 11: partition name out of range a-h: i
line 12: partition name out of range a-h: j
line 13: partition name out of range a-h: k
re-edit the label? [y]:

I'm on 8.1-RELEASE.

To make use of such feature you need to recreate table with gpart(8).

bsdlabel is not going to work.


mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100
100+0 records in
100+0 records out
104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec)
mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2
mark...@melon ~ $ sudo gpart create -s MBR md2
md2 created
mark...@melon ~ $ sudo gpart show md2s1
gpart: No such geom: md2s1.
mark...@melon ~ $ sudo gpart add -t freebsd md2
md2s1 added
mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1
gpart: No such geom: md2s1.
mark...@melon ~ $ sudo gpart create -s BSD md2s1

gpart create -s BSD -n 26 md2s1


mark...@melon ~ $ sudo gpart create -s BSD -n 26 md0s1
gpart: entries '26': Invalid argument
mark...@melon ~ $ sudo gpart create -s BSD -n 8 md0s1
md0s1 created
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org