for context I'm using ubuntu 22.04 VM over ESXI.
Currently I have my root almost completely full
administrator@alfalab:/$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 790M 2,0M 788M 1% /run
/dev/sda3 39G 35G 1,8G 96% /
tmpfs 3,9G 1,1M 3,9G 1% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
/dev/sda2 512M 6,1M 506M 2% /boot/efi
tmpfs 790M 108K 790M 1% /run/user/1000
And I have one unmounted disk with 100G
administrator@alfalab:/$ sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 4K 1 loop /snap/bare/5
loop1 7:1 0 63,4M 1 loop /snap/core20/1974
loop2 7:2 0 63,5M 1 loop /snap/core20/2015
loop3 7:3 0 73,9M 1 loop /snap/core22/858
loop4 7:4 0 73,9M 1 loop /snap/core22/864
loop5 7:5 0 349,7M 1 loop /snap/gnome-3-38-2004/140
loop6 7:6 0 236,9M 1 loop /snap/firefox/3131
loop7 7:7 0 236,8M 1 loop /snap/firefox/3068
loop8 7:8 0 349,7M 1 loop /snap/gnome-3-38-2004/143
loop9 7:9 0 91,7M 1 loop /snap/gtk-common-themes/1535
loop10 7:10 0 45,9M 1 loop /snap/snap-store/638
loop11 7:11 0 40,8M 1 loop /snap/snapd/19993
loop12 7:12 0 452K 1 loop /snap/snapd-desktop-integration/83
loop13 7:13 0 12,3M 1 loop /snap/snap-store/959
loop14 7:14 0 485,5M 1 loop /snap/gnome-42-2204/126
loop16 7:16 0 40,8M 1 loop /snap/snapd/20092
loop17 7:17 0 304K 1 loop /snap/snapd-desktop-integration/49
loop18 7:18 0 496,9M 1 loop /snap/gnome-42-2204/132
sda 8:0 0 40G 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 513M 0 part /boot/efi
└─sda3 8:3 0 39,5G 0 part /var/snap/firefox/common/host-hunspell
/
sdb 8:16 0 100G 0 disk
sr0 11:0 1 1024M 0 rom
Is there a way to expand or add this disk to the root space without breaking the VM? I have tried some approaches but they fail at some point. Is there any safe approach without having to create another VM?