From: Andrea Conti <alyf@alyf.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo...
Date: Mon, 15 Mar 2010 23:29:10 +0100 [thread overview]
Message-ID: <4B9EB4B6.9040106@alyf.net> (raw)
In-Reply-To: <4B9E87FA.3090600@shic.co.uk>
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
next prev parent reply other threads:[~2010-03-15 23:13 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-15 13:20 [gentoo-user] Strategy for using SAN/NAS for storage with Gentoo Steve
2010-03-15 14:37 ` [gentoo-user] " Harry Putnam
2010-03-15 15:49 ` Kyle Bader
2010-03-15 16:26 ` Steve
2010-03-15 18:21 ` Stroller
2010-03-15 19:18 ` Steve
2010-03-15 22:29 ` Andrea Conti [this message]
2010-03-16 16:32 ` Steve
2010-03-16 19:57 ` Stroller
2010-03-16 20:04 ` Neil Bothwick
2010-03-16 20:13 ` Stroller
2010-03-16 20:44 ` J. Roeleveld
2010-03-16 21:26 ` Neil Bothwick
2010-03-17 20:44 ` Florian Philipp
2010-03-17 21:00 ` Neil Bothwick
2010-03-18 16:57 ` Florian Philipp
2010-03-16 20:46 ` Steve
2010-03-17 0:05 ` [gentoo-user] " Andrea Conti
2010-03-17 13:01 ` [gentoo-user] " Iain Buchanan
2010-03-17 4:57 ` [gentoo-user] " Keith Dart
2010-03-17 8:03 ` Steve
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B9EB4B6.9040106@alyf.net \
--to=alyf@alyf.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox