ImmichI
Immich4mo ago
Agent47

USB External drive I/O error when immich container is running.

I have a USB hard drive connected to a debian linux server. Everything including database, uploads all are inside the harddrive. Both systemd for immich auto start and also drive mount using fstab on boot are setup.
For some time everything is okay, later then on the next opening of app/web, the storage used bar goes 0 of 0. Then I checked dmesg and found out hard drive goes to I/O error state. A reboot is required for immich to realise hard disk exists and this loops on. I also checked if it is a spin-down, bad device block issue, but those all are okay.
I docker compose down the container and put the system ON overnight and the drive was alright next day.
Need help with this.
Was this page helpful?