USB disk-on-key and usb hard drive not recognized

Hello,

I have a couple of USB devices - a disk-on-key and mobile hard drive) - that were connected to an old and questionable PC, and now they don’t work as before. When connected to my PC, they aren’t recignized: the Disks & Devices notification doesn’t pop up and when opened it says “No removable devices attached”. lsusb Identifies them correctly and so does gparted (it lets me create partition table and add partitions), but lsblk doesn’t see them at all. What could be the problem?

TIA

Hello @ForeverNoob :wink:

Sorry, but your interpretation of what you see is not enough, show us at least what you see.

lsusb -vt
sudo partprobe -s
lsblk --fs

Copy and paste it here as preformatted code. This forum supports markdown.

Hi and thanks for answering,

Output of lsusb -vt

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 20000M/x2
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 7: Dev 2, If 0, Class=Hub, Driver=hub/4p, 12M
        ID 058f:9254 Alcor Micro Corp. Hub
        |__ Port 1: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            ID 1532:010e Razer USA, Ltd BlackWidow Classic (Alternate)
        |__ Port 1: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            ID 1532:010e Razer USA, Ltd BlackWidow Classic (Alternate)
        |__ Port 1: Dev 4, If 2, Class=Human Interface Device, Driver=usbhid, 12M
            ID 1532:010e Razer USA, Ltd BlackWidow Classic (Alternate)
        |__ Port 2: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            ID 046d:c215 Logitech, Inc. Extreme 3D Pro
        |__ Port 3: Dev 8, If 0, Class=Vendor Specific Class, Driver=, 12M
            ID 03f0:c811 HP, Inc 
        |__ Port 3: Dev 8, If 1, Class=Printer, Driver=usblp, 12M
            ID 03f0:c811 HP, Inc 
        |__ Port 3: Dev 8, If 2, Class=Printer, Driver=usblp, 12M
            ID 03f0:c811 HP, Inc 
        |__ Port 3: Dev 8, If 3, Class=Vendor Specific Class, Driver=, 12M
            ID 03f0:c811 HP, Inc 
        |__ Port 4: Dev 9, If 0, Class=Wireless, Driver=btusb, 12M
            ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
        |__ Port 4: Dev 9, If 1, Class=Wireless, Driver=btusb, 12M
            ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
    |__ Port 9: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 05e3:0608 Genesys Logic, Inc. Hub
        |__ Port 3: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            ID 046d:c539 Logitech, Inc. Cordless Mouse Receiver
        |__ Port 3: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            ID 046d:c539 Logitech, Inc. Cordless Mouse Receiver
        |__ Port 3: Dev 7, If 2, Class=Human Interface Device, Driver=usbhid, 12M
            ID 046d:c539 Logitech, Inc. Cordless Mouse Receiver
        |__ Port 4: Dev 24, If 0, Class=Mass Storage, Driver=usb-storage, 480M
            ID 0480:a001 Toshiba America Inc 
    |__ Port 11: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 048d:5702 Integrated Technology Express, Inc. 

Output of sudo partprobe -s

/dev/sda: msdos partitions 1
/dev/sdb: gpt partitions 1 2 4 3
/dev/sdc: gpt partitions 1 2
/dev/nvme0n1: gpt partitions 1 2 3 5 6 4

Output of lsblk --fs

