\build directory full?

Sepherosa Ziehau sepherosa at gmail.com
Wed Jul 6 18:32:59 PDT 2016


On Thu, Jul 7, 2016 at 6:27 AM, Andrew Slaughter
<andrew.slaughter at gmail.com> wrote:
> I just tried to update to the current master, and the build failed with
> messages about having no space left on /usr/obj.
>
> df -h shows me the following (apologies for horrible formatting):
>
> Filesystem  Size Avail Mounted on
> ROOT 406G 324G /
> devfs 1.0K 0B /dev
> /dev/serno/S..... 1.0G 527M /boot
> BUILD 19G 0B /build
> /build/usr.obj 19G 0B /usr/obj
> /build/var.crash 19G 0B /var/crash
> /build/var.cache 19G 0B /var/crash
> /build/var.var.spool 19G 0B /var/crash
> /build/var.log 19G 0B /var/crash
> /build/var.tmp 19G 0B /var/crash
> tmpfs 7.7G 7.7G /tmp
> procfs 4.0K 0B /proc
>
> Right now, I can't even start X (because it can't rename/move the old X log
> file). Any advice?
>

Try:
hammer -F prune-everything /usr/obj

And probably other directory.  BTW, if you don't keep you machine
running for >=24hours, I'd suggest to move the hammer cleanup to the
noon.

Thanks,
sephe

-- 
Tomorrow Will Never Die


More information about the Users mailing list