Re: Corruption errors on Samsung 980 Pro
From: Martin Steigerwald <hidden>
Date: 2021-08-17 16:31:14
Chris Murphy - 13.08.21, 20:14:40 CEST:
On Fri, Aug 13, 2021 at 3:50 AM Sebastian Döring
[off-list ref] wrote:
quoted
quoted
It is BTRFS single profile on LVM on LUKS. Mount options are:...quoted
I thought that a Samsung 980 Pro can easily handle "discard=async" so I>used it. LUKS doesn't do discard unless you explicitly enable and force it. Have you?`cryptsetup open` doesn't allow discards by default, but some distro installers do enable it by default. The most likely place to find out is looking at /etc/crypttab
It has option "discard" in there. A few days ago BTRFS for /home had corruption errors that lead to it being marked read only and then being unmountable until I used "btrfs rescue zero-log". After that I was able to rsync almost all files to a freshly created BTRFS LVM LV and recover the rest from backup. This happened after an unintended laptop battery outage. But I better report it in a different thread. Best, -- Martin