Hi all,
I have a second PCIe slot in my Lenovo laptop which I use for a second SSD drive in addition to an NVMe where my system is installed. I have encrypted this drive with dmcrypt and mount it manually after boot up. Putting the drive into /etc/fstab makes my Ubuntu 16.10 (upgraded from 16.04) fail to boot or boot so slowly it is not acceptable. I haven't looked into this issue.
To keep the second SSD fast I want have its cells 'cleaned up' via the trim command. It is formatted with the XFS file system.
There is a weekly cron job for all mounted file systems, but the second SSD seems to be getting slower.
When I execute the fstrim command manually on all mounted file systems, the SSD drive is left out:
Code:
# /sbin/fstrim -v --all || true
/media/pascal/YouTubeCard: 14,8 GiB (15920910336 bytes) trimmed
/home/pascal: 0 B (0 bytes) trimmed
/boot: 0 B (0 bytes) trimmed
/: 0 B (0 bytes) trimmed
There are no fstrim erros in the syslog file:
Code:
cat /var/log/syslog | grep fstrim
I would be very grateful for your help and hints where I should look further.
If you need more information, let me know.