* [dm-crypt] dm-crypt on SSD gives regular file corruption and segfaults
@ 2011-12-26 4:56 Jeff Cook
2011-12-26 5:32 ` epvdm
2011-12-26 9:05 ` Milan Broz
0 siblings, 2 replies; 5+ messages in thread
From: Jeff Cook @ 2011-12-26 4:56 UTC (permalink / raw)
To: dm-crypt
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
--
Jeff Cook
jeff@deserettechnology.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dm-crypt] dm-crypt on SSD gives regular file corruption and segfaults
2011-12-26 4:56 [dm-crypt] dm-crypt on SSD gives regular file corruption and segfaults Jeff Cook
@ 2011-12-26 5:32 ` epvdm
2011-12-26 21:03 ` Jeff Cook
2011-12-26 9:05 ` Milan Broz
1 sibling, 1 reply; 5+ messages in thread
From: epvdm @ 2011-12-26 5:32 UTC (permalink / raw)
To: Jeff Cook; +Cc: dm-crypt
On Sun, Dec 25, 2011 at 09:56:38PM -0700, Jeff Cook wrote:
> 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
> --
> Jeff Cook
> jeff@deserettechnology.com
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
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dm-crypt] dm-crypt on SSD gives regular file corruption and segfaults
2011-12-26 4:56 [dm-crypt] dm-crypt on SSD gives regular file corruption and segfaults Jeff Cook
2011-12-26 5:32 ` epvdm
@ 2011-12-26 9:05 ` Milan Broz
1 sibling, 0 replies; 5+ messages in thread
From: Milan Broz @ 2011-12-26 9:05 UTC (permalink / raw)
To: jeff; +Cc: dm-crypt
On 12/26/11 05:56, Jeff Cook wrote:
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dm-crypt] dm-crypt on SSD gives regular file corruption and segfaults
2011-12-26 5:32 ` epvdm
@ 2011-12-26 21:03 ` Jeff Cook
2011-12-27 7:46 ` Arno Wagner
0 siblings, 1 reply; 5+ messages in thread
From: Jeff Cook @ 2011-12-26 21:03 UTC (permalink / raw)
To: epvdm; +Cc: dm-crypt
On 12/25/2011 10:32 PM, epvdm@limpoc.com wrote:
> On Sun, Dec 25, 2011 at 09:56:38PM -0700, Jeff Cook wrote:
>> 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
>
> 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.
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.
>
> eric
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dm-crypt] dm-crypt on SSD gives regular file corruption and segfaults
2011-12-26 21:03 ` Jeff Cook
@ 2011-12-27 7:46 ` Arno Wagner
0 siblings, 0 replies; 5+ messages in thread
From: Arno Wagner @ 2011-12-27 7:46 UTC (permalink / raw)
To: dm-crypt
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
On Mon, Dec 26, 2011 at 02:03:02PM -0700, Jeff Cook wrote:
> On 12/25/2011 10:32 PM, epvdm@limpoc.com wrote:
> > On Sun, Dec 25, 2011 at 09:56:38PM -0700, Jeff Cook wrote:
> >> 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
> >
> > 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.
>
> 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.
>
> >
> > eric
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
>
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-12-27 7:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-26 4:56 [dm-crypt] dm-crypt on SSD gives regular file corruption and segfaults Jeff Cook
2011-12-26 5:32 ` epvdm
2011-12-26 21:03 ` Jeff Cook
2011-12-27 7:46 ` Arno Wagner
2011-12-26 9:05 ` Milan Broz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox