From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NrJT9-00026v-Pp for garchives@archives.gentoo.org; Mon, 15 Mar 2010 23:13:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB9BFE0C35 for ; Mon, 15 Mar 2010 23:13:06 +0000 (UTC) Received: from smtp-out108.alice.it (smtp-out108.alice.it [85.37.17.108]) by pigeon.gentoo.org (Postfix) with ESMTP id B2407E0A80 for ; Mon, 15 Mar 2010 22:29:14 +0000 (UTC) Received: from FBCMMO04.fbc.local ([192.168.184.135]) by smtp-out108.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Mar 2010 23:29:13 +0100 Received: from FBCMCL01B04.fbc.local ([192.168.69.85]) by FBCMMO04.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Mar 2010 23:29:11 +0100 Received: from infra.agr.fm ([79.40.116.89]) by FBCMCL01B04.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Mar 2010 23:29:11 +0100 Received: from [192.168.64.9] (silver.agr.fm [192.168.64.9]) by infra.agr.fm (Postfix) with ESMTP id 216165DD150 for ; Mon, 15 Mar 2010 23:29:18 +0100 (CET) Message-ID: <4B9EB4B6.9040106@alyf.net> Date: Mon, 15 Mar 2010 23:29:10 +0100 From: Andrea Conti User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo... References: <4B9E343A.4040908@shic.co.uk> <87d3z53b2u.fsf@newsguy.com> <854dca5c1003150849l16b375ddl89ad2e20a8f6a135@mail.gmail.com> <4B9E5FA4.1040501@shic.co.uk> <7D7A990E-4680-472D-8408-FFABFE82EDBA@stellar.eclipse.co.uk> <4B9E87FA.3090600@shic.co.uk> In-Reply-To: <4B9E87FA.3090600@shic.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Mar 2010 22:29:11.0735 (UTC) FILETIME=[EF943C70:01CAC48E] X-Archives-Salt: 73091bf4-8271-4656-a34e-2583f118bfb7 X-Archives-Hash: 4b6c703ce0c23b81fe1dafcc4053f4e8 Hi, > The budget is miniscule - and the performance demands > (bandwidth and latency) are completely non-challenging. This IMHO pretty much rules out any kind of server-class hardware, which tends to be both costly and power-hungry. If you're thinking about buying used stuff, be sure to factor in the cost and difficulty of finding spares in some years' time. Given the point above I would also stick with software RAID. True HW RAID controllers are quite expensive and generally come with a x8 PCIe interface which will require a server motherboard -- x16 PCIe video card slots in commodity boards are usually only certified for x16 and x1 operation, so don't expect them to work reliably with other bus widths. Linux software RAID also has the advantage that the kernel is not tied to any specific piece of hardware. In case of a failure, your volumes will be readable on any other Linux system -- provided the disks themselves are not toast. If reliability is your primary concern, I would go for a simple RAID1 setup; if your volumes need to be bigger than a physical disk you can build a spanned volume over multiple mirrored pairs. Network throughput will mostly likely be your primary bottleneck, so I'd avoid striping as it would offer little in the way of performace at the expense of making data recovery extremely difficult in case the worst should happen. As for availability, I think the best strategy with a limited budget is to focus on reducing downtime: make sure your data can survive the failure of any single component, and choose hardware that you can get easily and for a reasonable price. Sh*t happens, so make it painless to clean up. Network protocol: If you do not need data sharing (i.e. if your volumes are only mounted by one client at a time), the simplest solution is to completely avoid having a FS on the storage server side -- just export the raw block device via iSCSI, and do everything on the client. In my experience this also works very well with Windows clients using the free MS iSCSI initiator. Alternatively, you can consider good old NFS, which performs decently and tends to behave a bit better -- especially when used over UDP -- in case of network glitches, like accidentally powering off a switch, yanking cables, losing wireless connectivity... CIFS should be avoided at all costs if your clients are not Windows machines. File systems: avoid complexity. As technically superior as it might be, in this kind of setup ZFS is only going to be resource hog and a maintenance headache; your priority should be having a rock-solid implementation and a reliable set of diagnostic/repair tools in case disaster strikes. Tried-and-true ext3 fits the bill nicely if you ask me; just remember to tune it properly according to your planned use -- eg. if a volume is going to be used to host huge VM disk images, be sure to create its filesystem with -T largefile4. Just my 2 cents, Andrea