I've been playing with booting from SSDs in my RPi4s for systems that have heavy log-activity. I've been using this drive:
Kingston 2,5" SATA SSD A400 480GB together with a 'generic' SATA to USB3.0 adapter (dual USB type A plugs - one for power delivery, one for data (link)).
Everything was fine for a while and then the systems became extremely sluggish (taking a very long time to boot, logging in via SSH takes a minute, ...). I've tried re-writing fresh Raspian OS installs (these had worked fine for a while the first time around) but now, even at first boot, things grind to a halt near the end of the boot process. This has happened with two totally independent setups (different RPi4s, two sets SSD drives and adaptors). If I connect the drive to my computer and run diagnostics on it, it seems fine. If I boot the Pi from an SD card and mount the SSD drive it seems to work fine.
Can anyone point out to me what the issue could be?
Best regards, Andrew
EDIT: Responding to Jaromanda's comment:
Here's the output from
lsusb without the adapter:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
... and with the adapter this additional line:
Bus 002 Device 002: ID 152d:0562 JMicron Technology Corp. / JMicron USA Technology Corp.
lsusb -t yields the following when the adaptor is inserted:
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
I guess the issue is due to insufficient power as indicated in the comments... Thanks!