Used space on /home partition

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

Used space on /home partition

Postby BrooksJohn on Wed Jul 25, 2007 4:53 am

My /home directory is mounted on a 2.1GB partition.

If I view the directory properties with nautilus the contents total 432.8MB and the free space is 527.5MB

df -ah shows the following:

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 2.1G 1.6G 531M 75% /home

The free space is more or less the same so it seems that there is approx 1.2GB of files that I can't "see" even as root.

Any ideas?

Thanks in advance.
BrooksJohn
Level 1
Level 1
 
Posts: 14
Joined: Tue May 08, 2007 7:30 am
Location: Wirral, UK

Linux Mint is funded by ads and donations.
 

Postby Husse on Wed Jul 25, 2007 8:43 am

Which file system do you use. Which hard drive and how old is your computer?
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby BrooksJohn on Wed Jul 25, 2007 8:58 am

ext3, TOSHIBA MK4026GA, 3 years old but new Mint install about 3 month ago.
BrooksJohn
Level 1
Level 1
 
Posts: 14
Joined: Tue May 08, 2007 7:30 am
Location: Wirral, UK

Postby Husse on Wed Jul 25, 2007 2:01 pm

It does not look as the hardware should be a problem. In Linux the difference between a hidden file and a normal file is the dot in the beginning of the file name so there are no "hidden files" that could lurk in your /home and not be seen.
This is clearly not right, but I guess nautilus shows the wrong numbers somehow.
Try to pinpoint what part of your /home that has the content - check the numbers for each subfolder (remember hidden files and folders) and study that folder
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby BrooksJohn on Thu Jul 26, 2007 4:24 am

I was unable to identify what was using the space but have fixed it by copying the contents of /home elsewhere, formatting /dev/sda1, then copying /home back.

Both nautilus and df now show the same (correct) free space.

I suspect the culprit was picasa which crashed a couple of days ago and seems to have left thousands of files in .thumbnails.

Thank for your speedy response.
BrooksJohn
Level 1
Level 1
 
Posts: 14
Joined: Tue May 08, 2007 7:30 am
Location: Wirral, UK

Postby Husse on Thu Jul 26, 2007 6:18 am

Unfortunately when things like that happens it is often a "deeper" problem only possible to solve by tough measures.
You explanation is reasonable but the question remains why this was not seen. Keep an eye on that disk/partition and it could be a good idea to run a hard disk diagnostic tool
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden


Return to Other topics

Who is online

Users browsing this forum: DTJ and 7 guests