Incorrect reading of Storage used
I've used about 163GB between photos and video but the reading is wrong.

10 Replies
Is this on a Mac?
No, PC
Windows?
haha sorry yes windows
this is on the web gui tho not sure if it makes a difference
I see, there was reporting of javascript's Node API doesn't return the size correctly on a Mac machine
this might be something along the way
I think the total storage (9.3Ti) is correct but the used isn’t? How is immich calculating this? Just from the FS?
yes
Do you mind posting your compose/.env file?
What’s the file system of the drive
ZFS
Will post later tonight
The used size comes from the disk in use in UPLOAD_LOCATION/library
Specifically we just call nodes fs.statfs method with that directory. (/usr/src/app/upload/library)
https://github.com/immich-app/immich/blob/main/server/src/infra/repositories/filesystem.provider.ts#L88
GitHub
immich/server/src/infra/repositories/filesystem.provider.ts at main...
Self-hosted photo and video backup solution directly from your mobile phone. - immich/server/src/infra/repositories/filesystem.provider.ts at main · immich-app/immich