Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Good/better/best filesystem for large, static video library?
Date: Thu, 27 Dec 2012 00:23:20
Message-Id: 20121227021800.49b1cbad@khamul.example.com
In Reply to: [gentoo-user] Good/better/best filesystem for large, static video library? by Mark Knecht
1 On Tue, 25 Dec 2012 07:41:01 -0800
2 Mark Knecht <markknecht@×××××.com> wrote:
3
4 > Hi,
5 > Merry Christmas to all.
6 >
7 > Upgrading an external USB2 drive at home this Christmas morning to
8 > 1TB for more video storage space. One large partition, non-raid, files
9 > are around 1GB. The drive holds only static video files that get
10 > written once and don't change or get erased. No MythTV stuff or
11 > anything like that.
12 >
13 > This disk reside on my main desktop machine and gets backed up
14 > every couple of days to another USB2 drive (FAT formatted
15 > unfortunately) which attaches to the TV.
16 >
17 > With the previous local drive I used ext3 and have had no problems.
18 > I'm just wondering if there's a better choice & why.
19
20
21 I am *very* impressed with ZFS for this. Yes, I know, it's not really
22 there on Linux - I use it on FreeBSD (FreeNAS).
23
24 It has everything I've wanted in a filesystem for a long time, and all
25 the crap I've stuffed into my head over many years related to storage
26 just goes away. It doesn't go to some place I don't have to deal with
27 it, it just ceases to exist. Very nice.
28
29 There is no more weird partitions from the days of DOS, no PV/VG/LV to
30 remember the details of. There is only storage and ZFS knows what I
31 want to happen with each "chunk" of it. A "chunk" (my term) in this
32 context is a directory and everything below it.
33
34 ZFS doesn't have partitions and filesystems. It has volumes. A volume
35 is sort of a cross between a filesystem (you mount it and can assign
36 quotas to it) and a directory (you assign permissions and ownerships to
37 it). You can overcommit storage space and quotas - you do not get "disk
38 full" errors and three days of nightmares while you figure out how to
39 deal with this. the FS just tells you it used more than the allocated
40 space and keeps telling you till you get it under the limit.
41
42 mv'ing a few TB of video to a different FS to free up space is not fun
43 at all, but with ZFS it's like an mv on the same FS (that volume thing
44 again). It checksums every write and lets you know if things fail. It
45 has proper snapshots built in - that's proper as in copy-on-write so
46 they don't really take up space until you start modifying files. Your
47 media collection is like mine - I only add to it and seldom delete, so
48 I have months of snapshots that consume about 1% extras space. Dale's
49 rm problem cannot happen to me anymore hehehehe ;-)
50
51 In summary, it does everything I want and does it well. It can also do
52 other things I don't want but others might (eg de-dupe).
53
54
55 --
56 Alan McKinnon
57 alan.mckinnon@×××××.com

Replies