You are not logged in.

#1 2024-12-04 21:02:09

stecca
Member
Registered: 2023-04-20
Posts: 3

Usb drive randomly unmounts

I have a usb ssd, randomly it unmounts, sometimes is under load, sometimes is unutilized. Every time it disconnects then seemingly reconnects right after, and every time it changes label.

If i do cat /sys/module/usbcore/parameters/autosuspend it is set to -1, so it's not power save.

lsblk
sda      8:0    0  10.9T  0 disk /mnt/data2
sdb      8:16   0 465.8G  0 disk 
├─sdb1   8:17   0     1G  0 part /boot
├─sdb2   8:18   0 460.7G  0 part /
└─sdb3   8:19   0     2M  0 part 
sdc      8:32   0  10.9T  0 disk /mnt/parity1
sdf      8:80   0   1.8T  0 disk 
└─sdf1   8:81   0   1.8T  0 part /mnt/data1
zram0  254:0    0     4G  0 disk [SWAP]

Offline

#2 2024-12-04 21:26:36

mpan
Member
Registered: 2012-08-01
Posts: 1,644
Website

Re: Usb drive randomly unmounts

If that happened during idle only, I’d say it’s power saving.⁽¹⁾ However, it also drops off under load. First, check with a different cable and port.

If not, two questions:

  1. Did you check the same port with another device?

  2. Did you check the same USB-attached SSD on another computer (not just another port)?

It’s possible that it fails due to insufficient power being delivered, or the device itself malfunctioning — in particular under load or noise.

Also please post journal output from the time the issue happens. That may provide us with some hints.
____
⁽¹⁾ Regardless of usbcore’s autosuspend.

Last edited by mpan (2024-12-04 21:27:00)

Offline

#3 2024-12-04 21:54:12

stecca
Member
Registered: 2023-04-20
Posts: 3

Re: Usb drive randomly unmounts

i used it in another pc for years without problems, i will try with different ports

Offline

#4 2024-12-05 06:04:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,860

Offline

#5 2024-12-05 14:21:09

mpan
Member
Registered: 2012-08-01
Posts: 1,644
Website

Re: Usb drive randomly unmounts

Yeah, hence I wait for the journal output. smile

Offline

Board footer

Powered by FluxBB