public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Good/better/best filesystem for large, static video library?
Date: Thu, 27 Dec 2012 02:18:00 +0200	[thread overview]
Message-ID: <20121227021800.49b1cbad@khamul.example.com> (raw)
In-Reply-To: <CAK2H+ed5cP77s=ciCC8a+5MCB3DDay_c5hNfTdk5VxfhL4Sozg@mail.gmail.com>

On Tue, 25 Dec 2012 07:41:01 -0800
Mark Knecht <markknecht@gmail.com> wrote:

> Hi,
>    Merry Christmas to all.
> 
>    Upgrading an external USB2 drive at home this Christmas morning to
> 1TB for more video storage space. One large partition, non-raid, files
> are around 1GB. The drive holds only static video files that get
> written once and don't change or get erased. No MythTV stuff or
> anything like that.
> 
>    This disk reside on my main desktop machine and gets backed up
> every couple of days to another USB2 drive (FAT formatted
> unfortunately) which attaches to the TV.
> 
>    With the previous local drive I used ext3 and have had no problems.
> I'm just wondering if there's a better choice & why.


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).


-- 
Alan McKinnon
alan.mckinnon@gmail.com



  parent reply	other threads:[~2012-12-27  0:23 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 [this message]
2012-12-27 10:01   ` Stefan G. Weichinger
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=20121227021800.49b1cbad@khamul.example.com \
    --to=alan.mckinnon@gmail.com \
    --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