From owner-freebsd-stable@FreeBSD.ORG Thu Jul 30 10:00:11 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7688106566B for ; Thu, 30 Jul 2009 10:00:11 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 46FD18FC1A for ; Thu, 30 Jul 2009 10:00:10 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: by ey-out-2122.google.com with SMTP id 9so292913eyd.7 for ; Thu, 30 Jul 2009 03:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YLL7CATotQO1YSjkPkZvBoX5GLZPen2++44bDwjRmWU=; b=jpzYseqU4jYJXx05WKstwLBXC7EaNn6MEiV93uugcNCxTS2I5/48TyBJG/YbLN4QX4 LLABMtOrW7OB6ZA2qxrn6gQ0nn0kB9U9RvUgMFWIXRjrlZc61a5vWkaf+ZkQRmrqctsv Yfy5/CcGTCrW5DLlozbh1yZoDPtah3dfYXLs8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=o53Mz1O3p549n2hWY6gdGHEfENdn+oGkaXqJQ6fOc6D4YABMMpmHCJsXLV+UScq7Ng n8RabHnPYJDsbLL8jp79gT6/xWOFLhcVJIFnK2hMA+9u9jL12GFk23bD0XVgGwL+DoQ0 Myg4ZbqIt8sSOor0y73JibsU2shM7SWyO+ArA= MIME-Version: 1.0 Received: by 10.210.43.10 with SMTP id q10mr1214447ebq.23.1248948010031; Thu, 30 Jul 2009 03:00:10 -0700 (PDT) In-Reply-To: <4A716DE4.4070506@tzim.net> References: <14989d6e0907290025i499c71fbn289b64a7da0e4b97@mail.gmail.com> <4A716DE4.4070506@tzim.net> Date: Thu, 30 Jul 2009 12:00:09 +0200 Message-ID: <14989d6e0907300300x662bce9bgb24ae70e1809ef2d@mail.gmail.com> From: Christian Walther To: Arnaud Houdelette Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, grarpamp Subject: Re: Cannot rm files when ZFS is full X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2009 10:00:12 -0000 2009/7/30 Arnaud Houdelette : > grarpamp a =E9crit : [...] > [carenath] /testpool# rm zero > rm: zero: Disc quota exceeded > > So quota workaround doesn't quite works. > It could possibly be an issue where quota limited users fill up their > allowed space : they can free space by themselves. The idea would be to use quotas to ensure that there is some space left to prevent the rm issue from rendering the pool useless. You need to remove the quotas, remove the data, and set the quotas again afterwards.