From: Stroller <stroller@stellar.eclipse.co.uk>
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 18:21:34 +0000 [thread overview]
Message-ID: <7D7A990E-4680-472D-8408-FFABFE82EDBA@stellar.eclipse.co.uk> (raw)
In-Reply-To: <4B9E5FA4.1040501@shic.co.uk>
On 15 Mar 2010, at 16:26, Steve wrote:
> ...
> From ages ago, I remember iSCSI being bandied about. Did that ever go
> anywhere (i.e. is this easy to do from Gentoo?)
I believe it is quite widely used - it is mentioned often on the linux-
poweredge list. I would imagine the Linux kernel allows mounting and
sharing by iSCSI - check `make menuconfig` and type "/iscsi".
It's hard to be more specific without knowing your usage.
For storage of a "mere terabyte" you can buy a networked storage
enclosure which will accommodate two drives. These are cheap, do
mirroring, will accommodate standard 1TB, 1.5TB, 2TB drives, but are
probably not too fast.
One reads a lot posted by people who have large movie collections
stored on the network, whether they be MythTV users or the mutineer
sailors of 17th century galleons. A PC-based solution gives you more
room for this - you can fit perhaps 4 drives in a standard PC case you
find at the tip, or you can get 12 or 16 drives in a dedicated
rackmount server case. This allows capacity of upto 32TB with current
drives, if you can afford that, or to use cheaper drives (1TB or 1.5TB
are best gigabytes-per-dollar at present, I think; 500gb drives seem
recently to have become disproportionately expensive) and have better
RAID levels.
The Norco one is popular amongst enthusiasts, because it's really
cheap [1]; it uses 2 x standard ATX power supplies, one for the
mainboard, one for the drives. You can get similar cases with the
option of hot-swap PSUs - Chenbro used to be the main brand for this,
I think, but in the last couple of years TST <http://TSTcom.com> have
started producing nicer cases; I use a TST ESR-316, which is utterly
lush, but which was expensive. I have one slight reservation about the
TST, which I will not spend time detailing unless you ask.
I use only half the TST's capacity at present, but it is a pleasure
and a relief to have so much room available; expansion of network
drive capacity is never a problem - just slap a drive in and you're
ready to go. Even with as many as 6 or 8 drive bays there are corner
cases which can make expansion a bit of a headache (at least if uptime
is important).
Since these cases accommodate standard ATX motherboards, you get to
use an old Pentium 4 motherboard salvaged from an old PC or an Atom-
based motherboard for £100 or so. The latter price is a bit shocking,
IMO, compared to (say) the Asus EE-PC, but it reflects the demand for
them; they're prolly only $100 in the US. These atom motherboards have
minimal expansion slots, but if you only want to use it for storage
then you're probably fine with just one.
If you build your own server you can use software or hardware RAID.
Fast hardware RAID, based on an PCIe controller card, is expensive.
You can get PCI or PCI-X hardware RAID very cheaply on eBay these
days, but it's slow. That is to say that PCI or PCI-X hardware RAID is
fast enough to stream a couple of movies at the same time, fast enough
to copy 5gb files only a couple of minutes, but production server
systems (if you were buying a database server for work) would be
expected to use a PCIe-based hard-drive controller. Hardware RAID is
nice in its ability to hot-swap out a failed hard-drive without
interruption. I have not found non-RAID SATA controllers that satisfy
me with their ability to do hot-swap (although I would love to).
Managing RAID on a PC-based server - rather than a dedicated NAS
enclosure - very easily allows expansion. With RAID5 or 6 you can just
add in another drive and expand on to it. I use an old PCI-X (fits in
a PCI slot) 3ware 9500 card, and it *seems* like if you have a RAID1
(haven't tried RAID5) on two drives of capacity X, then remove each of
those drives in turn, rebuilding onto drives of X+Y capacity, then
upon completion the array appears to the o/s as the larger X+Y size. I
think some LSI cards do this, also. I would not bet on the ability of
low-end NAS boxes to do this.
A company called Drobo makes some high-end NAS hardware with space for
plenty of drives (on some models) and some fancy features. I find UK
prices a bit shocking, but depending upon your application they might
be justified; the US prices seem quite reasonable to me.
I wouldn't get too het up about Samba / CIFS vs NFS. Samba / CIFS can
be faster than NFS, even in an all-Linux environment. Other times it's
not. This seems pretty much random, depending upon whom is doing the
benchmarking. On an intellectual level, at least, I find neither
wholly satisfying - it would be really nice to have a Linux-native
network filesystem that does authentication / permissions properly.
But both do work.
I looked at ZFS, but decided that Solaris, from a look at the HCL, was
too picky over hardware. I think ZFS is great, I no longer think it's
the future. My selection of cheap hardware is far wider under Linux, I
can install Gentoo and just `emerge mediatomb` and stream movies to my
PS3.
So there ya go. Lots of options, budget from dead cheap to mega money.
Depends how much you can justify.
Stroller.
[1] http://www.newegg.com/product/product.aspx?item=n82e16811219021
next prev parent reply other threads:[~2010-03-15 18:22 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 [this message]
2010-03-15 19:18 ` Steve
2010-03-15 22:29 ` Andrea Conti
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=7D7A990E-4680-472D-8408-FFABFE82EDBA@stellar.eclipse.co.uk \
--to=stroller@stellar.eclipse.co.uk \
--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