From owner-freebsd-questions@FreeBSD.ORG Sun Jul 27 03:14:41 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C80497E2 for ; Sun, 27 Jul 2014 03:14:41 +0000 (UTC) Received: from mail-qg0-f41.google.com (mail-qg0-f41.google.com [209.85.192.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 86F952D42 for ; Sun, 27 Jul 2014 03:14:40 +0000 (UTC) Received: by mail-qg0-f41.google.com with SMTP id q107so6849757qgd.0 for ; Sat, 26 Jul 2014 20:14:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=bPW6CWSicIaL7kJMrg4zpUXyatJiJ46hQKt4s/eTkRg=; b=cEtF9+1ayGl/T+fI+ibfwPWZyIacD5oIrKuE24T1K5snrSecbIWtVL2urwd2W+vTuI bROkKwI1p3otjTMqf568Xoz5lcXex1JUYd6rbxBFZ0xnOhR4PVxZ5tDOPqS/QtbqsxfL G2oOrzFuAFWQoAVZrxqeduuy3NmZoEIHrjAwgXzHB3JIcXu4jGH67t9mXr+ZKpDhb2+U qz1s6+ux7wEqRawcxrcT5YUp+cKdyAnDip+POIVHqq9f548yCpJ3H2dh7DdwMwpSlO0x eroVUIUf4GiL1XSWAw2iANsbwuNeEX1weq7pZULMdE7xlrpoTYCEb4zxkL/zumutGHB2 4vFg== X-Gm-Message-State: ALoCoQkRlQ5M2q6e2BpAtFXRLKSZND6soS6j13DkOJu1EXWE4uHyM6vHcjqmzMdfnOXJVcsDbJf3 X-Received: by 10.140.49.201 with SMTP id q67mr29009227qga.7.1406430873899; Sat, 26 Jul 2014 20:14:33 -0700 (PDT) Received: from [192.168.2.65] ([96.236.21.80]) by mx.google.com with ESMTPSA id k6sm17164394qge.2.2014.07.26.20.14.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 26 Jul 2014 20:14:33 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: affordable NAS From: Paul Kraus In-Reply-To: <53D3F606.2090308@tysdomain.com> Date: Sat, 26 Jul 2014 23:14:32 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <083A50D8-74E5-4D81-AA58-D0AF5219D0AF@kraus-haus.org> References: <53D3F606.2090308@tysdomain.com> To: "freebsd-questions@freebsd.org" X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2014 03:14:41 -0000 On Jul 26, 2014, at 14:40, Littlefield, Tyler = wrote: > I was looking at the NAS minis, and while they look amazing they're = also way expensive. I was interested to see if someone has a good = solution for a cheap small NAS system that I could either build or = purchase that wouldn't cost nearly as much. I'm looking for = freebsd-compatible hardware with at least a gigabit ethernet card. I have been running 9.2 on an HP Proliant Micro Server N36L (the = original not the Gen 8) ever since 9.2 came out with 8GB RAM. I am = currently building it=92s replacement, a Micro Proliant N54L with 16GB = RAM and FreeBSD 10. > I'll be dropping in the harddrives, I'm thinking raid 10 (though it = doesn't have to be--I just wanted the striping for a larger disk space = plus redundancy via mirror), with maybe 4 2 tb drives. My current disk layout is: 2 drives for OS (mirrored with ZFS): originally 250GB, now 500GB as the = Seagate 250GB drives died. 6 drives for Data, all 1 TB, configured as a 5 disk RAIDz2 and 1 hot = spare. 3 of the Data drives are internal, 1 of the OS drives is internal 2 of the data drives, the data hot spare, the second OS drive are in an = external StarTech 4 drive enclosure connected via a Marvell chipset = eSATA card The problem with the above is that the external enclose puts those 4 = drive behind a port expander / multiplier and those are know causes of = trouble. I have twice had a single drive in the enclosure fail and take = all four drives offline with it. My new server has: 16GB RAM In the Optical bay a 4 x 2.5=94 adapter A 4 port Marvell based SATA card (2 internal, 2 external) 2 of the 2.5=94 bays are contacted to the internal ports on the Marvell = card 2 120GB SSD in the 2.5=94 bays for: 4GB swap (gpt partitions handed to the OS) 16GB OS (ZFS mirror) 24GB for future ZFS L2ARC=20 24GB for future ZFS ZIL (mirrored) The SSD is underutilized on purpose to (hopefully) improve life, they = are Kingston V300 series because I got them on sale :-) The layout of the data drives remains the same but I have an external = chassis that is just a power supply and SATA cables. 4 of the data = drives will go in the internal 3.5=94 bays, the other two in the = external exclosure and attached to the 2 external eSATA ports. So one = drive per SATA port. I plan to add a second Marvell based 4 port SATA card, two for the other = two 2.5=94 bays and two more eSATA ports for future expansion. I have stayed with 1TB drives for data because I want to keep my = resilver times relatively short to reduce my chance of a double failure = at once.=20 My old hardware is being repurposed as my backup server with 4 x 2TB = drive internal. OS will be a 4 way mirror across them occupying 16GB = (plus another 2GB per drive for swap) with try remainder of the drives = in a RAIDz2. I=92ll be using zfs snapshots and then zfs send /recv to = synchronize the backup system. Since it is for backups, I am less = concerned with resilver times when a failure occurs. Also note that = since all the data on it will be from a zfs stream, resilver times = *should* be much shorter than the production system where there are = random writes join on all the time. -- Paul Kraus paul@kraus-haus.org