But the strange thing is, I get two remaining space values from disk usage analyzer and 'df -h'. I have attached the disk analyzer's output and kernel 'ls /boot' output.
Not to worry about this... it is not a "mismatch" as you think. Different programs evaluate hard disk space in different ways, and that results in the values being slightly different. This isn't a problem at all.
sda11 is a root partition that I used with ubuntu 16 before upgrading to 18.04
I may be wrong, but I don't think you "upgraded" your Ubuntu... I think you installed a fresh new copy of 18.04. In your first screenshot, you show sda11 as 151 GB partition (75% full). That's a nice normal size partition for an operating system, and 75% full is not at a critical level. But sda11 was not needed for your 18.04 because you were able to unmount it and reboot without it.
So, your entire Ubuntu 18.04 is stored in sda9 which is only 41 GB (100% full). I'm using the
df -h numbers. The last screenshot shows all the file system hierarchy for a complete Linux system (/, /bin, /boot, /home, /sbin, /usr, /var.... everything). The output I asked for shows that /home (18G), /usr (14G), and /var (5.1G) are consuming 37 GB out of your total available of 41 GB. I'd guess that /home is normal and not really a problem, but /usr and /var both seem unusually large, especially for such a small partition footprint.
Your long term reality is that you need to either expand sda9 so that your 18.04 can grow, if that is possible, or you will need to do a full reinstall.... perhaps into sda11, and replace Ubuntu 16. I don't think that 41 GB is going to be acceptable to you for very long. Or if it is, you will need to be very careful to keep from repeatedly filling it up again.
The short term reality is that you can clean up some space to give yourself some breathing room while you decide what to do. First off, delete anything not needed in your Downloads folder. It's very easy to let stuff build up in there... I know, my Downloads folder has over 24 GB in it right now!
After deleting anything, be sure to empty the Trash folder, and keep it empty. If you have files in Pictures, Videos, Music, etc... move them out to save space. Uninstall programs that you don't really need... you have probably installed quite a few already. Delete the cache for Firefox and any other web browser you may have.
Some /var/log files should not be deleted, but the ones in your screenshot are probably safe. I don't think there are two separate things with 801M... I think you are seeing a "total" that is repeated on the last two lines. It's not a lot, but it will help.
This link (and
this link) are what is telling me this is safe for you, but to fit your situation, you need to include the long sub-folder name after /var/log/journal/ --- so I think this command will save you 801M:
Code:
sudo rm /var/log/journal/33e790fffdf54a7a91a2bf975cc2f837/*
If you want to try to "expand" your sda9,
@wizardfromoz may can guide you there. He is practically "magical" in his ability to work with partitions. But I'm sure he will warn you of the risks in doing this too. You should always backup important data before resizing partitions... failure is not fun.
And Wizard may offer some more/better ideas about cleaning up what you have now as well.
Cheers