Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 30th July 2008
tsan tsan is offline
Real Name: Tom
New User
Join Date: Jul 2008
Location: Perth WA
Posts: 1
Question Missing hard drive space. df and du can't agree

Hi I have been searching for the 'lost' hard drive space on the root partition of one of my servers.
6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5
When I peform a df -h for the root partition I get this
gol-goroth# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 496M 453M 3.2M 99% /

Using the du -xh / | grep M command I get the output of

1.0M ./etc/rc.d
4.2M ./etc
19M ./boot/kernel
19M ./boot
3.5M ./lib
4.0M ./sbin
33M .

This would indicate that the / partition has 33mb of data on it. What I don't understand is why there is a difference between the 2 commands. When I try and copy data onto the / partition I get an error that it is out of space. I have only included the du output of M as the complete listing results in 33Mb being used.

Is there anything I have potentially missed ?

Any suggestions would be appreciated.
Reply With Quote

diskspace, missing

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
no space left on drive while installing? knasbas OpenBSD Installation and Upgrading 2 20th July 2009 09:50 PM
Disk space gone missing EricM FreeBSD General 0 26th February 2009 02:25 AM
Did I fry my hard drive? JMJ_coder General Hardware 7 23rd December 2008 10:38 PM
CF as a *BSD hard drive? JMJ_coder General Hardware 26 31st July 2008 05:13 PM
Strange reporting on space missing. aleunix OpenBSD Packages and Ports 0 11th June 2008 08:34 AM

All times are GMT. The time now is 06:14 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick