Comments (4)
I think this might be a quirk of ZFS since everything is on a separate dataset. We only look at the library folder to get disk usage info, so in this case the used space is just the size of the library folder. I'm not sure what the best way to fix this would be.
from immich.
idk this may sound amateurish but just getting size with du and report it to GUI? should work on zfs no ?
from immich.
One workaround, that worked for me (using geesefs to mount S3 buckets as local storage), is to set a quota limit on your account. Eg. instead of unlimited, use 100 TB for example. This way I can now see the used storage out of the limit.
Using du could deteriorate performance pretty quickly for us (who mount different kinds of storage, especially Object stores such as minio or s3), in my case, it could take hours to traverse the whole tree and get the total size.
I haven't checked how the size is being calculated when a limit is set, and I could be mistaken, but I'm assuming that it's calculated from the meta in Immich rather than from storage as I'm pretty sure it would be much slower to do it accurately from storage in my case.
from immich.
I'm assuming that it's calculated from the meta in Immich rather than from storage
This is right. Usage is stored in the DB and updated when assets are added or deleted.
I suppose we could change to display the immich library size instead of the disk size. The latter is hard to get right since you can mount different drives for each folder, filesystems can handle usage differently, etc.
from immich.
Related Issues (20)
- Upload via Domain -> Cloudflare is crashing HOT 1
- [BUG] Timeline endpoint returns the wrong video duration HOT 2
- IOS App - Downloading Image from Immich that is marked as Favourite, does not reflect in Apple Photos
- Issue with navbar in Android
- I would like to try translating immich's web application into Chinese HOT 5
- Photos from external library do not show in iOS app HOT 3
- Auto Backup Logic bug
- Search by camera looks bad in Android
- Android app freezing after launch HOT 2
- Moving a picture in the trash doesn't change the photo album's or location album's thumbnail.
- iOS app stops being able to connect to server on one device but not the other (and version discrepancy?) HOT 5
- γBUGγThe video is completely gray after transcoding HOT 2
- [BUG] Interrupted mobile uploads leave corrupt files HOT 1
- External Library - Permissions Denied on NFS shares, and mkdir on existing folders
- Transcoding gets blocked on certain videos creating multiple instances of ffmpeg running HOT 10
- iOS app showing what looks like an XML file on "advanced info" instead of nicely formatted information HOT 2
- Slideshow has problems loading images after running for a while HOT 1
- Some photos are treated as motion photos, even though they don't appear to be such
- Not everything is uploaded from the Android App HOT 2
- App Android and IOS: Deleted pictures are still shown in full view after deletion swiping left
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from immich.