You are not logged in.

#1 2020-07-27 10:36:18

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 1,090

Why is a pendrive reported as a spinner

Just a curiosity, but:

cat /sys/block/sdg/queue/rotational

where /dev/sdg is a pendrive outputs "1", suggesting that it thinks it's a spinner. Why?


[img]https://www.speedtest.net/result/10030141098.png[/img]

Ryzen 1800x 8 core/16 thread - GTX 1070 8Gb, Asus ROG STRIX B350-F, 16Gb Corsair DDR4, Cooler Master N300 chassis, 6 HD (1 NvME PCI, 2SSD, 3Spinners) + 1 x optical.
Linux user #545703

Offline

#2 2020-07-27 11:06:52

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 996
Website

Re: Why is a pendrive reported as a spinner

Maybe a firmware bug?
Some further hardware info about /dev/sdg might help to clear this up.

Offline

#3 2020-07-27 11:18:31

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 1,090

Re: Why is a pendrive reported as a spinner

No problem:

 *-usb:2
                      description: Mass storage device
                      product: Intenso Rainbow Line
                      vendor: USBest Technology
                      physical id: 3
                      bus info: usb@1:3
                      logical name: scsi18
                      version: 1.00
                      serial: 09092900230285
                      capabilities: usb-2.00 scsi emulated scsi-host
                      configuration: driver=usb-storage maxpower=98mA speed=480Mbit/s
                    *-disk
                         description: SCSI Disk
                         product: Rainbow
                         vendor: Intenso
                         physical id: 0.0.0
                         bus info: scsi@18:0.0.0
                         logical name: /dev/sdg
                         version: 0.00
                         size: 15GiB (16GB)
                         capabilities: removable
                         configuration: ansiversion=2 logicalsectorsize=512 sectorsize=512
                       *-medium
                            physical id: 0
                            logical name: /dev/sdg
                            size: 15GiB (16GB)
                            capabilities: partitioned partitioned:dos
                            configuration: signature=5eaa061f
                          *-volume
                               description: Windows FAT volume
                               vendor: mkfs.fat
                               physical id: 2
                               logical name: /dev/sdg2
                               version: FAT16
                               serial: ffaa-f5fa
                               size: 63MiB
                               capacity: 64MiB
                               capabilities: primary boot fat initialized
                               configuration: FATs=2 filesystem=fat label=ARCHISO_EFI

[img]https://www.speedtest.net/result/10030141098.png[/img]

Ryzen 1800x 8 core/16 thread - GTX 1070 8Gb, Asus ROG STRIX B350-F, 16Gb Corsair DDR4, Cooler Master N300 chassis, 6 HD (1 NvME PCI, 2SSD, 3Spinners) + 1 x optical.
Linux user #545703

Offline

#4 2020-07-27 11:22:21

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 996
Website

Re: Why is a pendrive reported as a spinner

I just tested this with some random pen drive of mine.
The reading also comes back as 1.
I think that this might be by design as a quirk for low-quality flash memory.
See: https://lwn.net/Articles/408428/

Offline

Board footer

Powered by FluxBB