Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2008 02:22:39 -0400
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD + ZFS on a production server?
Message-ID:  <200807060222.40004.lists@jnielsen.net>
In-Reply-To: <20080612132527.K5722@wojtek.tensor.gdynia.pl>
References:  <1a5a68400806080604ped08ce8p120fc21107e7de81@mail.gmail.com> <4F9C9299A10AE74E89EA580D14AA10A61A193E@royal64.emp.zapto.org> <20080612132527.K5722@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm behind on my mailing list reading and don't really want to 
prolong/resurrect this thread unduly, but I do want to respond to this 
point:

On Thursday 12 June 2008 07:37:06 am Wojciech Puchar wrote:
> you must have disks dedicated for raidz, disks dedicated for mirrored
> storage and disks dedicated for unprotected storage. it's inflexible
> and not much usable.
>
> actually - much less usable than "legacy"
> gmirror/gstripe/gconcat+bsdlabel.

ZFS on FreeBSD is GEOM-ified. While I believe what Wojciech said about 
needing a full disk is correct under Solaris, it's not the case in 
FreeBSD. Any GEOM provider can be added to a zpool--disk, slice, 
partition, gmirror, gstripe, md device, etc. I just added some storage to 
a personal server and re-did the layout using ZFS. My zpool (raidz) is 
made up of two partitions and one gstripe, spanning a total of four 
disks. I haven't had any issues with it at all (7-STABLE i386, 1.5GB RAM, 
no tuning other than kmem size and MAXPAGES).  All of the disks also have 
other small partitions--two for a gmirrored root and three for swap.

I think FreeBSD is a great storage/fileserver platform exactly _because_ 
there are so many options. UFS is great, gmirror and gstripe and friends 
are fantastic, and ZFS is yet another powerful tool in the arsenal. In my 
case ZFS was the best meeting point for space vs redundancy vs 
performance. Not having "real" RAID hardware my other candidates were 
graid3, graid5 and gvinum. ZFS is much easier to configure than gvinum, 
much more proven and stable than graid5 (which isn't even in the tree 
yet), and ought to perform better than graid3. I didn't do any testing to 
verify the last assertion since this is just a personal box, but I don't 
have any complaints about performance.

JN

> one of my systems have 8 disks. 80% of data doesn't need any
> protection, it's just a need for a lot of space, other 20 needs to be
> mirrored. this 80% of data is used in high bandwidth/low seeks style
> (only big files).
>
> i simply partitioned every disk on 2 partitions, every first is used to
> make gmirror+gstripe device, every second is used to make gconcat
> device, and i have what i need WITH BALANCED LOAD.
>
> with ZFS i would have to make first 2 drives as mirror, another 6 for
> unprotected storage, having LOTS of seeks on first 2 drives and very
> little seeks on other 6 drives. the system would be unable to support
> the load.
>
>
>
> to say more: zfs set copies could be usable to selectively mirror given
> data while not mirroring other (using unprotected storage for ZFS).
> but it's broken. it writes N copies under write, but don't remake
> copies in case of failure!
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"





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