NAME        FSTYPE FSVER LABEL           UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                          
└─sda1      ntfs         Windows         762CEC4A2CEC06C9                      205.4G    18% /run/media/yoav/Windows
sdb                                                                                          
├─sdb1                                                                                       
├─sdb2      btrfs        manjaro-kde-old b95dbb5a-4238-4278-b36d-4f67a0e5970d                
├─sdb3      swap   1                     53bc1b2f-6be7-49bf-afe7-fe50dbd3dab0                
└─sdb4      ext4   1.0   data-old        a6bea1ff-c80d-456e-91b1-8d853b6573d6   61.9G    16% /run/media/yoav/data-old
sdc                                                                                          
├─sdc1      exfat  1.0   Ventoy          4918-2533                                           
└─sdc2                                                                                       
sr0                                                                                          
nvme0n1                                                                                      
├─nvme0n1p1                                                                                  
├─nvme0n1p2 ext4   1.0   manjaro-kde     76ced085-0c4c-4d2e-9563-e504ae134e9b   28.5G    49% /
├─nvme0n1p3 ext4   1.0   arch-kde        e0c69bc7-6856-4e19-90d3-afa1e5cb6aeb   50.2G    14% /run/media/yoav/arch-kde
├─nvme0n1p4 ext4   1.0   data            c8511f1c-8320-4744-b479-0f6c89d7de0a   52.2G    32% /mnt/data
├─nvme0n1p5 ext4   1.0   home            3ce4458a-5c8c-4b1c-a91e-fcf018b6bbc8   58.4G     1% /run/media/yoav/home
└─nvme0n1p6 swap   1     swap            4d4e1a5b-933f-4e6a-b306-229565c04b6e                [SWAP]

The unrecognized drive is /dev/sdc (Toshiba USB HDD)

Well, only usb storage I can see is this one:

and it must this one:

Sorry, but that device is there and reconized, but not mounted. Btw… exfatprogs and exfat-utils needs to be installed, to mount it.

hm… maybe try this to see what happens with the usb device:

Run this in a terminal:

sudo dmesg --follow-new

and re-plugin the usb device.

Share the output here.

exfatprogs is installed, exfat-utils is in conflict with the former. Other devices (USB-SATA SSD, different DOK) works OK.

This is the output of dmesg --follow-new for the Toshiba HDD:

[35434.547195] usb 1-9.4: new high-speed USB device number 16 using xhci_hcd
[35434.638383] usb 1-9.4: New USB device found, idVendor=0480, idProduct=a001, bcdDevice= 1.03
[35434.638395] usb 1-9.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[35434.638400] usb 1-9.4: Product: External USB HDD
[35434.638404] usb 1-9.4: Manufacturer: Toshiba 
[35434.638407] usb 1-9.4: SerialNumber: 593941365332344853202020
[35434.640032] usb-storage 1-9.4:1.0: USB Mass Storage device detected
[35434.640576] scsi host6: usb-storage 1-9.4:1.0
[35435.664696] scsi 6:0:0:0: Direct-Access     Toshiba  External USB HDD 1.03 PQ: 0 ANSI: 4
[35435.665618] sd 6:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[35435.666057] sd 6:0:0:0: [sdc] Write Protect is off
[35435.666062] sd 6:0:0:0: [sdc] Mode Sense: 21 00 00 00
[35435.666491] sd 6:0:0:0: [sdc] No Caching mode page found
[35435.666495] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[35435.728400]  sdc: sdc1 sdc2
[35435.728795] sd 6:0:0:0: [sdc] Attached SCSI disk
[35447.559033] [UFW BLOCK] IN=enp5s0 OUT= MAC=01:00:5e:00:00:01:b0:be:76:f4:de:1a:08:00 SRC=192.168.2.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
[35447.601067] [UFW BLOCK] IN=wlp6s0 OUT= MAC=01:00:5e:00:00:01:b0:be:76:f4:de:1a:08:00 SRC=192.168.2.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 

And for the Samsung DOK:

