Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2016 11:39:08 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Murk Fletcher <murk.fletcher@gmail.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: What's taking up all my disk space?
Message-ID:  <20160126113908.4bf3d4a9.freebsd@edvax.de>
In-Reply-To: <CAH=3fONyAy6CA8kGHzyWiiFGk-qA5=fdQVLjoE20dk9OY-OkrQ@mail.gmail.com>
References:  <CAH=3fONyAy6CA8kGHzyWiiFGk-qA5=fdQVLjoE20dk9OY-OkrQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Jan 2016 11:21:25 +0100, Murk Fletcher wrote:
> Hi!
> 
> Woke up to a nasty surprise this morning:
> 
> /: write failed, filesystem is full
> # df -h
> Filesystem         Size    Used   Avail Capacity  Mounted on
> /dev/gpt/rootfs     38G     35G   -7.4M   100%    /
> devfs              1.0K    1.0K      0B   100%    /dev
> fdescfs            1.0K    1.0K      0B   100%    /dev/fd
> linprocfs          4.0K    4.0K      0B   100%    /usr/compat/linux/proc
> 
> I have no idea why this is because I'm only using my FreeBSD VPS to run a
> small Rails app in `/usr/home/`:
> 
> # du -sh /usr/home
> 8.6G    /usr/home
> # du -sh /usr/
>  12G    /usr/
> # du -sh /
>  34G    /
> 
> Maybe there's a way to use `du` to show all files larger than 1GB and then
> pass it on to some other command to sort them by size?

First determine which top-level directory entry is abnormally
huge:

	# du -hs /*

Then narrow down the problem. I suspect /var or /tmp...




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160126113908.4bf3d4a9.freebsd>