failure to compress

Post here if you found a bug or something really not expected in the program
Post Reply
mantis13
Posts: 5
Joined: Sat Mar 24, 2012 4:34 am

failure to compress

Post by mantis13 » Tue Apr 03, 2012 4:00 am

I am using savedir, and the .fsa is (approx) the same size as the source. The command was performed on a 51 GB directory.
Experimenting, I then ran savedir -z[x] command were x is every number 3-9 (sequentially) on a 22 MB folder, all resulting 22 MB files, with no reported errors. z9 is the only one that did not run, stating insufficient memory.
I have 4 GB of memory on board, + 8 of swap, with none of the above commands resulting in a use of more than 1 GB as shown in the System Monitor.
Let me know what you think is going on, or any info that can help assess the issue.

Lazy_Kent
Posts: 53
Joined: Sun Nov 15, 2009 1:08 pm
Location: Moscow, Russia

Re: failure to compress

Post by Lazy_Kent » Tue Apr 03, 2012 6:09 am

What filetypes are in the directory?

mantis13
Posts: 5
Joined: Sat Mar 24, 2012 4:34 am

Re: failure to compress

Post by mantis13 » Tue Apr 03, 2012 2:55 pm

Files are the contents of my music library, and are roughly 90% audio10% video files. Also the source is ntfs, archive in ext4. I have saved an ntfs partition into ext4 without issue before. I know this is savedir, not savfs, but that shouldn't have a huge impact, right?
I'm not concerned about run time, as this is a once-in-a-while archive, not often updated, so I'm OK with j1, but I'd really like to use z7 or 8 for smaller archive size.
I also re-ran from systemrscuecd with the same result. I normally use fsarchiver from kubuntu.
On a rambling, probably unrelated note: the Muon package manager for kubuntu auto-uninstalls ntfs-tools when told to install ntfs-3g, and vice-versa.

feffer777
Posts: 21
Joined: Sun May 23, 2010 5:11 am

Re: failure to compress

Post by feffer777 » Tue Apr 03, 2012 5:14 pm

Using savefs and the default compression, I get archives that are less than half the size of the original. Haven't looked at the docs about this, but if savedir isn't compressing for you maybe that IS the difference. You could try savefs and see?

btw, if you are just saving specific directories, for your music etc, why don't you use rsync? It's a better tool for that job. On the other hand for entire partitions, or hdd, fsarchiver is good.

Lazy_Kent
Posts: 53
Joined: Sun Nov 15, 2009 1:08 pm
Location: Moscow, Russia

Re: failure to compress

Post by Lazy_Kent » Tue Apr 03, 2012 5:36 pm

Music and video files have been already compressed.
So, no chance to compress them more than 5%.

mantis13
Posts: 5
Joined: Sat Mar 24, 2012 4:34 am

Re: failure to compress

Post by mantis13 » Tue Apr 03, 2012 5:45 pm

Thank you, knowing that will come in handy. I will just cp then, and use fsarchiver for other things. I'm archiving my Windows partitions later today, so if all goes well then that should prove the issue 'solved' (quotes because apparently there was not a problem to start with). Thank you for the explanation, and help

Post Reply