df: root partition at 108% capacity! Can't find why...

John Brooks john at day-light.com
Wed Jun 15 21:48:22 GMT 2005


check /tmp for files

run:

# cd /
# du -h -d2 | grep M

this will show the total amount of disk usage in MB for files in
directories 2 deep. you should be able to find the big ones from
that (you may have to drill down a tad)

--
John Brooks
john at day-light.com

> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Aaron Gibson
> Sent: Wednesday, June 15, 2005 4:30 PM
> To: SteveW
> Cc: freebsd-questions at freebsd.org
> Subject: Re: df: root partition at 108% capacity! Can't find why...
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> SteveW wrote:
> > Hi All,
> >
> > df: root partition at 108% capacity! Can't find why...
> >
> > After searching google freebsd.org I am no nearing to figuring this out,
> > other than this is a "known" problem. Either I or the system managed to
> > get the root partition back to under 100% but only just... I have looked
> > for any large files that might be taking up space but have yet to locate
> > anything over 3meg.
> >
> > Any suggestions, ideas, thoughts gratefully received.
> >
> > Thanks,
> >
> >
> > Steve
> >
> >
> >
> > INFO:
> > FreeBSD 4.7-RELEASE-p10 / 80gig drive
> >
> > df was: /dev/ad0s1a   252M   250M -18.5M   108%
> >
> > df now:
> > Filesystem    Size   Used  Avail Capacity  Mounted on
> > /dev/ad0s1a   252M   230M   1.8M    99%    /
> > /dev/ad0s1g    29G   2.3G    24G     9%    /home
> > /dev/ad0s1f   3.0G   1.7G   1.0G    62%    /usr
> > /dev/ad0s1e   3.9G    75M   3.5G     2%    /var
> > procfs        4.0K   4.0K     0B   100%    /proc
> >
> > After the cras dmesg was filled with this:
> > pid 8967 (cp), uid 0 on /: file system full
> > pid 8967 (cp), uid 0 on /: file system full
> >
> >
> >
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
>
> The filesystem reserves blocks for the superuser (consult manpage
> for newfs)
>
>      -m free-space
>
> The percentage of space reserved from normal users; the minimum free
> space threshold.  The default value used is defined by MINFREE from
> <ufs/ffs/fs.h>, currently 8%.  See tunefs(8) for more details on how to
> set this option.
>
>
> - --Aaron
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCsJ3pm1yLNDpKjl4RAkkYAKCEj6sFAv43mOPOd7sYnHnR2Dc5YACg8vu9
> foObxS/qd6RHhTz5IijKyAo=
> =xZDl
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list