From Fedora Project Wiki

Revision as of 09:17, 25 September 2009 by Toshio (talk | contribs) (fusecompress on-disk change.)

File Systems

fusecompress

Fusecompress is a compressing filesystem accessible from userspace and mountable by unprivileged users. (Note: this may mean we don't want this note in the system admin section). Fedora-11 had fusecompress-1.99.19. Fedora-12 updates to fusecompress-2.6. This fixes many very nasty bugs but changes the on-disk format. There is no way to upgrade the on-disk format within F-12 at this time. Users with fusecompress filesystems will need to move their data out of the fusecompress filesystem prior to updating, update to F-12, create a new fusecompress filesystem, and then move their data into the new filesystem.

I am working on a fusecompress1 package which will only have the fusecompress_offline tool. This will allow migration of data but not allow mounting the old filesystems in F12. Migration will look like this:

$ # Old fusecompress filesystem had data in ~/.storage and was mounted on
$ # ~/storage
$ # New fusecompress filesystem will have data in ~/.fusecompressstorage and
$ # still mount on ~/storage
$ cd ~/
$ mkdir ~/.fusecompressstorage
$ fusecompress ~/.fusecompressstorage ~/storage
$ find ~/.storage -type f -exec fusecompress_offline1 \{\} \;
$ mv ~/.storage/* ~/storage

I will update this note with the review ticket and status so we know if we can publish this migration strategy or not.