Re: ext2fs corruption again

From: Pavel Machek (pavel@suse.cz)
Date: Sun Sep 16 2001 - 14:33:53 EST


Hi!

> > Install crc loop device, and if disk does silent errors, you'll know.
>
> Where do you store the CRCs? It appears that they are written to another
> block device. Also, how do you initialize the CRC table for an existing
> filesystem?

You just read the device in special mode. That forces it to recompute
crc-s.

> What would make this considerably more useful is to be able to write the
> CRCs into a regular file, as it would be a bit of a pain to have a partition
> for each CRC loop device to store the CRCs in.

By -o loop, you can turn regular file into blockdevice ;-).

> Otherwise, it looks very useful, and could be handy in tracking down
> reports like this where it is unclear where the data corruption is.
                                                                Pavel

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:16 EST