Category Archives: Software

Not enough drive space!

Context; Ubuntu 12.04 server, where root (“/”) has just 7 GB of space (don’t ask me why I was such a Scrooge when I set it up).

For the last two months, I haven’t been able to run updates on the server as it complained of not having enough drive space. On checking, I indeed had only about 20 MB left. I clean away another 500 MB, but alas, the problem persisted. At the time, I neither had the time to investigate or could afford the server going down (as it was integral to my development process), so I left it until tonight.

“df -h” again showed me that I had the 500 MB free, and so I searched online. I found a post that reminded me that there was also a possibility that I’d run out of INodes, and so I checked using “df -i”. True to form, this was the case. I closed down all my mounts and searched for where they were being used using;

find / -xdev -printf ‘%h\n’ | sort | uniq -c | sort -k 1 -n

And to my horror I then noticed 20 kernel versions just sitting there taking up 30% of the INodes. I tried to purge them, but my package manager was wanting to perform another task first that required INodes – Catch 22.

In the end, I moved the files over to the storage drives I had attached and linked them over (in case they were a dependency in some way or another). 30 minutes later of updating and purging, everything was fixed.

Windows 8 – Boot to desktop

Following the installation of Windows 8.1, many of the little niggles I found annoying are fixed from a single settings menu, including;

  • Boot to desktop
  • Start menu has same background as desktop. Whilst it is a small change, it has a big impact. No longer am I instantly lost as the whole screen changes colour. It integrates much better (plus another place to have my cat background :D)
  • Apps are shown instead of the tile. The tiles have their place on mobile devices, but I don’t have much use for them. Instead I show Apps, and sort “by most used”.
  • Better multi-screen support.

This menu is accessed by;

  • Right clicking an empty part of the task bar (the bar where the program short cuts are sitting).
  • Left clicking the menu option “Properties”
  • Left clicking the tag “Navigation”

There are many more changes (many little niggles), but this was one of the ones I appreciate the most.

Configuring Windows 8 to boot to desktop