From owner-freebsd-fs@FreeBSD.ORG Sat Nov 10 16:11:09 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 09634505 for ; Sat, 10 Nov 2012 16:11:09 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8BB078FC16 for ; Sat, 10 Nov 2012 16:11:08 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jm19so946991bkc.13 for ; Sat, 10 Nov 2012 08:11:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=4oxVVA9i5pahhiX4FSl92+1f85T1RJJE138b5ngj9z8=; b=byR8slOEUVsRbZx+iYbjNnga+/1z6c5DXUHcGG1/EnMDblEsHs1Z3rEhtbWO7PLVfI CMUhC9u9izGh811iXRW41LWjaz0Rm1saVxrkIwDOoZw0UC3wM8h7D+S/k3Eys2VnUm6A X8Cffc0gprYUCz2mSjycP69aGM4w3xG94w5QCSYJuYZLOwUSJBBN3aQAyf6wu+FRJgh9 DheZ0k+kNFVv/UcR6eakqgtZVLcgeaJFuaED2f/7SKqs13gf7lOEoHGQljFjBp7YGpym NQBn0eF3flMTqeyV5G0Rtx0/uctE1GNGXYJ90uyQ0lNYkEvnNP3T1o3vI8yAaxVs78pf z+lg== Received: by 10.204.147.212 with SMTP id m20mr141713bkv.103.1352563867641; Sat, 10 Nov 2012 08:11:07 -0800 (PST) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.50.197 with HTTP; Sat, 10 Nov 2012 08:10:37 -0800 (PST) In-Reply-To: <509E79C7.10300@shatow.net> References: <509E79C7.10300@shatow.net> From: Chris Rees Date: Sat, 10 Nov 2012 16:10:37 +0000 X-Google-Sender-Auth: hIKesCKwI7z3iqrLXLU4UBmzAcU Message-ID: Subject: Re: ZFS can't delete files when over quota To: Bryan Drewery Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-fs@freebsd.org" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 16:11:09 -0000 On 10 November 2012 15:59, Bryan Drewery wrote: > Is this known? > > # pwd > /tank/distfiles/freebsd > # rm -f ./KDE/qt-everywhere-opensource-src-4.7.4.tar.gz > rm: ./KDE/qt-everywhere-opensource-src-4.7.4.tar.gz: Disc quota exceeded > > # zfs list -r tank/distfiles > NAME USED AVAIL REFER MOUNTPOINT > tank/distfiles 10.0G 0 25K /tank/distfiles > tank/distfiles/freebsd 10.0G 0 10.0G /tank/distfiles/freebsd > tank/distfiles/gentoo 80K 0 80K /tank/distfiles/gentoo > > # zfs list -rt snapshot tank/distfiles > no datasets available > > # zfs get -s local all tank/distfiles > NAME PROPERTY VALUE > SOURCE > tank/distfiles quota 10G > local > tank/distfiles sharenfs -maproot=root -network > 10.10.0.0/16 local > tank/distfiles compression off > local > tank/distfiles primarycache metadata > local > tank/distfiles secondarycache metadata > local > tank/distfiles com.sun:auto-snapshot false > local Yes. You can truncate a big file if you find it using dd count=1 then delete it as a workaround. Chris