1 |
When I read the docs, squasfs is read only, and you need at least the |
2 |
uncompressed space to create the image ... not useful here. |
3 |
|
4 |
BillK |
5 |
|
6 |
|
7 |
On Fri, 2006-05-12 at 05:17 -0400, ted leslie wrote: |
8 |
> |
9 |
> since you are not looking at writing to this fs, |
10 |
> then you can use cloop or squashfs |
11 |
> |
12 |
> for example, gentoo uses squashfs for its live cd/dvd |
13 |
> |
14 |
> squashfs is considered better, but both are in use on live cd/dvd, |
15 |
> cloop was (At least partially) written by the knoppix dude. |
16 |
> |
17 |
> typically you get 2.5:1 compression with these over a general linux distro file average. |
18 |
> |
19 |
> either one will put all files starting at a root path into the compressed structure. |
20 |
> The only real difference between doing it cloop/squashfs and tar.*z |
21 |
> is that cloop/squashfs can be directly accessed (once mounted), |
22 |
> which might be of some use. |
23 |
> |
24 |
> big negative (unless fixed in recent releases) is you need enough ram/VM to hold the entire |
25 |
> fs (to be compressed) in memory. So if you have 512MB ram and a 1GB VM allocation, |
26 |
> the biggest fs you can archive using cloop/squashfs would be 2.5GB (approx), that compresses down to |
27 |
> the 1GB to fit into your VM. |
28 |
> |
29 |
> pretty recent cloop souce is at knoppix web site, |
30 |
> squashfs, IIRC is at kernel.org |
31 |
> squashfs would also be available in gentoo, as gentoo uses it in their live cd. |
32 |
> |
33 |
> -tl |
34 |
> |
35 |
> On Fri, 12 May 2006 02:47:56 -0500 |
36 |
> Zac Slade <krakrjak@××××××××××.net> wrote: |
37 |
> |
38 |
> > On Thursday 11 May 2006 19:51, W.Kenworthy wrote: |
39 |
> > > What can I use for a compressed file system? I am looking at setting up |
40 |
> > > a loopback mounted filesystem that I want to use to store backups into. |
41 |
> > > Compression is needed as space will become a limitation in the future (I |
42 |
> > > want to do a whole system backup that so far is 2:1 compressed via |
43 |
> > > tar.bzip2. I am thinking of using dirvish into a compressed loopback |
44 |
> > > mount - but how do I set up a compressed fs? |
45 |
> > Have you tried reiserfs? As long as it is NOT mounted with the "notail" |
46 |
> > option it can sometimes save 50% on space compared to ext3/jfs/xfs depending |
47 |
> > on your usage. |
48 |
> > |
49 |
> > There is also a possiblility of using LVM2 snapshots also if you have LVM2 |
50 |
> > devices already set up. I'm not sure how dirvish is for backup and I'm not |
51 |
> > sure how good a loopback backup to a file really is anyway. That depends on |
52 |
> > the consistency of at least a partition anyway. Maybe you are trying to |
53 |
> > solve the wrong problem? |
54 |
> > |
55 |
> > -- |
56 |
> > Zac Slade |
57 |
> > krakrjak@××××××××××.net |
58 |
> > ICQ:1415282 YM:krakrjak AIM:ttyp99 |
59 |
> > -- |
60 |
> > gentoo-user@g.o mailing list |
61 |
> > |
62 |
-- |
63 |
William Kenworthy <billk@×××××××××.au> |
64 |
Home! |
65 |
-- |
66 |
gentoo-user@g.o mailing list |