extend_immich_used_memory
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
extend_immich_used_memory [2025/02/08 10:08] – created tomgle | extend_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:\\ | ||
+ | < | ||
+ | vgs | ||
+ | </ | ||
if there is free space, enlarge the volume:\\ | if there is free space, enlarge the volume:\\ | ||
- | lvresize -L +<space in GB to increase> | + | < |
- | + | lvresize -L +<space in GB to increase> | |
- | there should be a message | + | </ |
- | + | There should be a message that the volume is resized. You can look at the volume using\\ | |
- | lvs\\ | + | < |
- | + | lvs | |
- | there you should see the new size.\\ | + | </ |
- | + | You should see the new size.\\ | |
- | At last step, increase the size of the filesystem:\\ | + | |
- | resize2fs / | + | Last step, increase the size of the filesystem: |
+ | < | ||
+ | resize2fs / | ||
+ | </ | ||
+ | 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 |
extend_immich_used_memory.1739027322.txt.gz · Last modified: 2025/02/08 10:08 by tomgle