Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] Compressed Filesystem

22 views
Skip to first unread message

Helmut Jarausch

unread,
Dec 28, 2009, 7:10:02 AM12/28/09
to
Hi,

I'm looking for a working and maintained compressed filesystem.
I'd like to use it for backing up my root and my /usr filesystems,
so that I can use rsync to keep it up-to-date.

I've come across CompFused which seems to be just what I'm looking for,
but it's buggy not maintained anymore.

Similarly, fusecompress
http://bugs.gentoo.org/show_bug.cgi?id=127433
doesn't build on an up-to-date Gentoo system and doesn't
look maintained either.

There would be sys-fs/zfs-fuse but that sounds like overkill to me.

Are there any other packages?

Many thanks for a hint,
Helmut.

--
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

William Kenworthy

unread,
Dec 28, 2009, 9:10:01 AM12/28/09
to
On Mon, 2009-12-28 at 12:58 +0100, Helmut Jarausch wrote:
> Hi,
>
> I'm looking for a working and maintained compressed filesystem.
> I'd like to use it for backing up my root and my /usr filesystems,
> so that I can use rsync to keep it up-to-date.
>
> I've come across CompFused which seems to be just what I'm looking for,
> but it's buggy not maintained anymore.
>
> Similarly, fusecompress
> http://bugs.gentoo.org/show_bug.cgi?id=127433
> doesn't build on an up-to-date Gentoo system and doesn't
> look maintained either.
>
> There would be sys-fs/zfs-fuse but that sounds like overkill to me.
>
> Are there any other packages?
>
> Many thanks for a hint,
> Helmut.

Tried a few for this and besides the unmaintained part, they dont stand
up to the battering that rsync dishes out - regular corruption.

If you have space, look at dirvish (its in portage) on reiserfs. Tried
it on ext2 and ext3 - more corruption but reiserfs3 with data=journal is
rock solid. The devs reccomend not using a journaled FS for
performance, but I found it essential for my setup.

Dirvish takes the full size for the first backup. Subsequent backups
create hard links to existing files so only differences show up as using
space. After a number of backups, total size stabilises around 2x
original space unless you add some large files, or do an "emerge -ep
world" :)

Can be easily managed by cron and ssh keys including how many backups to
keep etc. Can use on a local system, or more usually to a remote
machine. Restore is as simple as copying the files back (though special
files an permissions need to be maintained so a simple copy isnt viable
for a full system restore.)

BillK

Mike Kazantsev

unread,
Dec 28, 2009, 9:10:01 AM12/28/09
to
On Mon, 28 Dec 2009 12:58:13 +0100 (CET)
Helmut Jarausch <jara...@igpm.rwth-aachen.de> wrote:

> Hi,
>
> I'm looking for a working and maintained compressed filesystem.
> I'd like to use it for backing up my root and my /usr filesystems,
> so that I can use rsync to keep it up-to-date.
>
> I've come across CompFused which seems to be just what I'm looking
> for, but it's buggy not maintained anymore.
>
> Similarly, fusecompress
> http://bugs.gentoo.org/show_bug.cgi?id=127433
> doesn't build on an up-to-date Gentoo system and doesn't
> look maintained either.
>
> There would be sys-fs/zfs-fuse but that sounds like overkill to me.
>
> Are there any other packages?

Although it might not be stable enough yet, btrfs has support for
compression.


--
Mike Kazantsev // fraggod.net

Volker Armin Hemmann

unread,
Dec 28, 2009, 3:10:02 PM12/28/09
to
On Montag 28 Dezember 2009, Helmut Jarausch wrote:
> Hi,
>
> I'm looking for a working and maintained compressed filesystem.
> I'd like to use it for backing up my root and my /usr filesystems,
> so that I can use rsync to keep it up-to-date.
>
> I've come across CompFused which seems to be just what I'm looking for,
> but it's buggy not maintained anymore.
>
> Similarly, fusecompress
> http://bugs.gentoo.org/show_bug.cgi?id=127433
> doesn't build on an up-to-date Gentoo system and doesn't
> look maintained either.
>
> There would be sys-fs/zfs-fuse but that sounds like overkill to me.
>
> Are there any other packages?
>
> Many thanks for a hint,
> Helmut.
>

reiser4. Bonus, it only tries to compress stuff that can be compressed (the
test is quick&dirty and sometimes wrong, but most of the time good enough).

Helmut Jarausch

unread,
Dec 29, 2009, 5:10:02 AM12/29/09
to

Thanks!
But what's the future of reiser4 FS ? What are the advantages compared
to btrfs ?

Many thanks,

Volker Armin Hemmann

unread,
Dec 29, 2009, 9:10:02 AM12/29/09
to
On Dienstag 29 Dezember 2009, Helmut Jarausch wrote:
> On 28 Dec, Volker Armin Hemmann wrote:
> > On Montag 28 Dezember 2009, Helmut Jarausch wrote:
> >> Hi,
> >>
> >> I'm looking for a working and maintained compressed filesystem.
> >> I'd like to use it for backing up my root and my /usr filesystems,
> >> so that I can use rsync to keep it up-to-date.
> >>
> >> I've come across CompFused which seems to be just what I'm looking for,
> >> but it's buggy not maintained anymore.
> >>
> >> Similarly, fusecompress
> >> http://bugs.gentoo.org/show_bug.cgi?id=127433
> >> doesn't build on an up-to-date Gentoo system and doesn't
> >> look maintained either.
> >>
> >> There would be sys-fs/zfs-fuse but that sounds like overkill to me.
> >>
> >> Are there any other packages?
> >>
> >> Many thanks for a hint,
> >> Helmut.
> >
> > reiser4. Bonus, it only tries to compress stuff that can be compressed
> > (the test is quick&dirty and sometimes wrong, but most of the time good
> > enough).
>
> Thanks!
> But what's the future of reiser4 FS ? What are the advantages compared
> to btrfs ?

reiser4 was denied for 'layer violation'.
btrfs violates those layers even more.

I do no know btrfs. But there are two nice things about reiser4:
it takes your data seriously. It tries everything to make sure your data hit
the platter. Device does not support barriers? Reiser4 detects that and goes
into sync mode.
Second, reiser4 is really, really really fast (except mounting).

Volker Armin Hemmann

unread,
Dec 29, 2009, 7:10:01 PM12/29/09
to
On Mittwoch 30 Dezember 2009, Stefan G. Weichinger wrote:

> Am 29.12.2009 14:04, schrieb Volker Armin Hemmann:
> > I do no know btrfs. But there are two nice things about reiser4:
> > it takes your data seriously. It tries everything to make sure your data
> > hit the platter. Device does not support barriers? Reiser4 detects that
> > and goes into sync mode.
> > Second, reiser4 is really, really really fast (except mounting).
>
> thinking "ricer" here (ricer vs. reiser ;-) ):
>
> would you recommend it over ext4 for a productive root-fs, considering
> speed and safety .... ?

just think a moment of the tons of bug fixes constantly going into ext4. That
crap is not stable. Pre-alpha maybe.

Stefan G. Weichinger

unread,
Dec 29, 2009, 7:10:01 PM12/29/09
to
Am 29.12.2009 14:04, schrieb Volker Armin Hemmann:

> I do no know btrfs. But there are two nice things about reiser4:
> it takes your data seriously. It tries everything to make sure your data hit
> the platter. Device does not support barriers? Reiser4 detects that and goes
> into sync mode.
> Second, reiser4 is really, really really fast (except mounting).

thinking "ricer" here (ricer vs. reiser ;-) ):

would you recommend it over ext4 for a productive root-fs, considering
speed and safety .... ?

Personally I avoided reiserfs for years after having some really bad
crashes back then .... but sure, things developed since then.

S

Volker Armin Hemmann

unread,
Dec 29, 2009, 9:10:01 PM12/29/09
to
On Mittwoch 30 Dezember 2009, Albert Hopkins wrote:

> On Wed, 2009-12-30 at 00:08 +0100, Volker Armin Hemmann wrote:
> > just think a moment of the tons of bug fixes constantly going into
> > ext4. That
> > crap is not stable. Pre-alpha maybe.
>
> People say this from time to time, yet I have been running ext4 on my
> root directory of my laptop since July 2008. The only problem I've had
> since then is one time it would not mount on boot. I merely had to fsck
> it from a live media an then it was ok (nothing lost or currupted). But
> that was a long time ago when it was still ext4dev. And I've had
> numerous crashes and battery depletions on the laptop without incident.
> So the pre-alpha FUD that some people are spreading is either not true
> or I just happen to be the luckiest ext4 user in the world :-).
>

tell that to the people who got their configs zeroed because extX devs value
benchmarks at default settings as more important than your data.

Albert Hopkins

unread,
Dec 29, 2009, 9:10:01 PM12/29/09
to
On Wed, 2009-12-30 at 00:08 +0100, Volker Armin Hemmann wrote:
> just think a moment of the tons of bug fixes constantly going into
> ext4. That
> crap is not stable. Pre-alpha maybe.

People say this from time to time, yet I have been running ext4 on my

Stefan G. Weichinger

unread,
Dec 30, 2009, 5:10:01 AM12/30/09
to
Am 30.12.2009 00:08, schrieb Volker Armin Hemmann:

>> would you recommend it over ext4 for a productive root-fs, considering
>> speed and safety .... ?
>
> just think a moment of the tons of bug fixes constantly going into ext4. That
> crap is not stable. Pre-alpha maybe.

hmm, thanks for that thought ...

Stroller

unread,
Dec 30, 2009, 9:10:01 AM12/30/09
to

On 30 Dec 2009, at 00:17, Albert Hopkins wrote:
> ... The only problem I've had

> since then is one time it would not mount on boot. I merely had to
> fsck
> it from a live media an then it was ok (nothing SEEMED lost or
> currupted).

Fixed this for you.

Stroller.

Marcus Wanner

unread,
Dec 30, 2009, 11:10:02 AM12/30/09
to
For my two cents, a while back I was on ext4 and was trying to get xorg
working. My problem was that the input drivers were not working (because
they had not been recompiled after an update), so once I ran startx, no
keyboard or mouse input was registered. This meant that every time I
tried something which I thought would fix it, I had to hard reset the
system and look at the logs. The only problem was that the logs had the
wrong contents because they had been "written to" but not actually
flushed to the disk, and it took me about 10 hard resets to figure that
out. Even though I was running ext4, I never lost a thing (except the
logs :p).

For the curious, I eventually got good logs by running shutdown -h 1 in
one tty right before running startx in the other, and that shutdown the
system correctly.

Marcus

Volker Armin Hemmann

unread,
Dec 30, 2009, 11:10:01 AM12/30/09
to

you could have set up acpid to switch to vt1 when the power button is pressed.

This is a nice safeguard against a misbehaving X.

Neil Bothwick

unread,
Dec 30, 2009, 8:10:02 PM12/30/09
to
On Wed, 30 Dec 2009 09:12:29 -0500, Marcus Wanner wrote:

> I had to hard reset the
> system and look at the logs. The only problem was that the logs had the
> wrong contents because they had been "written to" but not actually
> flushed to the disk, and it took me about 10 hard resets to figure that
> out.

Another reason to you the magic sysrq keys instead of the reset button.
S syncs your filesystems.


--
Neil Bothwick

Get your copy at http://www.geekthing.com/~robf/gensig/

signature.asc

Marcus Wanner

