J
Jerry Peters
If you don't know which ones don't lie, what else can you assumemiso said:Seriously...all drives lie? ;-)
safely?
If you don't know which ones don't lie, what else can you assumemiso said:Seriously...all drives lie? ;-)
Jerry Peters said:If you don't know which ones don't lie, what else can you assume
safely?
Arno said:And that is the second problem. But the lying itself is pretty
bad. If a disk claims data has been flushed to surface, but has
not, I would say that this is a pretty severe product defect.
The only known fix is to switch off drive buffer-cache completely,
but that does have negatice performance impact. Nonetheless,
"enterprise" RAID controllers do this and do the access reordering
themselves, supported by a small cache in battery-packed RAM.
And that is the second problem. But the lying itself is pretty
bad. If a disk claims data has been flushed to surface, but has
not, I would say that this is a pretty severe product defect.
The only known fix is to switch off drive buffer-cache completely,
but that does have negatice performance impact. Nonetheless,
"enterprise" RAID controllers do this and do the access reordering
themselves, supported by a small cache in battery-packed RAM.
Arno
miso said:Can you bypass the drive cache on the fly? That is, in the sync command,
make the last step a read of the last byte of data directly from the
drive rather than drive cache.
My opinion here is if this problem was as widespread as you say, errors
relating to this would be showing up all the time. Yet this is the first
time I have heard about the cache not being written.
How often do you get power failures with the drive having cached data?miso said:Can you bypass the drive cache on the fly? That is, in the sync command,
make the last step a read of the last byte of data directly from the
drive rather than drive cache.
My opinion here is if this problem was as widespread as you say, errors
relating to this would be showing up all the time. Yet this is the first
time I have heard about the cache not being written.
Now I can believe some drives got out in the wild with poorly written
firmware, but I can't believe every drive on the planet has this problem.
DevilsPGD said:
And that's the key: If drives were to lie but back it up with
battery-powered cache, all would be well. Unfortunately, they don't.
Can you bypass the drive cache on the fly? That is, in the sync command,
make the last step a read of the last byte of data directly from the
drive rather than drive cache.
My opinion here is if this problem was as widespread as you say, errors
relating to this would be showing up all the time. Yet this is the first
time I have heard about the cache not being written.
Now I can believe some drives got out in the wild with poorly written
firmware, but I can't believe every drive on the planet has this problem.
Jerry Peters said:How often do you get power failures with the drive having cached data?
IIRC some of the kernel developers actually *forced* power failures to
test drives, quite a few lied as I remember. Also, just as an example,
my two main machines are essentially immune to this problem, one (this
one) is a netbook and the other is a laptop, both have working
batteries.
Nobody ever talked about "every drive on the planet" but you.
It is just that unless you know you have to assume the drive does
it wrong.
Arno
miso said:On 11/29/2013 10:30 PM, Arno wrote:
You said:
The point is precisely that "sync" does not work reliably because
the drives are lying.
This implies all drives. Proper English is:
The point is precisely that "sync" does not work reliably because
some of the drives are lying.
The bitch about usenet is it never dies, so it is hard to change your
statements.