
On 14/02/12 12:25, Peter Ross wrote:
Quoting "Toby Corkindale"<toby.corkindale@strategicdata.com.au>:
Essentially I was wondering whether you'd lose an entire file (or extent of a file) if the checksum fails, or whether you could still access the rest of the file but with just one block missing in the event of a bad sector.
It shouldn't be any different from a "normal" device error - you get an error when you are reading this block.
I don't know the source code but I expect this error if you read sequentially. You may try to recover using random access and pointing to a block behind the broken one.
I personally never bothered to do forensics on corrupted filesystems or disks or whatever. If it isn't mirrored and not backed up - it isn't important enough.
In the commercial server world, sure, I agree. At home? Not so much. My server is fine, but my laptop or media PC? They only have one drive each. I backup important things onto the server from them, but I'd like to know what happens if an error occurs. If you just lose a few KB in a file then it's much easier to replace it and soldier on, rather than spend hours re-installing and restoring from backups.