OrangePi 3 seems to lose connection to SSD on USB Port

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=15
    G_DIETPI_VERSION_RC=-1
    G_GITBRANCH=‘orangepi3’
    G_GITOWNER=‘MichaIng’

  • Distro version | bookworm

  • Kernel version | Linux OrangePi3 6.12.23-current-sunxi64 #1 SMP Thu Apr 10 12:39:41 UTC 2025 aarch64 GNU/Linux

  • Architecture | arm64

  • SBC model | Orange Pi 3 (aarch64)

  • Power supply used | 5V 3A (round connector used)

  • SD card used | SanDisk ultra

Additional Information (if applicable)

  • Software title | docker / Nextcloud AIO
  • Was the software title installed freshly or updated/migrated?
    has been installed as main software on this device directly after having the device ready for test with DietPi.
  • Can this issue be replicated on a fresh installation of DietPi?
    I do not think, that Docker or Nextcloud should be the reason.

← If you sent a “dietpi-bugreport”, please paste the ID here →

  • Bug report ID | ab3152c9-dae3-4d9f-b9ec-552cb50369b6

Steps to reproduce

The problem occurs randomly (but much too often to ignore it for production) without warning from the system or special actions from user site.
Soft reboot sometimes is not enough and I need a hard reboot to get back access to the SSD.

Expected behaviour

The SSD should stay in access

Actual behaviour

At some point Nextcloud no longer has access to the initially mounted device (e.g. /dev/sda1), which is a Samsung EVO 2 GB SATA drive.
After that occurs, looking at lsblk the device is no longer available but the mount is showing up active. I assume, that there could be either a hardware problem with the SSD, that is occuring after a specific request or some software / driver issues with USB port or maybe even the USB cable to the SSD (which I have exchanged already, but that did not help). I do not think, that the main reason is in the SSD itself.
Do you have ay idea, how to investigate here?
I could not find any logs (maybe I’m looking at the wrong places or could set some different log level somewhere?)

Extra details

you can check for kernel error messages as soon as the problem occurs

dmesg -l 0,1,2,3

I guess it will show I/O errors at this point

Do you use a dedicated case/PSU for the SSD? Or just simply attached to the USB port? You could try using a powered USB hub to see how it goes.

Thanks for that. I have included a powered USB3 hub in my setting now and it seems to work more stable now at least.