On Wed, Mar 11, 2009 at 03:23:50PM -0400, jamgill wrote:
> On Wed, Mar 11, 2009 at 3:04 PM, Yuri Pankov <yuri.pan...@gmail.com> wrote:
> 
> > On Wed, Mar 11, 2009 at 02:30:08PM -0400, j. wrote:
> > > Where did my capacity go and how can I get it back?
> > >
> > > deathray# du -sh /var
> > >  70M    /var
> > >
> > >
> > > deathray# df -h /var
> > > Filesystem    Size    Used   Avail Capacity  Mounted on
> > > /dev/da0d     248M    214M     15M    94%    /var
> > >
> > >
> > > Thanks,
> > >
> > > --j.
> >
> > http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF
> >
> >
> 
> Thanks, Yuri.   According to the FAQ you linked, wouldn't a good smattering
> of "sync ; sync ; sync ; sync ; sync" cause the the two to reflect the sizes
> accurately?

This will do nothing if a process has an open file descriptor on a
deleted file. Use fstat(1) or lsof to help hunt down the offending
process.
-- 
Jonathan Chen <j...@chen.org.nz>
----------------------------------------------------------------------
                                             When all else fails, RTFM
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to