Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-24-2008, 06:09 AM   #1
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,
Old 09-24-2008, 07:08 AM   #2
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, 07:19 AM   #3
Registered: Aug 2002
Posts: 15,828

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Assuming ext2/3 file system I would think the difference would be reserved space.
Old 09-24-2008, 07:23 AM   #4
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

Old 09-24-2008, 12:25 PM   #5
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 03:57 PM. Reason: link removed, as it has nothing to do with this thread


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

All times are GMT -5. The time now is 06:00 AM.

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