[21.10] How do I access this ../../sda of mine? (can't locate my newly installed NVME M.2 via a USB 3 chasis)

So I've purchased some cheap NVMe M.2 and USB chassis:

Then I plugged it in:

[1725367.428715] scsi 9:0:0:0: Direct-Access     Realtek  RTL9210 NVME     1.00 PQ: 0 ANSI: 6
[1725367.431090] sd 9:0:0:0: Attached scsi generic sg0 type 0
[1725367.440021] sd 9:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[1725367.440031] sd 9:0:0:0: [sda] Sense Key : Illegal Request [current] 
[1725367.440034] sd 9:0:0:0: [sda] Add. Sense: Invalid command operation code
[1725367.440040] sd 9:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
[1725367.440043] sd 9:0:0:0: [sda] 0-byte physical blocks
[1725367.441713] sd 9:0:0:0: [sda] Test WP failed, assume Write Enabled
[1725367.444797] sd 9:0:0:0: [sda] Asking for cache data failed
[1725367.444807] sd 9:0:0:0: [sda] Assuming drive cache: write through
[1725367.527486] sd 9:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[1725367.527494] sd 9:0:0:0: [sda] Sense Key : Illegal Request [current] 
[1725367.527497] sd 9:0:0:0: [sda] Add. Sense: Invalid command operation code
[1725367.532427] sd 9:0:0:0: [sda] Attached SCSI disk

And /dev/disk/by-id agrees:

0 lrwxrwxrwx 1 root root   9 Jan  4 14:50 usb-Realtek_RTL9210_NVME_012345679491-0:0 -> ../../sda

But then it gets confusing:

$ sudo fdisk ../../sda

Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

fdisk: cannot open ../../sda: No such file or directory

Let's try this again:

$ sudo fdisk /dev/sda                                                                                          

Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

fdisk: cannot open /dev/sda: No such file or directory

At this point I am uncertain what I should do next.

Oh yes: I looked under TTY7/caja and nothing is showing.

Any ideas?

Some thoughts:
Your first part shows Read Capacity failed.
Try another usb port and see if dmesg sees it.
If successful, initialise the disk before using it.

1 Like

Bug with RTL92-10 controller maybe?
https://forums.raspberrypi.com/viewtopic.php?t=302823