All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] What happen if hard drive has a read error?
@ 2010-10-07 20:20 octane indice
  2010-10-07 21:29 ` Milan Broz
  0 siblings, 1 reply; 3+ messages in thread
From: octane indice @ 2010-10-07 20:20 UTC (permalink / raw)
  To: dm-crypt

Hello

It's just a theorical question. I encrypted some data with dm-crypt on an
hard drive.
But what happens if the hard drive has an error? Not a kind of a big error
which cause  the hard drive hangs, but just a small error that make the
system doesn't read the bytes all right?

Obviously, dm-crypt won't decrypt the data. But what happens next?

-dm-crypt will panic() the kernel

-Only a block won't be decrypted, so it means that at best, only a file is
corrupted, and at worst all of the filesystem is trashed, depending the
location of the error?

-Or everything beyond the point of the read error will be trash?

-Or it depends of the crypto layer choosen as CBC, or else?

That's just a theorical question, thank you

Envoyé avec Inmano, ma messagerie renversante et gratuite : http://www.inmano.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-07 23:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07 20:20 [dm-crypt] What happen if hard drive has a read error? octane indice
2010-10-07 21:29 ` Milan Broz
2010-10-07 23:16   ` Arno Wagner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.