Urgent: filesystem "full", though space is available

Erwan David erwan at rail.eu.org
Mon Mar 17 17:11:50 UTC 2008


Le Mon 17/03/2008, Bill Moran disait
> In response to Dan Nelson <dnelson at allantgroup.com>:
> 
> > In the last episode (Mar 17), Bill Moran said:
> > > In response to "Armando Cambra" <acambra at gmail.com>:
> > > 
> > > > Or try to find the culprit with lsof (can't remember the options).
> > > > You will see some processes using files you don't have --> kill
> > > > that process and your space will be freed.
> > > 
> > > You can also use fstat if you don't wan to install Linux software on your
> > > BSD system.
> > 
> > The l in lsof doesn't stand for Linux :)  lsof is bsd-licensed
> > actaully.
> 
> True, but not my point.
> 
> lsof is like wget ... it's built into almost every Linux distro.  Thus
> you see lots of people suggesting your install lsof and wget on BSD
> systems with no mention of fstat and fetch.  Even if lsof is BSD
> licensed, it's really a Linux program on account of how it's used.
> 
> fstat, in particular, is just as useful as lsof in every case I've needed
> it.

I use lsof to get the list of removed files still open (lsof +L1,
useful after a port upgrade to check wether all upgraded daemons
indeed restarted). It seems it's not possible with fstat.

-- 
Erwan


More information about the freebsd-questions mailing list