dm-crypt on SSD gives regular file corruption and segfaults
Hello.
I'm not sure if the cause of this is the SSD or dm-crypt or what, but I thought I would ask here if anyone had similar problems. My SSD with ext4 and dm-crypt experiences significant corruptions and frequent, seemingly-random segfaults. Data transferred to my disk will offer different md5sums and sometimes large things consider themselves corrupted. Has anyone experience things on dm-crypt or SSD? I am just curious if this should be attributed to the dm-crypt software layer or if I need to start looking more into the hardware.
From
Jeff
Signature · 2 lines
Jeff Cook [email protected]
Quoted 11 lines · Jeff Cook
Hello.
I'm not sure if the cause of this is the SSD or dm-crypt or what, but I thought I would ask here if anyone had similar problems. My SSD with ext4 and dm-crypt experiences significant corruptions and frequent, seemingly-random segfaults. Data transferred to my disk will offer different md5sums and sometimes large things consider themselves corrupted. Has anyone experience things on dm-crypt or SSD? I am just curious if this should be attributed to the dm-crypt software layer or if I need to start looking more into the hardware.
Quoted 5 lines
From
JeffSignature · 2 lines
Jeff Cook [email protected]
Well, I am a little concerned because this is precisely my setup, however I have never had any problems.
I have used it in two configurations:
ext4 on top of dm-crypt (LUKS) on SSD
ext4 inside lvm on top of dm-crypt (LUKS) on SSD
Both have always worked perfectly for me, over a number of months at least. I frequently manipulate large files such as ISO images, and often use rsync to backup the whole filesystem, without trouble.
eric
Quoted 4 lines
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt
Quoted 19 lines · On 12/25/2011 10:32 PM, [email protected] wrote:
Quoted 11 lines · Jeff Cook
Hello.
I'm not sure if the cause of this is the SSD or dm-crypt or what, but I thought I would ask here if anyone had similar problems. My SSD with ext4 and dm-crypt experiences significant corruptions and frequent, seemingly-random segfaults. Data transferred to my disk will offer different md5sums and sometimes large things consider themselves corrupted. Has anyone experience things on dm-crypt or SSD? I am just curious if this should be attributed to the dm-crypt software layer or if I need to start looking more into the hardware.
Quoted 2 lines
From
JeffWell, I am a little concerned because this is precisely my setup, however I have never had any problems.
I have used it in two configurations:
Quoted 7 lines
ext4 on top of dm-crypt (LUKS) on SSD
ext4 inside lvm on top of dm-crypt (LUKS) on SSD
Both have always worked perfectly for me, over a number of months at least. I frequently manipulate large files such as ISO images, and often use rsync to backup the whole filesystem, without trouble.
I appreciate your data point, thank you. I believe I am just going to have to accept that this is hardware, even though I was hoping it was software related since that's easier to handle.
Thanks again.
Quoted 2 lines
eric
Corruption and crashes in combination are almost always RAM and sometimes CPU (overclocked), mainboard and PSU (old or low-quality).
For this reason there is a long text in the cryptsetup FAQ section on troubleshooting that deals with testing RAM.
Not nice, as the only wa to fix this is replacement (and I know that quite a few people cannot just pay for new RAM without thinking about where to get the money), but a fact of consumer-grade hardware.
Arno
Quoted 41 lines · Jeff Cook
Quoted 19 lines · On 12/25/2011 10:32 PM, [email protected] wrote:
Quoted 11 lines · Jeff Cook
Hello.
I'm not sure if the cause of this is the SSD or dm-crypt or what, but I thought I would ask here if anyone had similar problems. My SSD with ext4 and dm-crypt experiences significant corruptions and frequent, seemingly-random segfaults. Data transferred to my disk will offer different md5sums and sometimes large things consider themselves corrupted. Has anyone experience things on dm-crypt or SSD? I am just curious if this should be attributed to the dm-crypt software layer or if I need to start looking more into the hardware.
Quoted 2 lines
From
JeffWell, I am a little concerned because this is precisely my setup, however I have never had any problems.
I have used it in two configurations:Quoted 7 lines
ext4 on top of dm-crypt (LUKS) on SSD
ext4 inside lvm on top of dm-crypt (LUKS) on SSD
Both have always worked perfectly for me, over a number of months at least. I frequently manipulate large files such as ISO images, and often use rsync to backup the whole filesystem, without trouble.
I appreciate your data point, thank you. I believe I am just going to have to accept that this is hardware, even though I was hoping it was software related since that's easier to handle.
Thanks again.
Quoted 2 lines
eric
_______________________________________________
dm-crypt mailing list
[email protected]
http://www.saout.de/mailman/listinfo/dm-crypt
Signature · 7 lines
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: [email protected] GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier
Quoted 8 lines · Jeff Cook
I'm not sure if the cause of this is the SSD or dm-crypt or what, but I thought I would ask here if anyone had similar problems. My SSD with ext4 and dm-crypt experiences significant corruptions and frequent, seemingly-random segfaults. Data transferred to my disk will offer different md5sums and sometimes large things consider themselves corrupted. Has anyone experience things on dm-crypt or SSD? I am just curious if this should be attributed to the dm-crypt software layer or if I need to start looking more into the hardware.
Check your hw first - mainly SSD and RAM.
I saw several such corruptions on SSD recently and it was always hw related.
You will probably see the same problem even if you use your disk directly without dmcrypt, just not so often - encryption usually makes small data corruption worse because of error distribution during encryption (one corrupted bit in underlying device -> at least 16 byte block corrupted after decryption - for fs bitmap array this is fatal error).
Milan