extend_immich_used_memory
This is an old revision of the document!
Resize the LVM for immich
When immich is first setup on portainer, the amount of memory it uses is very low. My imageDb folder needs almost 1 Gb to accomodate the pictures.
The following procedure worked well for me (Tom G):
All data is on / which is an LVM in the Volume group (VG) ubuntu and the logical volume (LV) ubuntu.
Find out if there is enough space in the LVM/VG:
vgs
if there is free space, enlarge the volume:
lvresize -L +<space in GB to increase>G /dev/mapper/ubuntu--vg-ubuntu--lv
There should be a message that the volume is resized. You can look at the volume using
lvs
You should see the new size.
Last step, increase the size of the filesystem:
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv
If everything went as expected, you should see the new size in immich.
extend_immich_used_memory.1739027591.txt.gz · Last modified: 2025/02/08 10:13 by tomgle