LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-24-2008, 07:09 AM   #1
sharer
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
0 hdd space available, although 5 GB not used


Hi All,

I've got a Gentoo running quite well for years. Suddenly one of partitions (ide hdd) shows itself as full although it has a few Gigs released. df -h shows the following weird information:

Filesystem Size Used Avail Use% Mounted on
/dev/hdc1 113G 108G 0 100% /share/music2

Samba also mounts it as full. e2fsck does not show any errors. Could you please help me with this?
Thanks in advance,
Sharer
 
Old 09-24-2008, 08:08 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Just guessing....
Maybe because all the available blocks are used. By default, ext3 uses 4K blocks. du with no flags reports that each file <4K takes 4K on the disk.
 
Old 09-24-2008, 08:19 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,932

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Assuming ext2/3 file system I would think the difference would be reserved space.
 
Old 09-24-2008, 08:23 AM   #4
sharer
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Probably you were right

Initially I was mainly removing big files that freed space but did not change the situation. You inspired me to remove more small files, that seemed to work:

Filesystem Size Used Avail Use% Mounted on
/dev/hdc1 113G 97G 11G 90% /share/music2

Thanks!
 
Old 09-24-2008, 01:25 PM   #5
racracracrac
Member
 
Registered: Sep 2008
Posts: 44

Rep: Reputation: 15
This space is reserved for root. For an ext2 or ext3 filesystem, you can use tune2fs(8) to change the amount reserved. Look at the -m option.

(link removed)

Last edited by Mara; 10-12-2008 at 04:57 PM. Reason: link removed, as it has nothing to do with this thread
 
  


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
HDD space tombiz Ubuntu 3 07-16-2006 10:25 PM
Not enough space on HDD. Rythin Linux - Hardware 9 09-25-2005 04:44 PM
X won't come up. No space on HDD inon^ Fedora 2 07-30-2005 05:29 PM
HDD Space ColdArmor Mandriva 2 03-13-2005 05:46 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 04:58 PM


All times are GMT -5. The time now is 02:55 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration