From owner-freebsd-jail@FreeBSD.ORG Thu Feb 9 18:40:43 2012 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5E9E1065672 for ; Thu, 9 Feb 2012 18:40:43 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from poshta.pknet.net (poshta.pknet.net [216.241.167.213]) by mx1.freebsd.org (Postfix) with ESMTP id A8A438FC16 for ; Thu, 9 Feb 2012 18:40:43 +0000 (UTC) Received: from poshta.pknet.net (localhost [127.0.0.1]) by poshta.pknet.net (Postfix) with ESMTP id A099216466; Thu, 9 Feb 2012 11:20:44 -0700 (MST) Received: from poshta.pknet.net ([127.0.0.1]) by poshta.pknet.net (poshta.pknet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jto_lFPEjFlC; Thu, 9 Feb 2012 11:20:39 -0700 (MST) Received: from pop.pknet.net (localhost [127.0.0.1]) by poshta.pknet.net (Postfix) with ESMTP id 0CA4616006; Thu, 9 Feb 2012 11:20:39 -0700 (MST) Received: from 74.63.162.21 (SquirrelMail authenticated user fbsdq@peterk.org) by pop.pknet.net with HTTP; Thu, 9 Feb 2012 11:20:39 -0700 Message-ID: <17d39c292fb307c3e07a01dbe3992bf3.squirrel@pop.pknet.net> In-Reply-To: References: <4F33EA27.8090405@quip.cz> Date: Thu, 9 Feb 2012 11:20:39 -0700 From: "Peter" To: "Bender, Chris" User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-jail@freebsd.org Subject: Re: File system issue [was Re: jails] X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2012 18:40:43 -0000 > > On Feb 9, 2012, at 10:46 AM, "Miroslav Lachman" <000.fbsd@quip.cz> wrote: > >>> Hi Greg, >>> >>> I am having an issue with one of my jailed systems. It has run out of >>> space. I have identified many files to delete but I can not >>> Delete the files as the system comes back with "No Space available". I >>> tried to delete them from the host system as well but I get >>> The same system issue. How does one delete files or free up space? >> >> What version you are running? (uname -a) >> Are you using ZFS or UFS? >> If ZFS, do you have some snapshots of given filesystem? If yes, then you >> must firstly delete some snapshots to get some free space. With >> snapshot, the deleted file needs additional space to alocate in last >> snapshot. >> >> Miroslav Lachman > I am running 8.2 and I am also running ZFS. I have no snapshots as I have > deleted them all. Still need more space. > > Thanks > > Sent from my iPhone What if you null out the files? ":> file.to.delete" or "echo > file.to.delete" ? If that works, can you then 'rm' them? ]Peter[