kuchkovsky
Regular Contributor
Interesting, maybe some enclosures incorrectly report that they are rotational drives. Can you try rerunning the script with this check removed?Thanks for the update! Just tried out the new ssd_trim.sh script... sadly, it failed to see my Samsung SSD which is running inside a JMicron drive enclosure:
Code:ViktorJp@GT-AX6000-3C88:/jffs/scripts/ssd# sh ssd_trim.sh ssd_trim: Scanning /proc/mounts for USB-backed filesystems under /tmp/mnt ssd_trim: Skipping drive=/dev/sda (marked non-SSD) for label=ASUS-SSD mount=/tmp/mnt/ASUS-SSD part=/dev/sda1 fs=ext4 vendor_id=152d vendor_name=JMicron ssd_trim: No suitable USB-backed mountpoints detected under /tmp/mnt; nothing to trim. Supported filesystems: ext2, ext3, ext4
Is there still a way to force it to assume that this vendor_id is a legit SSD?
asuswrt-merlin-scripts/jffs/scripts/ssd/ssd_trim.sh at 0263feb06a1de1d8a6e469353efba448e45c6f62 · kuchkovsky/asuswrt-merlin-scripts
Contribute to kuchkovsky/asuswrt-merlin-scripts development by creating an account on GitHub.
If it works fine, I will remove this check completely. It’s not really required.
