What happen if hard drive has a read error?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt



[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux