MY SSD is working but TRIM may not be.
I'm running Fedora 36 with BTRFS. I installed a Samsung SSD 980 PRO 2TB SSD firmware version 5B2QGXA7 as a secondary drive that does not auto mount, as intended. I have the drive set as LUKS Encrypted. Everything appears to work, unlock, mount, unmount, lock, as intended.
My concern revolves around TRIM.
Running fstrim produces:
the discard operation is not supported
In my efforts to make sure discards is enabled everywhere I checked to make sure it was supported with hdparm. This really confused me!
sudo hdparm -I /dev/nvme0n1
/dev/nvme0n1:
Nothing?
sudo hdparm -i /dev/nvme0n1
/dev/nvme0n1:
HDIO_GET_IDENTITY failed: Inappropriate ioctl for device
and
sudo hdparm /dev/nvme0n1
/dev/nvme0n1:
readonly = 0 (off)
readahead = 256 (on)
geometry = 1907729/64/32, sectors = 3907029168, start = 0
So now I'm wondering if this is a Samsung issue?
I'm not sure where to go from here?
EDIT
I've been told that hdparm does not support NVME, only SATA.