[35525.174008] usb 1-9.4: new high-speed USB device number 17 using xhci_hcd
[35525.351736] usb 1-9.4: New USB device found, idVendor=0011, idProduct=7788, bcdDevice= 1.03
[35525.351749] usb 1-9.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[35525.351754] usb 1-9.4: Product: Flash Disk
[35525.351758] usb 1-9.4: Manufacturer: SAMSUNG
[35525.351762] usb 1-9.4: SerialNumber: 12345678
[35525.353697] usb-storage 1-9.4:1.0: USB Mass Storage device detected
[35525.354317] scsi host6: usb-storage 1-9.4:1.0
[35526.359401] scsi 6:0:0:0: Direct-Access     SAMSUNG  Flash Disk       8.00 PQ: 0 ANSI: 2
[35526.360814] sd 6:0:0:0: [sdc] 16359424 512-byte logical blocks: (8.38 GB/7.80 GiB)
[35526.361047] sd 6:0:0:0: [sdc] Write Protect is off
[35526.361056] sd 6:0:0:0: [sdc] Mode Sense: 03 00 00 00
[35526.361273] sd 6:0:0:0: [sdc] No Caching mode page found
[35526.361277] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[35526.391254]  sdc: sdc1
[35526.391643] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[35526.402635] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s
[35526.402645] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 f9 9f f8 00 00 01 00
[35526.402649] I/O error, dev sdc, sector 16359416 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
[35526.475341] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s
[35526.475351] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 f9 9f f8 00 00 01 00
[35526.475355] I/O error, dev sdc, sector 16359416 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[35526.475365] Buffer I/O error on dev sdc, logical block 2044927, async page read
[35526.487838] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s
[35526.487840] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 f9 9f f8 00 00 01 00
[35526.487841] I/O error, dev sdc, sector 16359416 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
[35526.555248] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s
[35526.555259] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 f9 9f f8 00 00 01 00
[35526.555263] I/O error, dev sdc, sector 16359416 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[35526.555273] Buffer I/O error on dev sdc1, logical block 2044671, async page read
[35531.204190] [UFW BLOCK] IN=enp5s0 OUT= MAC=18:c0:4d:be:14:51:24:e8:53:58:f8:74:08:00 SRC=192.168.2.205 DST=192.168.2.134 LEN=374 TOS=0x00 PREC=0x00 TTL=64 ID=3606 DF PROTO=UDP SPT=51937 DPT=39303 LEN=354 
[35531.204442] [UFW BLOCK] IN=enp5s0 OUT= MAC=18:c0:4d:be:14:51:24:e8:53:58:f8:74:08:00 SRC=192.168.2.205 DST=192.168.2.134 LEN=374 TOS=0x00 PREC=0x00 TTL=64 ID=3607 DF PROTO=UDP SPT=51937 DPT=39303 LEN=354 
[35531.204990] [UFW BLOCK] IN=enp5s0 OUT= MAC=18:c0:4d:be:14:51:24:e8:53:58:f8:74:08:00 SRC=192.168.2.205 DST=192.168.2.108 LEN=374 TOS=0x00 PREC=0x00 TTL=64 ID=63393 DF PROTO=UDP SPT=39983 DPT=58239 LEN=354 
[35531.205065] [UFW BLOCK] IN=enp5s0 OUT= MAC=18:c0:4d:be:14:51:24:e8:53:58:f8:74:08:00 SRC=192.168.2.205 DST=192.168.2.108 LEN=374 TOS=0x00 PREC=0x00 TTL=64 ID=63394 DF PROTO=UDP SPT=39983 DPT=58239 LEN=354 
[35572.568287] [UFW BLOCK] IN=enp5s0 OUT= MAC=01:00:5e:00:00:01:b0:be:76:f4:de:1a:08:00 SRC=192.168.2.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 

Also, the Samsung DOK was tested on Windows too and seems to be working OK.

Thanks

Your DOK, commonly called a Flash Disk, is damaged. It has several read errors. Maybe Linux is a bit more strict about errors than windows.

Your Toshiba HDD is working normally.

OK, so why can’t the Toshiba drive be mounted normally like before?

No idea. Does it affect all usb drives?

Thunar, Nautilus, Dolphin etc. uses udisks2 to mount disks. Maybe there is something disabled?

It can be mounted also this way:

udisksctl mount -b /dev/sdc1

I was able to restore the Toshiba HDD by re-creating its partition table, seems to be OK. The flash drive still refuses to work and can’t be mounted. Its probably beyond repair.

Thanks for your help.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.