From owner-freebsd-questions@freebsd.org Thu Jul 9 12:10:36 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7AFA9975B1 for ; Thu, 9 Jul 2015 12:10:36 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-yk0-x22b.google.com (mail-yk0-x22b.google.com [IPv6:2607:f8b0:4002:c07::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9BF01168E for ; Thu, 9 Jul 2015 12:10:36 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by ykee186 with SMTP id e186so34138437yke.2 for ; Thu, 09 Jul 2015 05:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ZTEA4Kly1FLb9Po4Zguo5jlmgZp7rv6+O7CbGt6O8kQ=; b=UT7S0C0ojnNzNGfZzyDpQLmPIzAJL5ZYbSzvv3HbGIDQOhq1d+77cTMMwdDpZVKOqH rRR5+2kCW1sPkq+sMNc4YXorSdLHNVqKQtABCUA1//rp2fgpsEkbb3WcLmaLxO+zN7Tp u0sBGidXFbS8/kqAShJPDpCgWHNOp8IPTnfPY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=ZTEA4Kly1FLb9Po4Zguo5jlmgZp7rv6+O7CbGt6O8kQ=; b=kXUKhcNQ7roA9bV3EXLyG5hOP3c9EkhG/B51xsGBpLuEdopfG9BjoFyXjOhvtMOBO4 vPbzYYrGiKhfqGEC5K8dCGtwvgtX/Mrj2a3IT3bJljBuZqHNc0r5l3xoNbC2pNiiKPB2 H2ZyErztkyW2H5wGWgWT0t+YFjdTYCMNUAo6RXUhFdcKOTG0dlhbHDSkUrsIdve8ySX7 q5IJZ0M5zSq8l63q1Bjh08HBpxEx1+CmNdq/x+sznRTsKiqmJXJwzJ0ejKO58mokgKse xMeP5ojU1Ze4mnbgsoewGBKe1tckNurve+0fwsH+ecT3ggsRnpMVKOgNtuLuToFLwpND TQhg== X-Gm-Message-State: ALoCoQnXU39C7CDBMaDcqBCoCagel80naoDhGi4cPU9ti3ade35fsXqG+qCIqudGvErT8w5xBmif MIME-Version: 1.0 X-Received: by 10.129.76.140 with SMTP id z134mr17719160ywa.17.1436443835692; Thu, 09 Jul 2015 05:10:35 -0700 (PDT) Received: by 10.13.193.194 with HTTP; Thu, 9 Jul 2015 05:10:35 -0700 (PDT) In-Reply-To: <559D9C96.5070601@sneakertech.com> References: <559D9C96.5070601@sneakertech.com> Date: Thu, 9 Jul 2015 09:10:35 -0300 Message-ID: Subject: Re: Gmirror/graid or hardware raid? From: Mario Lobo To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2015 12:10:37 -0000 Thanks to Paul, Charles and Quartz for your wonderful input and sharing as much details as possible of your experience. Paul, your jail/ZFS scenario sounds like a perfect dream, but despite the fact that all instances in this case will be FBSD, It must be a VM environment because testing involves some solutions that run on windows and different linux distros. But depending on the results for the final production environment, it may end up coming true. Charles, I will certainly have a rich exploration territory on all the things you shared. Since I came into this project with an already functioning site, I will most certainly be making improvements on the running site. Quartz, I'll be booting the host FBSD from a separate smaller drive and leave the main disks for the guests, so my plan is to do 2 sets of raid1 arrays. As for the fs, I'll try to improve my knowledge of ZFS until I can feel confident enough to solve any problem that may arise. Well ... since this is a test env, do you think it would be ok to use one raid array with the regular ufs2 and the other with zfs? Again, thank you ! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE) 2015-07-08 18:56 GMT-03:00 Quartz : > I thought about zfs but I won't have lots of RAM avaliable. >> > > ZFS doesn't technically NEED gobs of ram just to function, that's a long > standing urban myth repeated by people who don't understand how the ARC > and/or dedupe works. You can run ZFS on basically any system, it's just a > question of how much it can cache. The less it can cache the more it will > have to hit the disks.... but that applies to basically every filesystem. > > As for raid level, you only have four disks so you don't have a lot of > options. You're pretty much looking at a raid-1, raid-10 or raid-5/raidz-1. > A 4-way raid-1 is I think overkill, and a bunch of VMs will be heavy on the > random read/write so a raid-5/raidz-1 will be worse than a raid-10 > performance wise. (Although with only a four disk array the difference > probably won't be earth shattering, so if you really need the space a 5/z1 > won't kill you). > >