From: "Stefan G. Weichinger" <lists@xunil.at>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Good/better/best filesystem for large, static video library?
Date: Thu, 27 Dec 2012 11:01:00 +0100 [thread overview]
Message-ID: <50DC1C5C.7090202@xunil.at> (raw)
In-Reply-To: <20121227021800.49b1cbad@khamul.example.com>
Am 27.12.2012 01:18, schrieb Alan McKinnon:
> I am *very* impressed with ZFS for this. Yes, I know, it's not really
> there on Linux - I use it on FreeBSD (FreeNAS).
>
> It has everything I've wanted in a filesystem for a long time, and all
> the crap I've stuffed into my head over many years related to storage
> just goes away. It doesn't go to some place I don't have to deal with
> it, it just ceases to exist. Very nice.
>
> There is no more weird partitions from the days of DOS, no PV/VG/LV to
> remember the details of. There is only storage and ZFS knows what I
> want to happen with each "chunk" of it. A "chunk" (my term) in this
> context is a directory and everything below it.
>
> ZFS doesn't have partitions and filesystems. It has volumes. A volume
> is sort of a cross between a filesystem (you mount it and can assign
> quotas to it) and a directory (you assign permissions and ownerships to
> it). You can overcommit storage space and quotas - you do not get "disk
> full" errors and three days of nightmares while you figure out how to
> deal with this. the FS just tells you it used more than the allocated
> space and keeps telling you till you get it under the limit.
>
> mv'ing a few TB of video to a different FS to free up space is not fun
> at all, but with ZFS it's like an mv on the same FS (that volume thing
> again). It checksums every write and lets you know if things fail. It
> has proper snapshots built in - that's proper as in copy-on-write so
> they don't really take up space until you start modifying files. Your
> media collection is like mine - I only add to it and seldom delete, so
> I have months of snapshots that consume about 1% extras space. Dale's
> rm problem cannot happen to me anymore hehehehe ;-)
>
> In summary, it does everything I want and does it well. It can also do
> other things I don't want but others might (eg de-dupe).
I also used ZFS for that kind of storage and it was very pleasant to
work with. Performance is an issue if you use zfs-fuse for example,
although there are people running zfs-on-linux on LUKS for their main
working machine (using an SSD, that helps!):
https://mthode.org/
describes such a setup (although slightly off-topic in context of media
libraries).
I had the pleasure to write a feature about that and provide a demo-vm:
http://www.oops.co.at/en/publications/beitrag-fuer-linux-magazin-012013-zfs-und-luks
(german feature, sorry ...)
-
Using snapshots with ZFS really is fun and let's you rethink stuff. It
makes doing backups easier and you can send and receive them via pipes
(think ssh here).
ZFS thinks of storage in the way we think of RAM: plug in some more and
everything (as in "every filesystem") is able to use it, just a pool of
ressources (actually it uses that term all over, "a zfs pool called tank").
I'd love to use it as root-fs sometimes, but I still hesitate. Might be
better to stay with the filesystems most linux-users use, just to
benefit of the huge tester-group :-)
For media-storage I wouldn't hesitate to run zfs-on-linux on a mirror of
2 disks or so. With that you benefit of the so-called self-healing:
If the checksum for block X on disk sda isn't correct, very likely the
checksum for block X on disk sdb is still valid. ZFS sees that, creates
a new block X on sda, with the correct content&checksum and drops the
corrupted block (and doesn't reuse it, AFAIK).
That is a great feature ... maybe not too important for video where the
occasional bit error isn't that much of a problem. But good to have for
other stuff ...
Greets, Stefan
next prev parent reply other threads:[~2012-12-27 10:02 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-25 15:41 [gentoo-user] Good/better/best filesystem for large, static video library? Mark Knecht
2012-12-25 16:33 ` Pandu Poluan
2012-12-25 17:07 ` Mark Knecht
2012-12-25 17:18 ` Michael Orlitzky
2012-12-25 17:56 ` Dale
2012-12-25 18:26 ` Mark Knecht
2012-12-25 18:58 ` Florian Philipp
2012-12-25 16:46 ` Florian Philipp
2012-12-25 17:15 ` Dale
2012-12-25 19:04 ` Florian Philipp
2012-12-25 19:45 ` Dale
2012-12-25 20:09 ` Marc Stürmer
2012-12-27 0:18 ` Alan McKinnon
2012-12-27 10:01 ` Stefan G. Weichinger [this message]
2012-12-27 13:57 ` Michael Hampicke
2012-12-27 22:48 ` Alan McKinnon
2013-01-02 13:04 ` Neil Bothwick
2013-01-02 13:38 ` Alan McKinnon
2013-01-02 14:08 ` Volker Armin Hemmann
2013-01-02 14:39 ` Neil Bothwick
2012-12-27 0:44 ` Alecks Gates
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=50DC1C5C.7090202@xunil.at \
--to=lists@xunil.at \
--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