I had been using version Rockstor-3.8-14.iso without any further updates until the USB drive hosting the system disk failed. I did a fresh install of Rockstor-3.9.1.iso and applied all Testing Updates up to December 18, 2018. The current version visible in the GUI is 3.9.1-16. Other than replacing the USB drive all the hardware is unchanged. The drives, pools and shares imported fine and read/write/browse access to shares on both physical drives has been tested and confirmed okay.
On the original setup I applied the steps for setting up fstrim as a weekly cron task as given in Trim functionality on SSDs. It worked great. After the upgrade, I repeated the exact steps again, but the testrun now fails with the message: the discard operation is not supported
The physical disks are
- HGST_HMS5C4040ALE640 - 4TB HDD
- SAMSUNG_SSD_PM810_2.5__128GB - 128GB SSD
- SanDisk_Ultra_Fit - 16GB USB drive exclusively for the system.
I have confirmed by using hdparm that the SSD supports Trim. I’ve scoured the web for clues and came up empty. The fact that the earlier version ran correctly on the same hardware signals that some revision between those two versions breaks fstrim. Can anybody offer any help or suggestions?