Unable to mount usb sticks

I seem to run into this issue every month or so. I don’t use usb-sticks more often than that but suspect it may have something to do with manjaro or kernel updates but have never found a solid cause/solution so haven’t been able to document a fix for myself.
currently:

❯ uname -r
5.10.30-1-MANJARO

Anyway, the following output results are what I get with any usb sticks that I plug in.

lsusb output (in this case I’ve plugged in an Alcor device, third entry from the bottom)

❯ lsusb
Bus 006 Device 016: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 046d:c08b Logitech, Inc. G502 SE HERO Gaming Mouse
Bus 005 Device 096: ID 0bda:5418 Realtek Semiconductor Corp. BillBoard Device
Bus 005 Device 095: ID 046d:0892 Logitech, Inc. OrbiCam
Bus 005 Device 098: ID 1038:12b1 SteelSeries ApS SteelSeries Arctis 9X
Bus 005 Device 094: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0b05:18f3 ASUSTek Computer, Inc. AURA LED Controller
Bus 003 Device 004: ID 3297:1969 ZSA Moonlander Mark I
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 018: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 001 Device 002: ID 1050:0407 Yubico.com Yubikey 4/5 OTP+U2F+CCID
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsblk --fs output (device not displayed)

❯ lsblk --fs
NAME            FSTYPE            FSVER LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINT
loop0           squashfs          4.0                                                       0   100% /var/lib/snapd/snap/gnome-3-28-1804/145
loop1           squashfs          4.0                                                       0   100% /var/lib/snapd/snap/core18/1997
loop2           squashfs          4.0                                                       0   100% /var/lib/snapd/snap/snapd/11588
loop3           squashfs          4.0                                                       0   100% /var/lib/snapd/snap/snapd/11402
loop4           squashfs          4.0                                                       0   100% /var/lib/snapd/snap/gtk-common-themes/1514
loop5           squashfs          4.0                                                       0   100% /var/lib/snapd/snap/core18/1988
loop6                                                                                                
└─veracrypt1_0                                                                                       
  └─veracrypt1  vfat              FAT16          5D68-8048                              14.3M     3% /mnt/veracrypt1
loop7           squashfs          4.0                                                       0   100% /var/lib/snapd/snap/gtk-common-themes/1515
loop8                                                                                                
└─veracrypt2_0                                                                                       
  └─veracrypt2  ext4              1.0            65cae37f-41e9-4279-8e78-bc4b7b7e57fc  261.5M    76% /mnt/veracrypt2
sda                                                                                                  
└─sda1          crypto_LUKS       1              7f6943e2-a583-44cb-afc6-58d79f65b59c                
  └─cryptextra  ext4              1.0       a6d49cce-513f-4093-a602-ebc7c8987c05  414.4G     4% /mnt/extra
sdb                                                                                                  
└─sdb1          linux_raid_member 1.2     b94a6fc4-2b45-1110-3fd4-fe728696b1b4                
  └─md0         crypto_LUKS       1              8b7c3c54-51a0-478d-8925-8874a7a89784                
    └─cryptraid ext4              1.0    d6346c1a-f160-460b-9ce7-97bc721aa391    960G    43% /mnt/raid
sdc                                                                                                  
└─sdc1          linux_raid_member 1.2     b94a6fc4-2b45-1110-3fd4-fe728696b1b4                
  └─md0         crypto_LUKS       1              8b7c3c54-51a0-478d-8925-8874a7a89784                
    └─cryptraid ext4              1.0    d6346c1a-f160-460b-9ce7-97bc721aa391    960G    43% /mnt/raid
nvme1n1                                                                                              
├─nvme1n1p1     vfat              FAT32          11D2-9086                             298.9M     0% /boot/efi
├─nvme1n1p2     crypto_LUKS       1              8b94d1a5-9d5a-4ee3-943f-21a98c6e444e                
│ └─cryptroot   ext4              1.0            9dec5cfe-fc4b-4d8e-8c01-c32b557c561c  156.3G    14% /
└─nvme1n1p3     crypto_LUKS       1              c9b988d5-5c7e-4965-8699-ad7ff8e8b4c8                
nvme0n1                                                                                              
└─nvme0n1p1     crypto_LUKS       2              824ac808-af56-4d87-a08f-1516eff583e8                
  └─crypthome   ext4              1.0            ea166a3b-bc19-4ffb-b289-77e0600f0ee7  583.9G    31% /home

relevant dmesg output:

...
[1276602.684100] audit: type=1131 audit(1620248679.924:1585): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[1276623.716711] usb 1-4: USB disconnect, device number 17
[1276693.150156] usb 1-4: new high-speed USB device number 18 using xhci_hcd
[1276693.349304] usb 1-4: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.00
[1276693.349306] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1276693.349307] usb 1-4: Product: Mass Storage
[1276693.349308] usb 1-4: Manufacturer: Generic
[1276693.349308] usb 1-4: SerialNumber: 2A6A81C5
[1276710.809674] audit: type=1101 audit(1620248788.046:1586): pid=621302 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="ta" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
...

When plugging in works, the devices typically auto mount via /dev/sdd and a Thunar window will spawn.
When it doesn’t the above outputs.

Thanks.

1 Like

Thats not “mounting”, that is a device node getting created for that device.
Did you do any system updates and not reboot afterwards?
Does the usb stick get a device node if you reboot and plug it in afterwards?

3 Likes

Thanks freggel.doe

That was indeed the issue. Seems to me that the requirement to reboot should be more explicit when updating from the command line.

I’ve noted this in my personal wiki though so if I forget next time I’ll be set.

Also, appreciate the correction on mounting vs device node creation. Lots to learn :slight_smile:

2 Likes

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