ZFS can't delete files when over quota
Chris Rees
utisoft at gmail.com
Sat Nov 10 20:03:03 UTC 2012
On 10 Nov 2012 19:48, "Mateusz Guzik" <mjguzik at gmail.com> wrote:
>
> On Sat, Nov 10, 2012 at 01:21:38PM -0600, Bryan Drewery wrote:
> > On 11/10/2012 12:55 PM, Chris Rees wrote:
> > > Bryan,
> > >
> > > Please try the patch at [1]; if it works I'll document it.
> > >
> > > Chris
> > >
> > > [1] http://www.bayofrum.net/~crees/patches/bdrewery.diff
> > >
> >
> > Hmm, I'm not a fan of -T. I think it should just work out-of-the-box
here.
> >
> > Something like:
> >
> > http://people.freebsd.org/~bdrewery/rm-quota.txt
> >
>
> I think this approach is incorrect.
>
> If you cannot rm $file due to EDQUOT, but truncate $file && rm $file
> works (and both patches try to do this), then I think this is a
filesystem bug.
Quite right, but this has been a known issue in ZFS for a while, without a
forthcoming fix.
I'll do some grovelling in the zfs code tomorrow, wish me luck-- I don't
expect to be productive.
Chris
More information about the freebsd-fs
mailing list