OS: LibreElec 11
My SSD drive with one ext4 partition is recognized as /dev/sda1 on boot and automatically mounted in /media/<label>.
Sometimes, small physical disconnections happen I think and the SSD is suddenly remapped as /dev/sdb1 or /dev/sdc1 etc...
This causes my docker volumes mapped in this SSD (through /media/<label>/path ) to raise error when trying to access them later :
Even if disk is correctly remounted to /media/<label> and access to /media/<label> works on the host, I need to reboot to make my containers see the paths again.
How could I fix this problem ?
Can I force udevil to mount devices by-id or by-label or by-uuid to fix this ?
Can I force docker to mount volume through /dev/disk/by-id instead of /media/<label> ?