Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Compressed Filesystem
Date: Mon, 28 Dec 2009 12:30:02
Message-Id: 1262003354.11618.114.camel@rattus
In Reply to: [gentoo-user] Compressed Filesystem by Helmut Jarausch
1 On Mon, 2009-12-28 at 12:58 +0100, Helmut Jarausch wrote:
2 > Hi,
3 >
4 > I'm looking for a working and maintained compressed filesystem.
5 > I'd like to use it for backing up my root and my /usr filesystems,
6 > so that I can use rsync to keep it up-to-date.
7 >
8 > I've come across CompFused which seems to be just what I'm looking for,
9 > but it's buggy not maintained anymore.
10 >
11 > Similarly, fusecompress
12 > http://bugs.gentoo.org/show_bug.cgi?id=127433
13 > doesn't build on an up-to-date Gentoo system and doesn't
14 > look maintained either.
15 >
16 > There would be sys-fs/zfs-fuse but that sounds like overkill to me.
17 >
18 > Are there any other packages?
19 >
20 > Many thanks for a hint,
21 > Helmut.
22
23 Tried a few for this and besides the unmaintained part, they dont stand
24 up to the battering that rsync dishes out - regular corruption.
25
26 If you have space, look at dirvish (its in portage) on reiserfs. Tried
27 it on ext2 and ext3 - more corruption but reiserfs3 with data=journal is
28 rock solid. The devs reccomend not using a journaled FS for
29 performance, but I found it essential for my setup.
30
31 Dirvish takes the full size for the first backup. Subsequent backups
32 create hard links to existing files so only differences show up as using
33 space. After a number of backups, total size stabilises around 2x
34 original space unless you add some large files, or do an "emerge -ep
35 world" :)
36
37 Can be easily managed by cron and ssh keys including how many backups to
38 keep etc. Can use on a local system, or more usually to a remote
39 machine. Restore is as simple as copying the files back (though special
40 files an permissions need to be maintained so a simple copy isnt viable
41 for a full system restore.)
42
43 BillK