USB Drive mount a very rare issue

sathishbs

New Member
Sep 19, 2024
5
0
1
Good Evening Everyone,

I have connected two working USB drives, newly formatted with ext4 (checked on other systems and they are working fine). I want to mount both of them using their UUID, but the system doesn't recognize them. Lets get to some data around

#1 Version
Code:
sathish@home:~$ pveversion
pve-manager/8.2.5/12c0a59769080547 (running kernel: 6.8.12-1-pve)

#2 USB Drives
Code:
sathish@home:~$ lsusb
Bus 004 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 007: ID 0bc2:ab24 Seagate RSS LLC Backup Plus Portable Drive
Bus 002 Device 006: ID 21c4:00e5 Lexar                SL600
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04f2:b6c0 Chicony Electronics Co., Ltd HP HD Camera
Bus 001 Device 003: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Point of Interest:
Bus 002 Device 007: ID 0bc2:ab24 Seagate RSS LLC Backup Plus Portable Drive
Bus 002 Device 006: ID 21c4:00e5 Lexar SL600

#3. Neither lsblk or fdisk -l shows the drives that are connected
Code:
sathish@home:~$ sudo lsblk
NAME                            MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
nvme0n1                         259:0    0 476.9G  0 disk
├─nvme0n1p1                     259:1    0  1007K  0 part
├─nvme0n1p2                     259:2    0     1G  0 part /boot/efi
└─nvme0n1p3                     259:3    0 475.9G  0 part
  ├─pve-swap                    252:0    0    12G  0 lvm  [SWAP]
  ├─pve-root                    252:1    0    75G  0 lvm  /
  ├─pve-data_tmeta              252:2    0   3.7G  0 lvm
  │ └─pve-data-tpool            252:4    0 365.5G  0 lvm
  │   ├─pve-data                252:5    0 365.5G  1 lvm
  │   ├─pve-vm--9000--cloudinit 252:6    0     4M  0 lvm
  │   ├─pve-vm--109--cloudinit  252:7    0     4M  0 lvm
  │   ├─pve-vm--109--disk--0    252:8    0  47.2G  0 lvm
  │   ├─pve-vm--100--disk--0    252:9    0    10G  0 lvm
  │   ├─pve-vm--101--disk--0    252:10   0     2G  0 lvm
  │   ├─pve-vm--102--disk--0    252:11   0     8G  0 lvm
  │   └─pve-vm--103--disk--0    252:12   0     4G  0 lvm
  └─pve-data_tdata              252:3    0 365.5G  0 lvm
    └─pve-data-tpool            252:4    0 365.5G  0 lvm
      ├─pve-data                252:5    0 365.5G  1 lvm
      ├─pve-vm--9000--cloudinit 252:6    0     4M  0 lvm
      ├─pve-vm--109--cloudinit  252:7    0     4M  0 lvm
      ├─pve-vm--109--disk--0    252:8    0  47.2G  0 lvm
      ├─pve-vm--100--disk--0    252:9    0    10G  0 lvm
      ├─pve-vm--101--disk--0    252:10   0     2G  0 lvm
      ├─pve-vm--102--disk--0    252:11   0     8G  0 lvm
      └─pve-vm--103--disk--0    252:12   0     4G  0 lvm

Please help me in resolving this issue
 
Thank you for the response, here is the output from dmesg -w.

Asking for cache data failed - Google'd this and found that this is not an error as USB drive does not have any cache, it is reflecting the same and attaching the USB drive as a SCSI disk.

Code:
[59153.892632] sd 0:0:0:0: [sda] Asking for cache data failed
[59153.892634] sd 0:0:0:0: [sda] Assuming drive cache: write through
[59153.892637] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes not a multiple of physical block size (0 bytes)
[59153.892652] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (0 bytes)
[59153.892912] sd 0:0:0:0: [sda] Attached SCSI disk
[59154.254249] usb 2-2: reset SuperSpeed USB device number 8 using xhci_hcd
[59157.992617] usb 2-1: new SuperSpeed USB device number 9 using xhci_hcd
[59158.005489] usb 2-1: New USB device found, idVendor=21c4, idProduct=00e5, bcdDevice= 1.00
[59158.005493] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[59158.005494] usb 2-1: Product: SL600
[59158.005496] usb 2-1: Manufacturer: Lexar
[59158.005496] usb 2-1: SerialNumber: 14232202230C2A6B
[59158.010386] scsi host0: uas
[59158.247772] scsi 0:0:0:0: Direct-Access     Lexar    SL600            1.0  PQ: 0 ANSI: 6
[59158.248276] sd 0:0:0:0: Attached scsi generic sg0 type 0
[59158.248762] sd 0:0:0:0: [sda] 1956642816 512-byte logical blocks: (1.00 TB/933 GiB)
[59158.248837] sd 0:0:0:0: [sda] Write Protect is off
[59158.248838] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[59158.248916] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[59158.249741]  sda: sda1
[59158.249906] sd 0:0:0:0: [sda] Attached SCSI disk

Here goes the fdisk -l output after the dmesg -w command

Code:
sathish@home:~$ sudo fdisk -l
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SK hynix BC511 HFM512GDJTNI-82A0A
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C47E5F90-0181-4BFD-A924-271FDF9AC67E

Device           Start        End   Sectors   Size Type
/dev/nvme0n1p1      34       2047      2014  1007K BIOS boot
/dev/nvme0n1p2    2048    2099199   2097152     1G EFI System
/dev/nvme0n1p3 2099200 1000215182 998115983 475.9G Linux LVM


Disk /dev/mapper/pve-swap: 12 GiB, 12884901888 bytes, 25165824 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/pve-root: 75 GiB, 80530636800 bytes, 157286400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/pve-vm--9000--cloudinit: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes


Disk /dev/mapper/pve-vm--109--cloudinit: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes


Disk /dev/mapper/pve-vm--109--disk--0: 47.2 GiB, 50679775232 bytes, 98983936 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: gpt
Disk identifier: 483A8BF5-A02C-434D-AF50-A9363B461305

Device                                   Start      End  Sectors  Size Type
/dev/mapper/pve-vm--109--disk--0-part1  227328 98983902 98756575 47.1G Linux filesystem
/dev/mapper/pve-vm--109--disk--0-part14   2048    10239     8192    4M BIOS boot
/dev/mapper/pve-vm--109--disk--0-part15  10240   227327   217088  106M EFI System

Partition table entries are not in disk order.


Disk /dev/mapper/pve-vm--100--disk--0: 10 GiB, 10737418240 bytes, 20971520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes


Disk /dev/mapper/pve-vm--101--disk--0: 2 GiB, 2147483648 bytes, 4194304 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes


Disk /dev/mapper/pve-vm--102--disk--0: 8 GiB, 8589934592 bytes, 16777216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes


Disk /dev/mapper/pve-vm--103--disk--0: 4 GiB, 4294967296 bytes, 8388608 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
 
I just found this and my bad I always ignored the messages after the disk was attached. is my USB drive getting reset?

Code:
[59160.301035] usb 2-1: reset SuperSpeed USB device number 9 using xhci_hcd
[59175.266801] usb 2-2: reset SuperSpeed USB device number 8 using xhci_hcd
[59175.698832] usb 2-2: reset SuperSpeed USB device number 8 using xhci_hcd
[59181.412984] usb 2-1: reset SuperSpeed USB device number 9 using xhci_hcd
[59181.856012] usb 2-1: reset SuperSpeed USB device number 9 using xhci_hcd
 
hi,

before all, try another usb port, idealy with another usb controller.

If was on USB3 port, try it with usb2.
Problem encountered before, with usb JBOD 4 hdd 18To each. Solved via forcing usb2 usage. ( sufficient for my use case, see if good for U :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!