Storage in a docker environment
Hey, i'm new in the immich game. My Setup is to run immich in a docker environment on my ubuntu os. I mounted a extra HDD as storage an set the upload Folder to this HDD. While i uploaded my mobile photos the disk space of my OS disk runs out of storage and blocks my whole system. Now i fixed it and tray it again but the storage usage of the OS disk grows also. Is this normal and the plan. Is any data in the docker stored? I'm very confused.
7 Replies
can you share your .env and docker-compose?
can you get me the out put of
lsblk
?NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 63,4M 1 loop /snap/core20/1974
loop1 7:1 0 63,5M 1 loop /snap/core20/2015
loop2 7:2 0 73,9M 1 loop /snap/core22/858
loop3 7:3 0 73,9M 1 loop /snap/core22/864
loop4 7:4 0 8,8M 1 loop /snap/glances/1502
loop5 7:5 0 103M 1 loop /snap/lxd/23541
loop6 7:6 0 111,9M 1 loop /snap/lxd/24322
loop7 7:7 0 11,8M 1 loop /snap/nmap/3077
loop8 7:8 0 12,9M 1 loop /snap/nmap/3152
loop9 7:9 0 40,8M 1 loop /snap/snapd/20092
loop10 7:10 0 40,9M 1 loop /snap/snapd/20290
loop11 7:11 0 96K 1 loop /snap/tldr/493
sda 8:0 0 465,8G 0 disk
├─sda1 8:1 0 500M 0 part
└─sda2 8:2 0 465,3G 0 part (HDD)
sdb 8:16 0 232,9G 0 disk
├─sdb1 8:17 0 119,8G 0 part (Windows Partition)
├─sdb2 8:18 0 112,2G 0 part /var/lib/docker/btrfs
│ /
└─sdb3 8:19 0 852M 0 part
I don't see anything mounted at
/mnt/hdd/photo
did you perform the mounting in fstab
?But it is store there
┌─[zerion@gemini2]─[/mnt/hdd/photo]
└──╼ $ls
data encoded-video library postgres thumbs typesense upload
ok i think you give the right hint, it really not mounted, i'ts crashed somewhere an now it is a normal folder. My fault to check this
I'm sorry, thanks for support
No problem, enjoy 🙂