LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 04-19-2010, 09:01 AM   #1
TonyAR
LQ Newbie
 
Registered: Apr 2010
Posts: 15

Rep: Reputation: 0
df reports 100% full yet 18Gb free?


Hello,

I have a server running CentOS 5.3 (Final)

Kernel version is:

2.6.18-128.el5 #1 SMP Wed Jan 21 10:44:23 EST 2009 i686 athlon i386 GNU/Linux

The output from df -h is as follows:

Filesystem Size Used Avail Use% Mounted on
/dev/sda2 9.5G 3.7G 5.4G 41% /
/dev/sda5 4.6G 456M 3.9G 11% /var
/dev/sda6 343G 325G 902M 100% /home
/dev/sda1 99M 12M 83M 12% /boot
tmpfs 506M 0 506M 0% /dev/shm


As you can see, /home claims to be 100% full - but yet there is actually 18Gb free?

I seem to recall this could be something to do with running out of inode space?

Can anybody offer any help please?

Thanks in advance,
Tony.
 
Old 04-19-2010, 09:06 AM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 96
ext2/3/4 by default reserves 5% of the space for the root. You can change that by tune2fs.
 
1 members found this post helpful.
Old 04-19-2010, 09:55 AM   #3
TonyAR
LQ Newbie
 
Registered: Apr 2010
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by troop View Post
ext2/3/4 by default reserves 5% of the space for the root. You can change that by tune2fs.
That's sorted - thanks for your help!

tune2fs -m 1 /dev/sda6
tune2fs 1.39 (29-May-2006)
Setting reserved blocks percentage to 1% (927974 blocks)
[root@nas ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 9.5G 3.7G 5.4G 41% /
/dev/sda5 4.6G 456M 3.9G 11% /var
/dev/sda6 343G 325G 16G 96% /home
/dev/sda1 99M 12M 83M 12% /boot
tmpfs 506M 0 506M 0% /dev/shm
 
Old 04-19-2010, 01:28 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
It is OK to set /home to have zero reserved blocks, because root's home is on / so root can always login (so long as you are not running one of the 'buntus, and have not allocated root its own password).

You do need 1-5% (depends on how large your / partition is) reserved space on /
 
1 members found this post helpful.
  


Reply

Tags
disk, full, inode, space


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
LXer: CodePlex Foundation Reports on 100 Day Goals LXer Syndicated Linux News 0 01-07-2010 07:50 AM
ATA 100 HDD reports no DMA Vitalie Ciubotaru Linux - Hardware 2 10-24-2007 02:27 AM
ATA 100 HDD reports no DMA Vitalie Ciubotaru Linux From Scratch 0 08-08-2007 08:56 AM
df reports 100% usage miner49er Debian 2 03-24-2006 06:20 PM
Top reports > 100% Memory use by X sparky6969 Linux - General 2 07-20-2001 10:05 AM


All times are GMT -5. The time now is 12:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration