Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2012 16:10:37 +0000
From:      Chris Rees <crees@FreeBSD.org>
To:        Bryan Drewery <bryan@shatow.net>
Cc:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>
Subject:   Re: ZFS can't delete files when over quota
Message-ID:  <CADLo83-mZ0v=zXJnHF01%2BtOvCtBWtrOTZpcd-V%2BWTF7qXNMJUg@mail.gmail.com>
In-Reply-To: <509E79C7.10300@shatow.net>
References:  <509E79C7.10300@shatow.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10 November 2012 15:59, Bryan Drewery <bryan@shatow.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83-mZ0v=zXJnHF01%2BtOvCtBWtrOTZpcd-V%2BWTF7qXNMJUg>