Re: ext2fs corruption again

Pavel Machek
2001-09-16T19:34:03Z

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