cvs commit: src/sys/sys mdioctl.h src/sys/dev/md md.c src/sbin/mdconfig Makefile mdconfig.8 mdconfig.c

Brooks Davis brooks at one-eyed-alien.net
Fri Sep 17 11:48:00 PDT 2004


On Fri, Sep 17, 2004 at 08:09:59PM +0200, Pawel Jakub Dawidek wrote:
> On Fri, Sep 17, 2004 at 10:15:03AM -0700, Brooks Davis wrote:
> +> > Pages. It gives as maximum swap-backed device of 16TB. I tested it with
> +> > ~15TB devices, so there is no signed/unsigned problem (which will limit
> +> > us to 8TB). Of course you can always (I hope) increase page size:)
> +> 
> +> Given my quick read of the sunlabel format, there would be some value in
> +> >16TB (17 would be sufficent) virtual disks.  Can we do a RAID0 of these
> +> to get something that big?  I'm pretty sure sunlabel is limited to 14TB
> +> or 16TB so having something too big would be good for testing.
> 
> You mean setup raid0 with md(4) device to get more than 16TB? Sure, at
> least with gstripe:
> 
> ragepxe:root:~# diskinfo -v /dev/stripe/foo
> /dev/stripe/foo
>         512             # sectorsize
>         2111062324805632        # mediasize in bytes (1.9P)
>         4123168603136   # mediasize in sectors
> 
> ragepxe:root:~# gstripe list
> Geom name: foo
> State: UP
> Status: Total=128, Online=128
> Type: AUTOMATIC
> Stripesize: 4096
> ID: 2239096935
> Providers:
> 1. Name: stripe/foo
>    Mediasize: 2111062324805632 (1.9P)
>    Sectorsize: 512
>    Mode: r0w0e0
> Consumers:
> 1. Name: md0
>    Mediasize: 16492674416640 (15T)
>    Sectorsize: 512
>    Mode: r0w0e0
>    Number: 0
> [...]
> 128. Name: md127
>    Mediasize: 16492674416640 (15T)
>    Sectorsize: 512
>    Mode: r0w0e0
>    Number: 127
> 
> 1.9 Petabytes will be enough?:) Hehe, great fun BTW.:)

Just what I was looking for.  Very cool!

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040917/747e52ff/attachment.bin


More information about the cvs-src mailing list