I
Immich2y ago
Nuggia

Incorrect reading of Storage used

I've used about 163GB between photos and video but the reading is wrong.
No description
10 Replies
Alex Tran
Alex Tran2y ago
Is this on a Mac?
Nuggia
NuggiaOP2y ago
No, PC
Alex Tran
Alex Tran2y ago
Windows?
Nuggia
NuggiaOP2y ago
haha sorry yes windows this is on the web gui tho not sure if it makes a difference
Alex Tran
Alex Tran2y ago
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
thomas
thomas2y ago
I think the total storage (9.3Ti) is correct but the used isn’t? How is immich calculating this? Just from the FS?
Alex Tran
Alex Tran2y ago
yes Do you mind posting your compose/.env file?
ddshd
ddshd2y ago
What’s the file system of the drive
Nuggia
NuggiaOP2y ago
ZFS Will post later tonight
jrasm91
jrasm912y ago
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

Did you find this page helpful?