LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-02-2004, 08:45 AM   #1
NiallC
Member
 
Registered: Feb 2003
Distribution: Suse 8.1
Posts: 102

Rep: Reputation: 15
Disk Free space being incorrectly reported


Hello,

(Suse 9.1.)

/dev/hdd is secondary drive mount a /mnt.

linux:/mnt # ls -alh
total 66G
drwxr-xr-x 3 root root 4.0K Sep 29 23:24 .
drwxr-xr-x 22 root root 4.0K Oct 1 20:27 ..
-rw-r--r-- 1 root root 38G Sep 29 23:44 barrier.dd
-rw-r--r-- 1 root root 29G Aug 9 11:17 diane.dd
-rw-r--r-- 1 root root 6.8K Aug 9 11:57 dmesg.txt
drwx------ 2 root root 16K Aug 9 10:48 lost+found
linux:/mnt # df -h /dev/hdd
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 167G 130G 29G 82% /
linux:/mnt #

If you see above, I'm using 66G but df reads it as 130G.

The same anomaly is occuring on my /dev/hda to the extent that I can't copy files over to that drive, and I KNOW there's plenty of room.

Is there some sort of cleanup I can run. I have moved large files, in excess of 40G back and forth between these drives and I've got the funny feeling that Suse is not cleaning up after the moves. FYI, I use dd to move files, not cp, and then I delete the original. And yes, I am sure that the Trash is empty.

Anyone have any ideas?

TIA for any pointers....

NIall..
 
Old 10-02-2004, 08:58 AM   #2
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Have you run a fsck?
 
Old 10-02-2004, 05:06 PM   #3
NiallC
Member
 
Registered: Feb 2003
Distribution: Suse 8.1
Posts: 102

Original Poster
Rep: Reputation: 15
This actually was all mu mistake in the first place - sorry....

/dev/hdd was an external mounted drive mounted at /mnt

Running:

# df -h /mnt

produces the correct results.....
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk dimensions reported incorrectly - Slack 9.1, Thinkpad 380D BigBadPenguin Linux - Laptop and Netbook 5 02-19-2006 02:26 PM
How much disk space do I have free? Ian D Linux - General 5 10-27-2005 06:22 PM
free disk space mp4-10 Linux - Software 1 04-06-2005 03:32 AM
Can't free disk space mcm8327 Linux - Software 4 03-29-2004 08:19 AM
free disk space? Alf829 Linux - Newbie 3 08-01-2003 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration