Save disk space - use compFUSEd to transparently compress filesystems


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News Save disk space - use compFUSEd to transparently compress filesystems
# 1  
Old 06-10-2008
Save disk space - use compFUSEd to transparently compress filesystems

Tue, 10 Jun 2008 08:00:00 GMT
The Filesystem in Userspace (FUSE) project allows you install new filesystems without touching your Linux kernel. The filesystems run as regular programs, allowing them to use shared libraries and perform tasks that would be difficult from inside the Linux kernel. FUSE filesystems look just like regular filesystems to other applications on the machine. In this article I'll look at compFUSEd, which is a compressed FUSE filesystem. Using compFUSEd can save a significant amount of disk space for files that are highly compressible, such as many text documents and executable files.


Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script to sum up the space allocated to filesystems

Hi , I Would like to know the space allocated by adding up all the allocated space to group of filesystems .. example , df -h|grep /db | awk '{ print $4 }' ---> giving me all the used space on the filesystem but need to know the total used space by adding up all the values (3 Replies)
Discussion started by: nsankineni
3 Replies

2. Shell Programming and Scripting

From .gz to .7z to save space

Hi all, my log server is completely full with logs. I have used gzip to compress logs, but as i tried, 7z has a better compression, it saves the half size of my server. I want to uncompress .gz files, then compress them to .7z Can you please help me with a script that does this: 1.... (2 Replies)
Discussion started by: arrals_vl
2 Replies

3. Shell Programming and Scripting

need to save the space when converting to CSV file

Hi, I have a text file with the following format. Some of the fields are blank. 1234 3456 23 45464 327837283232 343434 5654353 34 34343 3434345 434242 .... .... .... I need to convert this file to a CSV file, like 1234, ,23, ... (3 Replies)
Discussion started by: wintersnow2011
3 Replies

4. UNIX for Dummies Questions & Answers

Issue: Compress in unix server and FTP to windows and open the compress file using Winzip

Hi All ! We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows. I have used the utility ZIP like the below. zip -e <newfilename> df2_test_extract.dat but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Discussion started by: sakthifire
4 Replies

5. HP-UX

Problem running out of space by copying files to identical filesystems

I am trying to copy a filesystem from one server to another using rsync over the WAN. As far as I can tell, the two filesystems are identical but for some reason I cannot copy the last file because I keep running out of space. SERVER 1: mkfs -m <lvol> mkfs -F vxfs -o... (1 Reply)
Discussion started by: keelba
1 Replies

6. HP-UX

Apache Redirect Transparently

I have two servers running apache server, namely server A and B. All users access server A, but for some application, I would like to redirect the request to server B. I have set apache redirect in server A apache config file. Redirect /application http://serverB/application Now, the flow... (2 Replies)
Discussion started by: alfredo
2 Replies

7. Solaris

compress disk on Solaris 9

Is is possible to create a compress volume on a Solaris 9 machine? If so what are my options? btw, I do not have Veritas Volume Manager (2 Replies)
Discussion started by: gandolf989
2 Replies

8. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies
Login or Register to Ask a Question
E2IMAGE(8)						      System Manager's Manual							E2IMAGE(8)

NAME
e2image - Save critical ext2 filesystem data to a file SYNOPSIS
e2image [ -r ] device image-file DESCRIPTION
The e2image program will save critical filesystem data on the ext2 filesystem located on device to a file specified by image-file. The image file may be examined by dumpe2fs and debugfs, by using the -i option to those programs. This can be used by an expert in assisting the recovery of catastrophically corrupted filesystems. In the future, e2fsck will be enhanced to be able to use the image file to help recover a badly damaged filesystem. If image-file is -, then the output of e2image will be sent to standard output. The -r option will create a raw image file instead of a normal image file. A raw image file differs from a normal image file in two ways. First, the filesystem metadata is placed in the proper position so that e2fsck, dumpe2fs, debugfs, etc. can be run directly on the raw image file. In order to minimize the amount of disk space consumed by a raw image file, the file is created as a sparse file. (Beware of copying or compressing/decompressing this file with utilities that don't understand how to create sparse files; the file will become as large as the filesystem itself!) Secondly, the raw image file also includes indirect blocks and data blocks, which the current image file does not have, although this may change in the future. It is a very good idea to periodically (at boot time and every week or so) to create image files for all of filesystems on a system, as well as saving the partition layout (which can be generated using the using fdisk -l command). Ideally the image file should be stored on some filesystem other that the filesystem whose data it contains, to ensure that its data is accessible in the case where the filesystem has been badly damaged. To save disk space, e2image creates the image file as a sparse file. Hence, if the image file needs to be copied to another location, it should either be compressed first or copied using the --sparse=always option to GNU version of cp. The size of an ext2 image file depends primarily on the size of the filesystems and how many inodes are in use. For a typical 10 gigabyte filesystem, with 200,000 inodes in use out of 1.2 million inodes, the image file be approximately 35 megabytes; a 4 gigabyte filesystem with 15,000 inodes in use out of 550,000 inodes will result in a 3 megabyte image file. Image files tend to be quite compressible; an image file taking up 32 megabytes of space on disk will generally compress down to 3 or 4 megabytes. AUTHOR
e2image was written by Theodore Ts'o (tytso@mit.edu). AVAILABILITY
e2image is part of the e2fsprogs package and is available from anonymous http://e2fsprogs.sourceforge.net. SEE ALSO
dumpe2fs(8), debugfs(8) E2fsprogs version 1.32 November 2002 E2IMAGE(8)