Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2009 18:48:07 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        mister.olli@googlemail.com
Cc:        freebsd-current@freebsd.org
Subject:   Re: Unable to delete files on ZFS volume
Message-ID:  <790a9fff0906201648t783c4702pcfa25840c0958b6e@mail.gmail.com>
In-Reply-To: <1245519413.26909.60.camel@phoenix.blechhirn.net>
References:  <1245519413.26909.60.camel@phoenix.blechhirn.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 20, 2009 at 12:36 PM, Mister Olli<mister.olli@googlemail.com> wrote:
> Hi,
>
> after filling up a ZFS volume until the last byte, I'm unable to delete
> files, with error 'No space left on the device'.
>
I had this problem once, and was able to solve it by using:

cat /dev/null > /path/to/file/to/remove

This truncated the file to 0, and then I was able to remove it.

Scot



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