===== 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 +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. \\
The original post for these instructions is: [[Extend immich LVM]] (from reddit)\\