[FAQ] Re: Free space wierdness

2006-03-04 Thread Dallas Stephens II
 
Were you running as root and downloaded a bunch of large files in your /root
directory? =)
If so you should delete those files and su to your normal user account and
cd to your home directory then downloaded those large, needed files.
 
 
 
On Thu, 5 Feb 2004, Herbert Wolverson wrote:
 
 I have a system running FreeBSD 4.9-RELEASE. It primarily functions as a
firewall and
 router, and is generally pretty lightly loaded (load averages around 0.2).
It
 is a low end system (P200, 64mb RAM, 2 gig hard drive), and is generally
 stable as a rock.
 
 The system has drives setup as follows:
 / 256M (UFS)
 /usr  1.2gb (UFS+Softupdates)
 (/var and /tmp are linked onto /usr/var and /usr/tmp respectively)
 
 This morning I noticed that the / partition was at 108% utilization,
 and df -h looked like this (approximately):
 
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad0s1a   252M   256M  -8M108% /
 
 Oddly, du -h -d1 -x showed only a total of 29Mb used on the partition!
 The output looked like this:
 
 su-2.05b# du -h -d1 -x
  68K./dev
 2.0K./usr
 2.7M./stand
 1.3M./etc
 512B./proc
 4.0M./bin
 542K./boot
 2.0K./mnt
 6.4M./modules
  30K./root
  12M./sbin
 4.0K./tmp
 4.0K./oldvar
  29M.
 
 When I rebooted the system (without deleting any files), df -h showed
 the following:
 
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad0s1a   252M29M   203M12%/
 
 This is good, since the correct amount of free space now shows, and the
 server is back to running perfectly. Can anyone shed any light as to why
 this discrepancy happened in the first place? I'd love to know what I can
do to avoid ever having to worry
 about this again!
 
 Thanks,
 Herbert Wolverson,
 The Turner Stephenson Group, Inc.
 http://www.tsghelp.com/
 ___
 freebsd-questions at freebsd.org
http://lists.freebsd.org/mailman/listinfo/freebsd-questions  mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscribe at
freebsd.org http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
 

 

*   Free
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035019.h
tml  space wierdness   Herbert Wolverson 

*   Free
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035021.h
tml  space wierdness   Nathan C. Burnett 
*   Free
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035024.h
tml  space wierdness   HOLLOW, CHRISTOPHER 
*   [FAQ]
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035034.h
tml  Re: Free space wierdness   Lowell Gilbert 

*   [FAQ]
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035117.h
tml  Re: Free space wierdness   Jerry McAllister 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

~Dallas Stephens 

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[FAQ] Re: Free space wierdness

2006-03-04 Thread Dallas Stephens II
 
Were you running as root and downloaded a bunch of large files in your /root
directory? =)
If so you should delete those files and su to your normal user account and
cd to your home directory then downloaded those large, needed files.
 
 
 
On Thu, 5 Feb 2004, Herbert Wolverson wrote:
 
 I have a system running FreeBSD 4.9-RELEASE. It primarily functions as a
firewall and
 router, and is generally pretty lightly loaded (load averages around 0.2).
It
 is a low end system (P200, 64mb RAM, 2 gig hard drive), and is generally
 stable as a rock.
 
 The system has drives setup as follows:
 / 256M (UFS)
 /usr  1.2gb (UFS+Softupdates)
 (/var and /tmp are linked onto /usr/var and /usr/tmp respectively)
 
 This morning I noticed that the / partition was at 108% utilization,
 and df -h looked like this (approximately):
 
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad0s1a   252M   256M  -8M108% /
 
 Oddly, du -h -d1 -x showed only a total of 29Mb used on the partition!
 The output looked like this:
 
 su-2.05b# du -h -d1 -x
  68K./dev
 2.0K./usr
 2.7M./stand
 1.3M./etc
 512B./proc
 4.0M./bin
 542K./boot
 2.0K./mnt
 6.4M./modules
  30K./root
  12M./sbin
 4.0K./tmp
 4.0K./oldvar
  29M.
 
 When I rebooted the system (without deleting any files), df -h showed
 the following:
 
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad0s1a   252M29M   203M12%/
 
 This is good, since the correct amount of free space now shows, and the
 server is back to running perfectly. Can anyone shed any light as to why
 this discrepancy happened in the first place? I'd love to know what I can
do to avoid ever having to worry
 about this again!
 
 Thanks,
 Herbert Wolverson,
 The Turner Stephenson Group, Inc.
 http://www.tsghelp.com/
 ___
 freebsd-questions at freebsd.org
http://lists.freebsd.org/mailman/listinfo/freebsd-questions  mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscribe at
freebsd.org http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
 

 

*   Free
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035019.h
tml  space wierdness   Herbert Wolverson 

*   Free
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035021.h
tml  space wierdness   Nathan C. Burnett 
*   Free
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035024.h
tml  space wierdness   HOLLOW, CHRISTOPHER 
*   [FAQ]
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035034.h
tml  Re: Free space wierdness   Lowell Gilbert 

*   [FAQ]
http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035117.h
tml  Re: Free space wierdness   Jerry McAllister 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

~Dallas Stephens 

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [FAQ] Re: Free space wierdness

2004-02-06 Thread Jerry McAllister
 
 Herbert Wolverson [EMAIL PROTECTED] writes:
 
  This is good, since the correct amount of free space now shows, and the
  server is back to running perfectly. Can anyone shed any light as to why
  this discrepancy happened in the first place? I'd love to know what I can do to 
  avoid ever having to worry
  about this again!
 
 The du and df commands show different amounts of disk space available. What is 
 going on?
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF
 
 How is it possible for a partition to be more than 100% full?
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL

These two questions are discussed so frequently on this and other lists
that you should be able to get numerous explanations with a small
search on Google and I would be surprised if there were not a FAQ on
this.  So, check the web page.   

Basically, du and df look a slightly different things and there is
a difference between how much root and regular users are allowed to
write to a filesystem.

jerry

 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[FAQ] Re: Free space wierdness

2004-02-05 Thread Lowell Gilbert
Herbert Wolverson [EMAIL PROTECTED] writes:

 This is good, since the correct amount of free space now shows, and the
 server is back to running perfectly. Can anyone shed any light as to why
 this discrepancy happened in the first place? I'd love to know what I can do to 
 avoid ever having to worry
 about this again!

The du and df commands show different amounts of disk space available. What is going 
on?
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF

How is it possible for a partition to be more than 100% full?
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]