Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2016 11:26:22 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Arrigo Marchiori <ardovm@yahoo.it>
Cc:        Arrigo Marchiori via freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: Random truncated files on USB hard disk with timeouts; how to debug?
Message-ID:  <23735.1476876382@critter.freebsd.dk>
In-Reply-To: <20161019080005.GD93031@nuvolo>
References:  <20161018152715.GC89691@nuvolo> <51997.1476812624@critter.freebsd.dk> <20161019062812.GA93031@nuvolo> <7759.1476858801@critter.freebsd.dk> <20161019064315.GB93031@nuvolo> <7924.1476861738@critter.freebsd.dk> <20161019080005.GD93031@nuvolo>

next in thread | previous in thread | raw e-mail | index | archive | help
--------
In message <20161019080005.GD93031@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23735.1476876382>