Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3055133
By: szaka
> If I wait long enough (~5 min) the system seem to recover from reading
> all the bad sectors (this kernel does not seem to dump the I/O error
> messages) and ntfsclone seem to finish its job.
Probably the kernel tries to read the faulty sectors and it gives up after
awhile. This is why the process seems to be slow.
You can run
strings -td ntfs-bad-blocks.img /mnt/freestore/winxp.img | grep BadClusteR
to see how many bad sectors the kernel couldn't read and where they are
(offset from the partition start). Unfortunately ntfsclone doesn't make
a statistic about this yet.
> But I have a problem again. When I tried to make an exact copy of the
> partition using ntfsclone --rescue -o /mnt/freestore/winxp.img
> /dev/hda3 I get an image with a size lesser than that of the
> partition.
Please explain in more details/examples what you mean. There are several
sizes.
> To check that everything went right I mounted the image file as a
> loopback device mount /mnt/freestore/winxp.img /mnt/loop -t ntfs -o
> loop=/dev/loop0 and then did a diff with the mounted ntfs partition
> diff -r /mnt/loop /mnt/windows which reveals that I cannot access
> /mnt/loop/WINDOWS directory. I get an I/O error when I try to access
> this directory. Do you have any idea of what could have gone wrong?
So it seems the kernel couldn't read the data there. If Windows can see
that directory then this is a kernel bug/feature again.
> I also have another question. What happens to the bad sectors portion
> of the data when the image used for restore?
The unreadable content of the disk having bad sectors is filled by 0x02
(this will change to a readable character) and a "BadClusteR" signature is
written at the start of these sectors.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=44084
|