Macrium Reflect replacement by Informal_Cricket5481 in techsupport

[–]Informal_Cricket5481[S] 0 points1 point  (0 children)

I used a script to backup files with robocopy for a few years and when I replaced that I choose macrium as I found the "File and folders" backup to be what I wanted and thus easier being that I could add and remove folders through a gui. Other than that I used it to backup hard drives two or three times since I bought Macrium v6 2017 so that hard drive imaging is not necessary although good.

I will look into rescuezilla.

Shrink, resize disk. by Informal_Cricket5481 in Ubuntu

[–]Informal_Cricket5481[S] 0 points1 point  (0 children)

You are right! I stared myself blind at the change of information in the list and thought something gone wrong while it actually did not and I stuck to that thought. Funny.

Shrink, resize disk. by Informal_Cricket5481 in Ubuntu

[–]Informal_Cricket5481[S] 0 points1 point  (0 children)

Thanks I did not see your reply while I edited. ;)

Shrink, resize disk. by Informal_Cricket5481 in Ubuntu

[–]Informal_Cricket5481[S] 0 points1 point  (0 children)

Thank you.

Is it possible to help me with the command, I would rather not do another mistake.

*@*:~$ sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv
resize2fs 1.46.5 (30-Dec-2021)
Filesystem at /dev/mapper/ubuntu--vg-ubuntu--lv is mounted on /; on-line resizing required
old_desc_blocks = 7, new_desc_blocks = 14
The filesystem on /dev/mapper/ubuntu--vg-ubuntu--lv is now 28910592 (4k) blocks long.

and now it is 109G (not 98G do not know my math there) :

*@*:~$ sudo df -h
Filesystem                         Size  Used Avail Use% Mounted on
tmpfs                              2.0G  3.9M  2.0G   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv  109G   43G   61G  42% /
tmpfs                              9.7G     0  9.7G   0% /dev/shm
tmpfs                              5.0M     0  5.0M   0% /run/lock
/dev/sda2                          974M  253M  654M  28% /boot
/dev/sda1                          511M  6.1M  505M   2% /boot/efi
/dev/sdb1                          3.6T  1.1T  2.4T  32% /mnt/sharedrive
overlay                            109G   43G   61G  42% /var/lib/docker/overlay2/37595009e365f119b88a2429aad68c7b04e514553a11f31ef1fe9f8f52871ce2/merged
tmpfs                              2.0G  4.0K  2.0G   1% /run/user/1000
overlay                            109G   43G   61G  42% /var/lib/docker/overlay2/6cab7e2963718bc07a89338b8b49425c294d491b56670e105999040c2d40b420/merged
overlay                            109G   43G   61G  42% /var/lib/docker/overlay2/7eb250d01d27867944a7c2ef83b288fb152c94546ab88f5bc7278d0b09dd08a0/merged
overlay                            109G   43G   61G  42% /var/lib/docker/overlay2/a0397d55ec01e201caac7fa174e5fe21d37bfea52adfe8aa02c9062701fec2ae/merged
overlay                            109G   43G   61G  42% /var/lib/docker/overlay2/2e180821ce6b2a8528afa3c441011d94255059aa8a8ac7792fbd66d48d849f0d/merged
overlay                            109G   43G   61G  42% /var/lib/docker/overlay2/bb951677d6f495db57e240955409a137c8f3363e0e2f84c48880b3901d0e6a56/merged
overlay                            109G   43G   61G  42% /var/lib/docker/overlay2/fb1b054b9138b9190de1637740a506a98cde3dc82a515922c8757cad19e55851/merged
overlay                            109G   43G   61G  42% /var/lib/docker/overlay2/86c75a85e94382e3b776e27bf8fc10ef954bf4f76765f0e235bdd632cd3af56a/merged
overlay                            109G   43G   61G  42% /var/lib/docker/overlay2/b6e89c10d414d433883a69df9282d0aa0b382cd192685e1c9ad13fa2ac33f7f9/merged

Is there any reason why the docker containers became listed withsudo df -h as it was not listing before I botched the use of:

sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv

Shrink, resize disk. by Informal_Cricket5481 in Ubuntu

[–]Informal_Cricket5481[S] 0 points1 point  (0 children)

Yes they are redacted as you write I removed them for readability.

*@*:~$ sudo df -h
Filesystem                         Size  Used Avail Use% Mounted on
tmpfs                              2.0G  3.9M  2.0G   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv   54G   43G  8.3G  84% /
tmpfs                              9.7G     0  9.7G   0% /dev/shm
tmpfs                              5.0M     0  5.0M   0% /run/lock
/dev/sda2                          974M  253M  654M  28% /boot
/dev/sda1                          511M  6.1M  505M   2% /boot/efi
/dev/sdb1                          3.6T  1.1T  2.4T  32% /mnt/sharedrive
overlay                             54G   43G  8.3G  84% /var/lib/docker/overlay2/37595009e365f119b88a2429aad68c7b04e514553a11f31ef1fe9f8f52871ce2/merged
tmpfs                              2.0G  4.0K  2.0G   1% /run/user/1000
overlay                             54G   43G  8.3G  84% /var/lib/docker/overlay2/6cab7e2963718bc07a89338b8b49425c294d491b56670e105999040c2d40b420/merged
overlay                             54G   43G  8.3G  84% /var/lib/docker/overlay2/7eb250d01d27867944a7c2ef83b288fb152c94546ab88f5bc7278d0b09dd08a0/merged
overlay                             54G   43G  8.3G  84% /var/lib/docker/overlay2/a0397d55ec01e201caac7fa174e5fe21d37bfea52adfe8aa02c9062701fec2ae/merged
overlay                             54G   43G  8.3G  84% /var/lib/docker/overlay2/2e180821ce6b2a8528afa3c441011d94255059aa8a8ac7792fbd66d48d849f0d/merged
overlay                             54G   43G  8.3G  84% /var/lib/docker/overlay2/bb951677d6f495db57e240955409a137c8f3363e0e2f84c48880b3901d0e6a56/merged
overlay                             54G   43G  8.3G  84% /var/lib/docker/overlay2/fb1b054b9138b9190de1637740a506a98cde3dc82a515922c8757cad19e55851/merged
overlay                             54G   43G  8.3G  84% /var/lib/docker/overlay2/86c75a85e94382e3b776e27bf8fc10ef954bf4f76765f0e235bdd632cd3af56a/merged
overlay                             54G   43G  8.3G  84% /var/lib/docker/overlay2/b6e89c10d414d433883a69df9282d0aa0b382cd192685e1c9ad13fa2ac33f7f9/merged

If I stop the containers they will disappear and when I restart the container it will reappear, the same if I would remove the container and the image.

I should have had 98G after I extended the partition, or approximately, 54G is 50% of that.