Project

General

Profile

Actions

Bug #3207

closed

swapon fails silently when trim option is given

Added by mneumann over 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/21/2019
Due date:
% Done:

100%

Estimated time:

Description

In /etc/fstab I have the following line:

/dev/serno/xxx.s1b none swap sw,crypt,trim 0 0

When I startup, "swapctl -l" does not list any devices.
If I remove the "trim" option above, it works and "swapctl -l"
shows the configured device.

The disk is a Samsung SSD 960 PRO using the nvme driver.

Having no swap configured silently might not be the best option.

Actions

Also available in: Atom PDF