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 20:46:29
Message-Id: 4B9FEE1C.7050309@shic.co.uk
In Reply to: Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo... by Stroller
1 On 16/03/2010 19:57, Stroller wrote:
2 > How does your system boot if your RAID1 system volume fails? The one
3 > you have grub on? I think you mentioned a flash drive, which I've seen
4 > mentioned before. This seems sound, but just to point out that's
5 > another, different, single point of failure.
6 Well, at the moment, I don't have a RAID system... A flash drive (USB
7 key) seems a reasonable strategy - I could even have two containing
8 identical data - so, if the first were to fail then the second would
9 kick in - if not automatically - then after the duff flash-drive is
10 removed. A neat side effect of this would be to eliminate a moving part
11 on the server - making it quieter... and the drives themselves can be
12 located at two physically remote places on my LAN.
13
14 >>> by one client at a time), the simplest solution is to completely avoid
15 >>> having a FS on the storage server side -- just export the raw block
16 >>> device via iSCSI, and do everything on the client.
17 >> ...
18 >> Snap-shots, of course, are only really valuable for non-archive data...
19 >> so, in future, I could add a ZFS volume using the same iSCSI strategy.
20 > If you do not need data sharing (i.e. if your volumes are only mounted
21 Yes - I don't think I'd need sharing. It strikes me that it should be
22 possible to have a 'live' backup server which just reads until
23 fail-over... with a different /var/* - of course.
24
25 > I have wondered if it might be possible to create a large file (`dd
26 > if=/dev/zero of=/path/to/large/file` constrain at a size of 20gig or
27 > 100gig or whatever) and treat it as a loopback device for stuff like
28 > this. It's not true snapshotting (in the ZFS / BTFS sense), but you
29 > can unmount it and make a copy quite quickly.
30 You could, but the advantage of ZFS is the efficiency of snap-shots.
31 With your strategy I'd need to process all of the large file every time
32 I want to make a snapshot... which, even for a mere 100gig, won't be quick.