Date: Sun, 21 Jun 2009 11:27:37 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-current@freebsd.org Cc: Scot Hetzel <swhetzel@gmail.com>, mister.olli@googlemail.com Subject: Re: Unable to delete files on ZFS volume Message-ID: <200906211127.53136.doconnor@gsoft.com.au> In-Reply-To: <790a9fff0906201648t783c4702pcfa25840c0958b6e@mail.gmail.com> References: <1245519413.26909.60.camel@phoenix.blechhirn.net> <790a9fff0906201648t783c4702pcfa25840c0958b6e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart2865420.RJGz7I6icA Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sun, 21 Jun 2009, Scot Hetzel wrote: > On Sat, Jun 20, 2009 at 12:36 PM, Mister=20 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. BTW there is the truncate utility - it would have the same effect but=20 truncate is simpler to run via sudo ;) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart2865420.RJGz7I6icA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iD8DBQBKPZOh5ZPcIHs/zowRAidFAKCK5hpYNzHOC4HgBPgy4oDN2jkqMwCfcwBD kHl5xooBOmRThZRShXYzR0w= =uH/Y -----END PGP SIGNATURE----- --nextPart2865420.RJGz7I6icA--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906211127.53136.doconnor>