From owner-freebsd-stable@FreeBSD.ORG Thu Jul 30 11:52:14 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 5D4C81065670 for ; Thu, 30 Jul 2009 11:52:14 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward3.yandex.ru (forward3.yandex.ru [77.88.46.8]) by mx1.freebsd.org (Postfix) with ESMTP id 13C738FC0A for ; Thu, 30 Jul 2009 11:52:14 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp4.yandex.ru (smtp4.yandex.ru [77.88.46.104]) by forward3.yandex.ru (Yandex) with ESMTP id 7E38C1190ED3; Thu, 30 Jul 2009 15:30:18 +0400 (MSD) Received: from [127.0.0.1] (unknown [188.128.19.1]) by smtp4.yandex.ru (Yandex) with ESMTPSA id 37BD5D3010A; Thu, 30 Jul 2009 15:30:18 +0400 (MSD) Message-ID: <4A718443.4020200@yandex.ru> Date: Thu, 30 Jul 2009 15:30:11 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Arnaud Houdelette References: <14989d6e0907290025i499c71fbn289b64a7da0e4b97@mail.gmail.com> <4A716DE4.4070506@tzim.net> In-Reply-To: <4A716DE4.4070506@tzim.net> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Yandex-TimeMark: 1248953418 X-Yandex-Spam: 1 X-Yandex-Front: smtp4.yandex.ru 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 11:52:14 -0000 Arnaud Houdelette wrote: > [carenath] /testpool# zfs list -r -o name,used,avail,refer,quota testpool > NAME USED AVAIL REFER QUOTA > testpool 156M 0 156M 156M > testpool@test 22.6K - 153M - > [carenath] /testpool# ll -h > total 159295 > -rw-r--r-- 1 root wheel 15M Jul 30 11:29 random > -rw-r--r-- 1 root wheel 61M Jul 30 11:35 random2 > -rw-r--r-- 1 root wheel 77M Jul 30 11:37 zero > -rw-r--r-- 1 root wheel 2.6M Jul 30 11:44 zero2 > [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. Just try to use refquota instead of quota property. Also you can use both quota and refquota (should be smaller that quota). -- WBR, Andrey V. Elsukov