Am Monday 22 October 2012 08:46:53 schrieb Jean-Pierre André:
> Hi Simon,
>
> [email protected] wrote:
> > Am Sunday 14 October 2012 10:56:58 schrieb Jean-Pierre André:
> >
> > Hi Jean-Pierre,
> >
> > Thanks a lot for your help so far.
> >
> > I applied the patch to ntfsclone, and also modified the image file as you
> > suggested.
> >
> > 0x11b74c22, 0x11b76c24, 0x11b77c25 and 0x11b78c26 had indeed a 0x1 byte.
> > And 0x11b75c23 was 0x0.
> > I then modified the image so that 0x11b75c23 is now 0x1.
> >
> > ntfsclone now restores more of the image, but still aborts at around
> > 0.47%
>
> This is still a very early abort...
>
> Before I try to fix this corruption, I suggest you try
> to run a small program to evaluate the quality of
> your image :
> source code :
> http://tuxera.com/forum/download/file.php?id=226&sid=db093826a86438d519dd7b
>6a227c441e executable :
> http://tuxera.com/forum/download/file.php?id=227&sid=db093826a86438d519dd7b
>6a227c441e
>
> And please put the output to some place from where
> I can download it.
>
> Regards
>
> Jean-Pierre

Hi Jean-Pierre,

I ran your program. It completed after about 8 hours and gave me a 12 GiB log 
file. Even with compression it was too big to upload it - sorry ;-)

But after i had i look on your program, i decided to write a own based on what 
i learned.

I dont know if I got everything right, but the output looks very useable.

See the program source code here:
http://www.sbsw.net/ntfsclone-resync-scan.cpp

And its output here:
http://www.sbsw.net/ntfsclone-resync-scan.log

The error statistic at the bottom is wrong as it is based on the previous 
processed block, which is wrong, but well.....

I also wrote the offsets of the bad blocks to another file. I can provide you 
with a hexdumps of these bad blocks or other parts of the image if that would 
help.

You will need a 64bit machine, In case you want to try it yourself on some 
other image. (because of "mmap")

Thanks again!

- Simon

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to