Dm-crypt freezing computer?

Stephen Partington cryptworks at gmail.com
Fri Jun 26 08:26:16 MST 2020


I can imagine this error happening like this if there is a sector error and
it is trying to decrypt from that sector (or block)

On Fri, Jun 26, 2020 at 7:37 AM Michael Butash via PLUG-discuss <
plug-discuss at lists.phxlinux.org> wrote:

> I've been using dm-crypt most of the 15 years I use linux, never seen it
> just hang like that...  Is this a spinner or SSD?  I'm thinking physical
> errors perhaps - have you looked at SMART data on the disk to check its
> health?  I'm thinking it's having a problem with a bad sector, but these
> tend to manifest different ways between spinners and ssd.
>
> If SSD, make sure your firmware is updated, as these drives seem to be
> constantly updated for weirdness.  Older SSD's would start getting wonky,
> then just die one day, usually due to wear.  Use of trim is useless with
> encryption (and a security problem), so I always use Samsung SSD's that do
> automatic wear-leveling, and haven't lost a ssd since or have had any
> disk-based weirdness in general in a while.
>
> -mb
>
>
> On Thu, Jun 25, 2020 at 2:51 PM Seabass via PLUG-discuss <
> plug-discuss at lists.phxlinux.org> wrote:
>
>> I am extracting from a large tar file, and at around the 2nd gig, my
>> computer starts to slow and even freeze up a bit. Mouse always moves fine,
>> but that’s about it.
>>
>> iotop reports dm-crypt is the only thing and is using 99% of my
>> read/write.
>> htop shows minimal processing being used and ram isn’t full...
>>
>> So... can dm-crypt as full disk encryption slow the computer to almost
>> freezing?
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss



-- 
A mouse trap, placed on top of your alarm clock, will prevent you from
rolling over and going back to sleep after you hit the snooze button.

Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20200626/52327586/attachment.html>


More information about the PLUG-discuss mailing list