unread,
Dec 30, 2009, 11:10:02 PM12/30/09
to
On 12/30/2009 8:04 PM, Neil Bothwick wrote:
> On Wed, 30 Dec 2009 09:12:29 -0500, Marcus Wanner wrote:
>
>
>> I had to hard reset the
>> system and look at the logs. The only problem was that the logs had the
>> wrong contents because they had been "written to" but not actually
>> flushed to the disk, and it took me about 10 hard resets to figure that
>> out.
>>
> Another reason to you the magic sysrq keys instead of the reset button.
> S syncs your filesystems.
>
sysrq syncs the filesystem? I always wondered what that key actually did...

Wait, to get sysrq is Shift+printscreen, right?

Marcus

Dale

unread,
Dec 31, 2009, 1:10:02 AM12/31/09
to

This is from a post by Neil a good long while back:

Hold down Atl, hold down SysRq, press each of the keys in turn. The usual
full sequence is R-E-I-S-U-B

Reboot
Even
If
System
Utterly
Broken


I usually only get to the second or third key and I am back at a console.

That help?

Dale

:-) :-)

Volker Armin Hemmann

unread,
Dec 31, 2009, 5:10:01 AM12/31/09
to

and sometimes K is all you need.

Thank god for /usr/src/linux/Documentation

Marcus Wanner

unread,
Dec 31, 2009, 1:10:03 PM12/31/09
to
Thanks for the info!

Marcus

Dale

unread,
Dec 31, 2009, 1:10:03 PM12/31/09
to

This was posted by Volker a while back.

e sends TERM to all processes (except init)
i kills all processes (except init)
s syncs partitions
u remounts everything ro
b boots a box
o turns off a box
k saks a box - kills all processes on that vt

That tells what each key does. I'm still not sure which one took me back to a console. It may be the E key that does it.

Dale

:-) :-)
r unraws the keyboars - takes it away from X.

Enrico Weigelt

unread,
Jan 3, 2010, 1:40:01 AM1/3/10
to
Helmut Jarausch wrote:
> Hi,
>
> I'm looking for a working and maintained compressed filesystem.
> I'd like to use it for backing up my root and my /usr filesystems,
> so that I can use rsync to keep it up-to-date.

Perhaps you could try venti+fossil or git.

cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/

cellphone: +49 174 7066481 email: in...@metux.de skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------

Helmut Jarausch

unread,
Jan 3, 2010, 7:00:02 AM1/3/10
to
On 3 Jan, Enrico Weigelt wrote:
> Helmut Jarausch wrote:
>> Hi,
>>
>> I'm looking for a working and maintained compressed filesystem.
>> I'd like to use it for backing up my root and my /usr filesystems,
>> so that I can use rsync to keep it up-to-date.
>
> Perhaps you could try venti+fossil or git.
>
Thanks, but I haven't found venti or fossil in Gentoo's tree.
Are there any ebuilds around?

Mike Kazantsev

unread,
Jan 3, 2010, 9:10:01 AM1/3/10
to
On Sun, 03 Jan 2010 12:53:07 +0100 (CET)
Helmut Jarausch <jara...@igpm.rwth-aachen.de> wrote:

> On 3 Jan, Enrico Weigelt wrote:
> >
> > Perhaps you could try venti+fossil or git.
> >
> Thanks, but I haven't found venti or fossil in Gentoo's tree.
> Are there any ebuilds around?

You'd need plan9 for these ;)

signature.asc

Enrico Weigelt

unread,
Feb 5, 2010, 7:10:02 PM2/5/10
to
Helmut Jarausch wrote:
> On 3 Jan, Enrico Weigelt wrote:
>> Helmut Jarausch wrote:
>>> Hi,
>>>
>>> I'm looking for a working and maintained compressed filesystem.
>>> I'd like to use it for backing up my root and my /usr filesystems,
>>> so that I can use rsync to keep it up-to-date.
>> Perhaps you could try venti+fossil or git.
>>
> Thanks, but I haven't found venti or fossil in Gentoo's tree.
> Are there any ebuilds around?

plan9port


>
> Helmut.

0 new messages