Storage Issue: 2TB Disk Mounted but Web App Only Shows 15GB Available
Hello, I want Immich to use a 2TB external disk as the storage location for uploaded photos. But when checking on the web app it's telling me that I'm at "1.6 GiB of 15.6 GiB used".
This disk is mounted on:
/dev/sda1 1.8T 48K 1.7T 1% /disk1
My .env variable seems to correctly setup to "UPLOAD_LOCATION=/disk1/photo/" . The permissions for the folder are: drwxr-xr-x
My docker-compose.yml has not been changed and still uses the UPLOAD_LOCATION variable for the volume:
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
Docker seems to be able to get that info since it's displayed when I run "docker inspect immich_server | grep -A10 Mounts"
"Mounts": [
{
"Type": "bind",
"Source": "/disk1/photo",
"Destination": "/usr/src/app/upload",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
So everything is running smoothly but I don't understand why there is this discrepancy. I feel like it's something obvious that I'm missing but I can't wrap my head around why 😄 .18 Replies
:wave: Hey @឵឵឵Deredeld,
Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs
docs
- Container Status: docker ps -a
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
- Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA
Checklist
I have...
1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
2. :blue_square: read applicable release notes.
3. :blue_square: reviewed the FAQs for known issues.
4. :blue_square: reviewed Github for known issues.
5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
6. :blue_square: uploaded the relevant information (see below).
7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
Information
In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:
- Your docker-compose.yml and .env files.
- Logs from all the containers and their status (see above).
- All the troubleshooting steps you've tried so far.
- Any recent changes you've made to Immich or your system.
- Details about your system (both software/OS and hardware).
- Details about your storage (filesystems, type of disks, output of commands like fdisk -l
and df -h
).
- The version of the Immich server, mobile app, and other relevant pieces.
- Any other information that you think might be relevant.
Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)
If this ticket can be closed you can use the /close
command, and re-open it later if needed..env
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
# The location where your uploaded files are stored
UPLOAD_LOCATION=/disk1/photo/
# The location where your database files are stored. Network shares are not supported for the database
DB_DATA_LOCATION=./postgres
# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC
# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release
# Connection secret for postgres. You should change it to a random password
# Please use only the characters
A-Za-z0-9, without special characters or spaces
DB_PASSWORD=
# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
Can you tell us a little more about your host computer @឵឵឵Deredeld
Also what is the output of
df -T
and lsblk
I dont know which information you are looking for particularly but I'm on a Ubuntu Server "Ubuntu 22.04 LTS" with Docker version 28.0.4 (build b8034c0) and Docker Compose version v2.34.0. I have a 1TB SSD and 2 2TB HDD. The system is installed on the SDD and the two disks are mounted on /disk1/ and /disk2/.
The immich folders are in /disk1/immich-app.
df -T:
lsblk
It feels more like a mounting problem than something coming from immich but I have run out of things to try 😄
Here is also the logs for the docker compose up
Are you using snap docker @឵឵឵Deredeld ?
Because it seems like you are 👀
I think those come from some options I checked from the installation of the ubuntu server .
I couldn't find a screen from the documentation but here is what I'm talking about: https://youtu.be/zs2zdVPwZ7E?t=790
SavvyNik
YouTube
Ubuntu Server 22.04 LTS Install - Step by Step Guide - (Beginners T...
Ubuntu Server 22.04 Linux Install Tutorial is a 2022 Tutorial on How to Install Ubuntu Server 22.04 Linux on a computer/server. Run through this Step by Step Tutorial to install Ubuntu 22.04 the Server Version on a system. Ubuntu Server 22.04 Linux Install Tutorial is intended for beginner users and shows all necessary steps to get your server r...
Should be easy to check with
sudo snap list
If docker is in there, you have snap dockerName Version Rev Tracking Publisher Notes
canonical-livepatch 10.9.0 286 latest/stable canonical✓ -
core 16-2.61.4-20240607 17200 latest/stable canonical✓ core
core18 20250123 2855 latest/stable canonical✓ base
core20 20250213 2501 latest/stable canonical✓ base
core22 20250315 1908 latest/stable canonical✓ base
core24 20250318 888 latest/stable canonical✓ base
docker 27.5.1 3064 latest/stable canonical✓ -
doctl v1.125.0 2030 latest/stable digitalocean✓ -
etcd 3.4.36 249 latest/stable canonical✓ -
kata-containers 2.4.2 2446 latest/stable katacontainers✓ classic
lxd 5.21.3-c5ae129 33110 5.21/stable canonical✓ -
microk8s v1.32.3 8148 1.32/stable canonical✓ classic
nextcloud 31.0.4snap1 47611 latest/stable nextcloud✓ -
postgresql10 10.4 47 latest/stable cmd✓ -
powershell 7.5.0 283 latest/stable canonical✓ classic
prometheus 2.37.0 86 2/stable canonical✓ -
slcli 6.2.6 2957 latest/stable softlayer -
snapd 2.67.1 23771 latest/stable canonical✓ snapd
tree 2.1.3+pkg-5852 54 latest/stable brlin -
it's there.... 😄
Yeah you really don't want snap docker 😛
No idea why canonical keeps pushing it
I'm guessing I can try again by removing it. Should be easier then
Thank you so much for all you help 🙂
It happens when you
sudo apt install docker
because it defaults to snapWhat a great way to implement things...
Lets hope and can come back with some good news in a few hours 😉
Just
sudo apt remove docker --purge
(assuming you've gotten all the data from your containers you need, this will WIPE all things docker)
And then sudo apt install docker-ce
And you'll also need sudo apt install docker-compose-plugin
Wow thank you so much I can't believe how knowledgeable you are to come up with solutions this fast this is great 😁

My job is literally linux server administration 👀