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

Re: 100% used / file system. Help!



On Tue, Sep 20, 2011 at 03:31:26PM +0100, Lisi wrote:
>    I have accidentally filled something, that I shouldn't have,  on my root
>    directory, and have now got a 100% usage of the disk containing my /. This
>    is causing me problems. (Now there's a surprise!!)
> 
>    I have no backup of my /. Yes, I know. I deserve everything I've got. But
>    now that I have been given my just deserts, can any kind soul come to my
>    rescue? I would be so grateful.... I may, of course, just have to
>    reinstall. :-(
> 
>    Lisi

You should be able to find the largest files on your filesystem by
running the following command:

 find / -xdev -exec stat --printf '%s\t%N\n' {} \;|sort -n

It will probably take a few minutes to execute, but you should get back
a list of files, sorted by size, the last few files being the largest.


-- 
Darac Marjal

Attachment: signature.asc
Description: Digital signature


Reply to: