From owner-freebsd-current@FreeBSD.ORG Sun Jun 21 01:58:13 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C1651065679 for ; Sun, 21 Jun 2009 01:58:13 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id A18A68FC1C for ; Sun, 21 Jun 2009 01:58:11 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp121-45-137-119.lns11.adl6.internode.on.net [121.45.137.119]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n5L1w9bs068130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 21 Jun 2009 11:28:09 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Sun, 21 Jun 2009 11:27:37 +0930 User-Agent: KMail/1.9.10 References: <1245519413.26909.60.camel@phoenix.blechhirn.net> <790a9fff0906201648t783c4702pcfa25840c0958b6e@mail.gmail.com> In-Reply-To: <790a9fff0906201648t783c4702pcfa25840c0958b6e@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2865420.RJGz7I6icA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200906211127.53136.doconnor@gsoft.com.au> X-Spam-Score: -1.257 () AWL,BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: Scot Hetzel , mister.olli@googlemail.com Subject: Re: Unable to delete files on ZFS volume X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2009 01:58:13 -0000 --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 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--