Page 1 of 1

analysing filesystem takes a long time

Posted: Mon Sep 12, 2011 7:30 pm
by mrtwice99
I have a 200+GB root drive that I wanted to backup with fsarchiver. I started it with appropriate options and received a message indicating the filesystem was being analysized. I waited 45 minutes and then killed it. Tried a second time with the same results.

Version: fsarchiver 0.6.12 (2010-12-25)

I saw a similar thread here:

http://www.fsarchiver.org/forums/viewto ... =16&t=1208

But no replies. Is this "normal" or a bug?

Re: analysing filesystem takes a long time

Posted: Mon Sep 12, 2011 8:59 pm
by msetzerii
It does take some time to look at the files system, and it probable depends on the size of the file system, number of files, and how complex the structure is. I've generally used it on smaller partitions, and haven't noticed a big speed difference.

You didn't mention what the filesystem is other than it being root? Is it a Linux root, or ntfs root.
Home many files are on the partition. Are they lots of little files, big files or what.
Which compression are you using. Probable not an issue with the analysis phase, but will make a big difference once it starts.

I handle the g4l disk imaging project, and the latest version has the 6.12 and the 7 beta version on it, along with the raw backup and ntfsclone backup options for ntfs partitions.

The latest version I'm working on is
ftp://amd64gcc.dyndns.org/g4l0.39alpha/ ... lpha05.iso
But the released 0.38 version is on sourceforge.

Re: analysing filesystem takes a long time

Posted: Mon Sep 12, 2011 11:23 pm
by mrtwice99
Its a linux system. I am backing up an LVS snapshot of the logical volume that is used for the system's root mount point. I do have a lot of little files on this drive, I really don't have a count at this point. I have already tested various compression options and am using -z 1 right now as speed of the backup is most important to me. Hence my frustration that the analysis phase is taking at least half as long as the backup itself should.

Re: analysing filesystem takes a long time

Posted: Tue Sep 13, 2011 12:43 am
by mrtwice99
I have 11.3M files on the filesystem.

Re: analysing filesystem takes a long time

Posted: Tue Sep 13, 2011 2:59 am
by mrtwice99
Ok, I decided to try again and just let it run. We are at 2 hours and counting, still no files backed up yet.

Re: analysing filesystem takes a long time

Posted: Tue Sep 13, 2011 3:52 am
by mrtwice99
Ok, four hours into it, still analyzing, so I canceled. This just isn't going to work. I am going to have to find another tool. Maybe partclone, but I had a CRC error the last time I tried to use it with compression, so I'm a little concerned.

Re: analysing filesystem takes a long time

Posted: Wed Sep 14, 2011 12:55 pm
by msetzerii
Have you don't a ram test on the system? Whenever I've had issues with errors on compressed images, it has always been that the ram on either the sender or receiver machines fails the memtest program. Once had a brand new server that was failing on every image file created using it. Did a ramtest, and the first 7 tests found not errors, but test 8 (not pass 8) found an error that was exactly the same pattern as was seen when I took an image that created on that machine versus another. Found out it was one of the memory sticks, and the vendor replaced that pair and all was fine.

My g4l project has options for doing regular raw dd compressed images, and includes both the released and beta versions of fsarchiver. Would be interesting if perhaps the beta version doesn't have the same issue..