Linux System Partition Size - Low Disk Space

Hi guys. I’m running my Linux boxes in Azure. Today I noticed that I’m running low on disk space on my root partition as per below:

Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 28G 1.5G 95% /
devtmpfs 7.9G 0 7.9G 0% /dev
tmpfs 7.9G 0 7.9G 0% /dev/shm
tmpfs 1.6G 1016K 1.6G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
tmpfs 7.9G 0 7.9G 0% /run/shm
/dev/loop0 9.2M 9.2M 0 100% /snap/canonical-livepatch/97
/dev/loop1 9.2M 9.2M 0 100% /snap/canonical-livepatch/98
/dev/loop2 100M 100M 0 100% /snap/core/10908
/dev/sda15 105M 7.8M 97M 8% /boot/efi
/dev/loop4 70M 70M 0 100% /snap/lxd/19188
/dev/loop6 11M 11M 0 100% /snap/nmap/2254
/dev/loop5 56M 56M 0 100% /snap/core18/1997
/dev/loop3 100M 100M 0 100% /snap/core/10958
/dev/loop7 56M 56M 0 100% /snap/core18/1988
/dev/loop8 33M 33M 0 100% /snap/snapd/11402
/dev/loop9 33M 33M 0 100% /snap/snapd/11588
/dev/loop10 11M 11M 0 100% /snap/nmap/2280
/dev/loop11 71M 71M 0 100% /snap/lxd/19647
/dev/sdb1 147G 61M 140G 1% /mnt
tmpfs 1.6G 0 1.6G 0% /run/user/1000

Question: what is the easiest way to reclaim disk space on the root partition w/o messing anything up? Should I resize it in Linux? Move/Delete data? Or reconfigure the VM at the Azure level?

Thanks very much,


Being on Azure, I expect this is not a desktop system. What is it used for other than running a node? Do you really need snap?

Root being 28G and 95% full is odd. Do you have a lot of un-need stuff installed?

It is just used for core and 2 relay nodes. I have followed the CoinCashew guide to a ‘t’ and I am not well-versed enough in Linux to know for certain what is required vs what is not in terms of what can safely be deleted.

Having said all this, I just completed a test on another Azure VM I created for testing purposes and determined how to resize the OS partition w/o messing anything up via the Azure portal.

From a SysAdmin perspective though, I would still love to learn more about keeping a clean and uncluttered Linux Cardano server.

Thanks for replying Erik.

Did you install the full Ubuntu desktop (as opposed to the server version)? Are you using it? Maybe you can un-install the desktop components to free up some disk space.

If you only connect to the machine using ssh and do all your admin in the command line, you can probably do something like sudo apt purge xserver-common. Maybe you can do this on a test machine first to make sure you can still operate the machine after.

No. Just installed Ubuntu server, so no desktop components.

I’ll keep researching what I can prune.

Thanks again Erik.