Messages in this thread |  | | Date | Sun, 16 Sep 2001 21:33:53 +0200 | From | Pavel Machek <> | Subject | Re: ext2fs corruption again |
| |
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/
|  |