Random truncated files on USB hard disk with timeouts; how to debug?
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Oct 19 11:26:25 UTC 2016
--------
In message <20161019080005.GD93031 at nuvolo>, Arrigo Marchiori writes:
>> If the drive has bad power supply, that may not happen.
>
>Yes, I understand. But, forgive me for insisting: there is an
>inconsistency that is _at filesystem level_ and _temporary_, and this
>really puzzles me.
Because the drive returns wrong data every so often and when
power is better returns correct data ?
End-to-End arguments in system design applies here:
Either you trust your drive, or you check everything it tells you
(ie: RAID with parity, ZFS or similar).
The only middle way is prayer.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-fs
mailing list