LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 03-27-2009, 08:16 PM   #1
raovq
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
Incorrect and conflicting free disk space reported in Lenny


I recently upgraded to debian 5 (complete format and reinstall as i had ruined my previous install with many hacks). however, now i get a strange problem i havent seen before.

My / partition (ext3) is about 90 gig with my home folder included. Nautilus reports that this is almost all full, with only a few gig left. Properties and disk space analyzer both say that only about 50 gig is used (which is about all I copied on).

An Image is worth a thousand words:
http://img90.imageshack.us/img90/247...properties.png

A 90 gig drive with less that 57 gig of contents, leaving only 2.3 gig free space?

It's not in any trash can (root or user) so i'm out of ideas. I still have everything backed up so I can reformat, but will this just happen again?

anyone?
 
Old 03-27-2009, 09:03 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,610

Rep: Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518
try fscking it. (going to have to boot from CD to do so)
 
Old 03-27-2009, 10:41 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,130

Rep: Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986
"df -hT"
 
Old 03-28-2009, 10:57 PM   #4
raovq
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Original Poster
Rep: Reputation: 0
running fsck didn't help, and strangely df -hT gave a third answer to how much space i have.

"Filesystem Type Size Used Avail Use% Mounted on
/dev/sda2 ext3 90G 84G 1.6G 99% /"

is there a reformat in my future?
 
Old 05-05-2009, 08:08 PM   #5
derm_
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
You are running Nautilus under your own account it won't have access to read all the directories in the filesystem, so it won't be able to total the size of all files that exist there. Hence the (some contents unreadable)

You could try du from the command line and with root access:
$ sudo du -xs / | sort -n
to give you a sorted list of the total size of each folder in /

Look for "Reserved block count:" in
$ sudo tune2fs -l /dev/hda
(replacing /dev/hda with whatever your disk device is)
which will show you the amount of space reserved for root which is unavailable to normal users. This will be why you'll be unable to write to files even though there is still a small amount of free disk space shown.

You can also try a graphical disk usage viewer such as fsview or kdirstat.
 
Old 05-06-2009, 12:14 PM   #6
oʌǝɹ
LQ Newbie
 
Registered: May 2009
Posts: 12

Rep: Reputation: 1
Quote:
Originally Posted by AlucardZero View Post
try fscking it. (going to have to boot from CD to do so)
For the record, it's possible to do it upon next reboot:
sudo touch /forcefsck
sudo reboot
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Incorrect disk space reported by Konqueror / df for FAT32 HDD ReubenG Suse/Novell 2 08-19-2008 08:36 AM
Wrong disk space reported NSKL Linux - Laptop and Netbook 5 02-01-2007 04:24 PM
Disk Free space being incorrectly reported NiallC Linux - General 2 10-02-2004 05:06 PM
disk space incorrect burnt_toast Linux - Software 2 09-16-2003 08:33 PM
incorrect disk space njk General 5 08-23-2003 02:13 AM


All times are GMT -5. The time now is 12:18 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration