Ubuntu – disk space used up

diskdisk-usage

I have upgraded to 13.04 and lose disk space, …
I have a 3 TB hard disk, and had yesterday still 890 GB free, … today all is gone!

Disk Usage Analyzer does not give me a clue and says that it could not read all directories due to missing permission.
How can I start it as root, believing that this would give me all permissions.

Log files don't show me also anything useful for that matter.

Best Answer

To run a graphical application as root, you would use the commands gksu or gksudo. However, these have been removed from Ubuntu 13.04 for various reasons.

So, in order to run Disk Usage Analyzer as root, here are two methods:

Method 1

  1. Open a terminal, Ctrl+Alt+T. Type sudo apt-get install gksu, this will install gksu and gksudo.
  2. To run Disk Usage Analyzer as root, do the following command:

    gksudo baobab

Method 2

  1. Open a terminal, Ctrl+Alt+T. Type sudo -i. This will log you in as root in the terminal.
  2. Run Disk Usage Analyzer by typing:

    baobab

In both cases, don't close the terminal until you are done, because closing the terminal will also close Disk Usage Analyzer.

Further to your problem, you can use the command df -h to show you the sizes of your partitions and see how much space is available.

Related Question