[Pkg-zfsonlinux-devel] Bug#983086: zfsutils-linux: TRIM crashes SSD drives

xavier at lws-hosting.com xavier at lws-hosting.com
Mon Feb 22 10:19:14 GMT 2021


Hi Antonio,

> I am trying to understand the symptom---what exactly do you mean the
> "SSD drives crash"?

> Is it just that you cannot cancel the trim? Or is there some other 
> symptom?

I mean that all mounted filesystems, on MD RAIDs and ZFS RAIDZ2, are 
inaccessible, with system load in the thousands, which indicates that 
there is a lot of processes in a "D" status.

> You do not have a consistent set of zfs packages installed---please
> fully upgrade to 2.0.3 (or at least 2.0.2).  You have zfs-dkms from
> unstable, and the rest of zfs from backports.  I don't know exactly
> what you've done to get this setup, but it is not a supported
> configuration, and may be dangerous to your data.

The production environment is buster with zfs from the backports, and a 
custom 5.4 kernel.

While executing the reportbug program on a test server, I was advised to 
test the latest release. So I installed zfs 2 from testing (stable APT 
Pin-Priority: 900, testing: 400). I then checked if the trim cron was 
still present, and implemented in a similar way.

I would not use that in a production environment indeed, thank you for 
noticing.

Best Regards,
Xavier



More information about the Pkg-zfsonlinux-devel mailing list