extend_immich_used_memory

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
extend_immich_used_memory [2025/02/08 10:08] – created tomgleextend_immich_used_memory [2025/02/08 10:28] (current) tomgle
Line 1: Line 1:
 +===== 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.\\ 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):\\ The following procedure worked well for me (Tom G):\\
  
-All data is on / what is an LVM in the Volume group (VG) ubuntu and the logical volume (LV) ubuntu.\\ +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 associated to the LVM/VG:\\ +
- +
-//vgs//\\+
  
 +Find out if there is enough space in the LVM/VG:\\
 +<code>
 +vgs
 +</code>
 if there is free space, enlarge the volume:\\ if there is free space, enlarge the volume:\\
  
-lvresize -L +<space in GB to increase>G /dev/mapper/ubuntu--vg-ubuntu--lv\\ +<code> 
- +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\\ +</code> 
- +There should be a message that the volume is resized. You can look at the volume using\\ 
-lvs\\ +<code> 
- +lvs 
-there you should see the new size.\\ +</code> 
- +You should see the new size.\\
-At last step, increase the size of the filesystem:\\+
  
-resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv\\+Last step, increase the size of the filesystem:\\ 
 +<code> 
 +resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv 
 +</code> 
 +If everything went as expected, you should see the new size in immich. \\
  
-If everything went as exspected, you should see the new size in immich\\+The original post for these instructions is: [[Extend immich LVM]] (from reddit)\\
extend_immich_used_memory.1739027322.txt.gz · Last modified: 2025/02/08 10:08 by tomgle