User Tools

Site Tools


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 now that the volume is resized. You can look at the volume using

lvs

there you should see the new size.

At last step, increase the size of the filesystem:

resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv

If everything went as exspected, you should see the new size in immich.

extend_immich_used_memory.1739027521.txt.gz · Last modified: 2025/02/08 10:12 by tomgle