Hi, I purchased NVMe SSD and for it USB3 enclosure and connected it to omnia, the problem is:
cat /sys/block/sdc/queue/rotational
1
(ie device is not detected as a solid-state drive)
It is most probably fault of the usb enclosure, nevertheless I would like to override it.
echo 0>… has no efect, then I tried:
cat /etc/udev/rules.d/60-ssd-2tb2309.rules
ACTION==“add|change”, KERNEL==“sdc”, ATTR{queue/rotational}=“0”, ATTR{queue/scheduler}=“deadline”
…and reboot and no change
Any other ideas please?
ok, found it:
root@xxx:/etc# cat sysctl.conf
# Defaults are configured in /etc/sysctl.d/* and can be customized in this file
# set ssd to non-rotational disk
/sys/devices/platform/soc/soc:internal-regs/f10f8000.usb3/usb5/5-1/5-1.3/5-1.3.1/5-1.3.1:1.0/host3/target3:0:0/3:0:0:0/block/sdc/queue/rotational = 0
the weird long path has to be used because the /sys/block/sdX is only a symlink
1 Like