LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-31-2007, 02:22 PM   #1
gnurza
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Rep: Reputation: 0
GNU/Linux reporting incorrect free space on external drive


I've an external hard drive that i use to transfer files between windows-based applications (hardware) to GNU/Linux Debian for processing. I recently free'd a big chunk of the space. However, when I plug the drive in the GNU/Linux machine it fails to report the correct free space (and therefore, cannot copy onto it). I've checked the drive on other windows machines and the free space reported is correct.
Any clues on how I can get correct free memory statistics?
Thank you.
 
Old 10-31-2007, 02:31 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by gnurza View Post
I've an external hard drive that i use to transfer files between windows-based applications (hardware) to GNU/Linux Debian for processing. I recently free'd a big chunk of the space. However, when I plug the drive in the GNU/Linux machine it fails to report the correct free space (and therefore, cannot copy onto it). I've checked the drive on other windows machines and the free space reported is correct.
Any clues on how I can get correct free memory statistics?
Thank you.
What Linux tools are you using? e.g. What does "df" tell you?

Also, do "ls -al" to list all hidden files. Is there maybe a folder called "trash"?
 
Old 10-31-2007, 03:01 PM   #3
gnurza
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
I did check for the folder "trash" and made sure it's empty. There are no other hidden files. The drive is an FAT type specifically a data drive for transferring image files after recording to the linux machine for analysis/processing. df tells me I've approx. 2.4 GB free space whereas in windows I'm getting >7GB free space. I've tried rebooting but to no avail.The memory was free'd in windows and I did empty the recycle bin (which led to a gain of almost 5GB that I can't seem to locate in GNU/linux). I can copy an image file within windows whereas in GNU/Linux I cannot because of insufficient space.
 
Old 10-31-2007, 07:18 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
re-booting is not going to change how Linux sees this drive.

If ls -al shows no hidden files, my next step would be "du". This gives you the disk space used by each directory and file. "man du" for options
 
Old 10-31-2007, 07:24 PM   #5
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Just another thought if were are talking about an ntfs partition: did you check its .Trash folder?
 
  


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
External drive - wrong size af free space yannator Linux - General 2 06-27-2005 02:05 AM
Not enough free space on hard drive with 50g of free space??? auoq Suse/Novell 5 10-13-2004 08:21 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM
After removing another hard drive, system sees incorrect amount of free space cellphone Linux - General 5 09-28-2003 07:29 PM
df not truly reporting disk free space, why? mark_umr Linux - General 8 12-22-2002 11:20 PM


All times are GMT -5. The time now is 04:11 AM.

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