Sample Header Ad - 728x90

Set usb flash drive as non rotational drive

2 votes
2 answers
1356 views
I'm trying to optimize the IO schedulers and to use a proper scheduler for rotational and for non rotational drives (different). When I run: cat /sys/block/sd*/queue/rotational I get: 1 <-- for sda 1 <-- for sdb although sdb is the usb flash drive and it shouldn't be rotational. $ udevadm info -a -n /dev/sda | grep queue ATTRS{queue_depth}=="31" ATTRS{queue_ramp_up_period}=="120000" ATTRS{queue_type}=="simple" $ udevadm info -a -n /dev/sdb | grep queue ATTRS{queue_depth}=="1" ATTRS{queue_type}=="none" so there is no such attribute as: ATTR{queue/rotational}=="0" or ...=="1"
Asked by user252842
Apr 21, 2018, 12:37 PM
Last activity: Jul 17, 2022, 03:48 PM