Gentoo Archives: gentoo-user

From: Steve <gentoo_sjh@×××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo...
Date: Mon, 15 Mar 2010 20:06:50
Message-Id: 4B9E87FA.3090600@shic.co.uk
In Reply to: Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo... by Stroller
1 On 15/03/2010 18:21, Stroller wrote:
2 > It's hard to be more specific without knowing your usage.
3 Yes... I was deliberately vague to see what options came up... but I can
4 be more specific. The budget is miniscule - and the performance demands
5 (bandwidth and latency) are completely non-challenging. It's in this
6 context that I'm looking for reliability and availability... and I'd
7 like to have unix permissions working properly. Security is a moderate
8 concern - the physical network is secured - but there is a broadband
9 connection which exposes various services.
10
11 > For storage of a "mere terabyte" you can buy a networked storage
12 > enclosure which will accommodate two drives. These are cheap, do
13 > mirroring, will accommodate standard 1TB, 1.5TB, 2TB drives, but are
14 > probably not too fast.
15
16 A cheap NAS enclosure is a definite possibility - there'd be no
17 performance issue - though this leaves three key questions:
18 1) Will it support unix file-permissions and can I be (fairly sure) it
19 will be secure if someone hacks my Wi-Fi?
20 2) Will I be able to put the (majority of the) gentoo filesystem on it -
21 or will I need to have a fully booted system to connect?
22 3) Can I use two entirely separate devices and mirror to both? (I
23 expect the failure of the enclosure to be at least as likely as the
24 failure of a drive.)
25
26 > If you build your own server you can use software or hardware RAID.
27
28 Hmmm... building my own server - I've done that in the past, but my plan
29 is to minimize DIY with a view to minimizing the number of components
30 that might fail. Ideally, I'd have four devices - one with a CPU and
31 memory (the server)... booting from Flash or CD or whatever (+a
32 replacement in the cupboard); two separate boxes with drives in them
33 (mirrored storage); one (wired) Ethernet hub and broadband gateway. I'd
34 connect to the network from a separate desktop/laptop to interact with
35 it - either locally or remotely.
36
37 > I wouldn't get too het up about Samba / CIFS vs NFS. Samba / CIFS can
38 > be faster than NFS, even in an all-Linux environment. Other times it's
39 > not. This seems pretty much random, depending upon whom is doing the
40 > benchmarking. On an intellectual level, at least, I find neither
41 > wholly satisfying - it would be really nice to have a Linux-native
42 > network filesystem that does authentication / permissions properly.
43 > But both do work.
44
45 Well the 'server' will be running Samba - and it's the back-end storage
46 for that I'm trying to resolve. CIFS definitely looks problematic -
47 since Unix permissions for server data are one valuable separation
48 between publicly accessible services and my private data. NFS might be
49 OK (it doesn't "feel" great) - though I *really* don't want to move from
50 one server to two when I'm aiming for reliability.
51
52 > I looked at ZFS, but decided that Solaris, from a look at the HCL, was
53 > too picky over hardware. I think ZFS is great, I no longer think it's
54 > the future. My selection of cheap hardware is far wider under Linux, I
55 > can install Gentoo and just `emerge mediatomb` and stream movies to my
56 > PS3.
57 I like ZFS, conceptually, though I don't like Solaris. I'm aware that
58 Apple have toyed with adopting ZFS and that it is available for BSD... A
59 *really* neat solution would be a (pair of) cheap NAS devices running an
60 appliance distribution of BSD with ZFS - exporting a NFS mount...
61 possibly over a VPN? Hmmm - I'm trying to avoid complexity, too. Hmmm.

Replies

Subject Author
Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo... Andrea Conti <alyf@××××.net>