ZFS can't delete files when over quota

Bryan Drewery bryan at shatow.net
Sun Nov 11 16:16:38 UTC 2012


On 11/10/2012 11:11 PM, Eitan Adler wrote:
> On 10 November 2012 15:36, Chris Rees <crees at freebsd.org> wrote:
> 
>> These are the reasons I added the -T option, which I realise would
>> have been more correct as -t; it's undesirable to have as default
>> behaviour.  In my patch, errno is tested.
> 
> This only fixes the issue with rm.  Others tools which delete files
> (find(1) for instance) would be left with the same problem. Ideally
> the root cause could fixed, though I imagine this is non-trivial.
> 

Yeah, I agree that just fixing rm(1) to work around a ZFS issue with
unlink(2) is not a good plan.

There are several easy workarounds, that the rm(1) patch is not really
needed.

Bryan


More information about the freebsd-fs mailing list