[Solved] Help, lost disk space in root!

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
User avatar
russellz
Level 3
Level 3
Posts: 149
Joined: Sat Nov 24, 2012 7:02 am
Location: Millas, France

[Solved] Help, lost disk space in root!

Post by russellz »

Hi

I've just done a reinstall of Mint Mate 14 64-bit on my laptop to get rid of the dual booting with Windoze 7 which I never use. I keep getting a message saying that I have 0 GB left in the Root partition. My disk is partitioned as follows:
/ 11.17 GB
/home 186.26 GB
swap 3.91 GB
Unallocated 96.74 GB

According to GParted I have used 9.05 GB in root and 13.91 GB in /home

According to Disk Usage Analyser I have used 15.5 GB in total of which 10.8 GB is in /home. That leaves only 4.7 GB in root so I should have plenty of free space so where has it all gone? Any ideas before I have to do a re-install?

I have run Bleachbit to clean out unused files but it recovered very little space, mostly by removing the caches.

Russell.
Last edited by russellz on Sat Jan 12, 2013 6:57 am, edited 1 time in total.
Laptop: HP17bs086nf, Intel Core i5-7200U, Intel HD Graphics 620 . Mint Cinnamon 18.3
Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 210, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 120GB SSD, 500GB HDD. Mint Cinnamon 18.2

cecar
Level 4
Level 4
Posts: 370
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: Help, lost disk space in root!

Post by cecar »

Can you put this command in a Terminal and post the output.

Code: Select all

sudo du -h --max-depth=1 / | sort -h -r

User avatar
russellz
Level 3
Level 3
Posts: 149
Joined: Sat Nov 24, 2012 7:02 am
Location: Millas, France

Re: Help, lost disk space in root!

Post by russellz »

cecar wrote:Can you put this command in a Terminal and post the output.

Code: Select all

sudo du -h --max-depth=1 / | sort -h -r
Output:

Code: Select all

russell@russell-SATELLITE-C870-13V ~ $ sudo du -h --max-depth=1 / | sort -h -r
[sudo] password for russell: 
du: cannot access `/run/user/russell/gvfs': Permission denied
du: cannot access `/proc/2633/task/2633/fd/4': No such file or directory
du: cannot access `/proc/2633/task/2633/fdinfo/4': No such file or directory
du: cannot access `/proc/2633/fd/4': No such file or directory
du: cannot access `/proc/2633/fdinfo/4': No such file or directory
20G	/
11G	/home
4.1G	/root
3.9G	/usr
423M	/var
218M	/lib
124M	/opt
36M	/etc
29M	/boot
9.4M	/sbin
8.9M	/bin
3.4M	/lib32
1.1M	/run
68K	/tmp
16K	/lost+found
8.0K	/media
8.0K	/dev
4.0K	/srv
4.0K	/selinux
4.0K	/mnt
4.0K	/lib64
0	/sys
0	/proc
Ahh! /root has loads in it and wasn't shown up by Disk Usage Analyser as I wasn't running it as Root. I will see what's there - should be very little normally I think.

Thanks,
Russell.
Laptop: HP17bs086nf, Intel Core i5-7200U, Intel HD Graphics 620 . Mint Cinnamon 18.3
Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 210, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 120GB SSD, 500GB HDD. Mint Cinnamon 18.2

User avatar
russellz
Level 3
Level 3
Posts: 149
Joined: Sat Nov 24, 2012 7:02 am
Location: Millas, France

Re: [Solved] Help, lost disk space in root!

Post by russellz »

Yes, that was it. Somehow, when restoring my files from the backup I accidentally restored some to /root :oops:

Thanks again Cecar.

Russell.
Laptop: HP17bs086nf, Intel Core i5-7200U, Intel HD Graphics 620 . Mint Cinnamon 18.3
Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 210, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 120GB SSD, 500GB HDD. Mint Cinnamon 18.2

Post Reply

Return to “Newbie Questions”