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: Tue, 16 Mar 2010 16:33:20
Message-Id: 4B9FB29D.7010902@shic.co.uk
In Reply to: Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo... by Andrea Conti
1 On 15/03/2010 22:29, Andrea Conti wrote:
2 > This IMHO pretty much rules out any kind of server-class hardware, which
3 > tends to be both costly and power-hungry. If you're thinking about
4 > buying used stuff, be sure to factor in the cost and difficulty of
5 > finding spares in some years' time.
6 >
7 I'm considering neither used equipment nor 'server-class' - the workload
8 simply doesn't demand it.
9 > Given the point above I would also stick with software RAID.
10 ...
11 > If reliability is your primary concern, I would go for a simple RAID1
12 > setup;
13 Absolutely. Software raid is cheaper and implies less hardware to
14 fail. Similarly, RAID1 minimises the total number of disks required to
15 survive a failure. It's the only way for me to go.
16 > If you do not need data sharing (i.e. if your volumes are only mounted
17 > by one client at a time), the simplest solution is to completely avoid
18 > having a FS on the storage server side -- just export the raw block
19 > device via iSCSI, and do everything on the client.
20 This idea is on my wavelength. Has anyone on this tried this? My
21 concerns are:
22
23 1. Are there reliability issues surrounding this technology in Gentoo?
24 2. Are there any howtos about putting as much of the file-system as
25 possible onto an iSCSI device.
26 3. What's the best (most lightweight) way to expose the disk as a block
27 device. I don't want to manage three fully-fledged Linux boxes. Can
28 (cheap) NAS devices be used to export iSCSI to Gentoo?
29 4. What would be the strategy to 'secure' this iSCSI device... it would
30 be a disaster if my WiFi were cracked and my data corrupted from a
31 non-authorised host.
32
33 > In my experience this also works very well with Windows clients using the free MS iSCSI initiator.
34 >
35 That's fantastic - I had no idea that such software existed. Now, I
36 wonder, what's the most lightweight solution to get a couple of iSCSI
37 devices? Does it help that MS supports attaching devices this way?
38 > File systems: avoid complexity. As technically superior as it might be,
39 > in this kind of setup ZFS is only going to be resource hog and a
40 > maintenance headache; your priority should be having a rock-solid
41 > implementation and a reliable set of diagnostic/repair tools in case
42 > disaster strikes.
43 Yes. Separate arguments for snapshot support are compelling... but there
44 are alternatives without tackling the additional complexity. That said,
45 the iSCSI approach would work as well with ZFS as something mundane.
46 Snap-shots, of course, are only really valuable for non-archive data...
47 so, in future, I could add a ZFS volume using the same iSCSI strategy.

Replies

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