Home > linux, system administration > Increase Dropbox size using transparent compression (FuseCompress)

Increase Dropbox size using transparent compression (FuseCompress)

It is possible to increase the storage size of a Dropbox account by using transparent file compression using FuseCompress.

FuseCompress provides a mountable Linux file system which transparently compresses its content.
Files stored in this file system are compressed on the fly and Fuse allows to create a transparent interface between compressed files and user applications.
(http://miio.net/wordpress/projects/fusecompress/)

By storing the compressed filesystem in your Dropbox you can increase it’s size by +/- 20-60% (depending on your files, filetypes, compression algorithm,… )
Fusecompress supports several compression algorithms: zlib, lzo, bzip2, xor.

Bzip2 has the highest compression ratio and the lowest speed, but files in Dropbox are never really big, and I never add many files at one time to my Dropbox folder anyway. That is why I chose to use bzip2.

Little “walkthrough:” (tested on Debian stable, should also work on Ubuntu Karmic)

FuseCompress is not available on debian stable, but it can be installed from the testing repository. (guide: http://forums.spry.com/debian/620-how-install-testing-packages-debian-stable-apt-get.html)
FuseCompress is not available on Ubuntu Jaunty 9.04, but I suppose it can be installed from the Karmic repository.

Fusecompress depends on fuse, if it was not installed before, you might have to logout before you can use FuseCompress.

From here on you must be using your own account (not root), otherwise you might run into some file permission and ownership problems.

Create two folders: one for the compressed archive (in you Dropbox folder), one for the mountpoint (the place where you will store your files.
example:
mkdir $HOME/Dropbox/compressedfolder
mkdir $HOME/CompressedDropbox

Create and mount the compressed filesystem:
fusecompress -o fc_c:bzip2 $HOME/Dropbox/compressedfolder $HOME/CompressedDropbox

Enjoy your new compressed Dropbox!

Some tests to make sure everything is working ok:

Show total folder size: (run command inside the mountpoint)
du -sh
Show total filesize in your compressed-dropbox before compression.
du -sh --apparent-size

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: