Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recovering disk space from deleted file



On Mon, Dec 20, 2010 at 1:16 PM, Matt Shields <matt-urrlRJtNKRMsHrnhXWJB8w at public.gmane.org> wrote:

> I've come across this situation one other time but can't remember how I
> fixed it.
>
> There's a Jetty/Java process that had a 19GB log file.  I stopped the
> process, mv the jetty.log to jetty.log.old, started the jetty process again.
>  Then I deleted the file.  DF and DU still says that the space is still
> being take up, but checking the directory the file is gone and checking lsof
> I don't see the file being accessed, so it had to have been deleted.
>
> -matt
>

Nevermind, the file is in fact deleted and freed the space.  Seems that one
of the other sysadmin's installed VirtualBox on this servers, so the
.VirtualBox folder was consuming almost the same amount of disk space that
the log file was using.

-matt





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org