Bringing Thumbs onto fast drive
Hi,
I'm trying to split my mounts to bring my thumbnails onto an SSD rather than wait for the Nas disks to spin up.
Can someone please confirm that this strategy will work, if there is a simpler way or if I'm missing something.
I rsynced the thumbs folder to the SSD.
I created a new folder called mount within the immich-app folder
I created folders within there for encoded-video, thumbs, originals, profiles and uploads
I mounted each folder from the Nas to these except for the thumbs folder which I bind mounted to the SSD thumbs
Is there anything else that needs moving? Profile pics?
This seems to work, however, older photos are somehow not available as thumbnails. I think it's because the Nas immich-app folder also contains folders named for each user hash which still contain info. As I haven't recreated these within the new mount folder, they will be missing. - are these not moved if the storage migration job is run?
5 Replies
I had the same idea but in the end just left the entire uploads directory on the HDD. Latency isn't that bad since your phone will cache the small thumbnails.
But in the case you really really want to, I would leave
profile
, thumbs
and upload
on the SSD. encoded-video
can grow quite a lot so that's up to you 🙂Great, thanks for the advice. I'll do that!😄
small update on my part: after thinking about this last night during my shower I've decided I actually will mount a 2TB SSD drive instead for Immich data: a 2TB HDD costs about €70 while a 2TB SSD will set me back about €75. I already do external backups but an SSD will always have less latency, be faster and then I don't have to worry too much about mounting points and such
Thumbnails aren't migrated, but we just merged a PR that does do thumbnail migration. It would probably be best to wait until that is released, then run it, then update your mounts for thumbnails
Ah, that explains it. Thanks for the advice and the great work!