ZFS can't delete files when over quota

Steven Hartland killing at multiplay.co.uk
Sat Nov 10 23:06:25 UTC 2012


----- Original Message ----- 
From: "Garrett Cooper" <yanegomi at gmail.com>
>> Except this is not about being unable to rm because of EDQUOT (whether
>> ZFS can do something about that or not I have no idea). This is about being
>> able to remove just after truncation, which clearly shows that zfs can in
>> principle remove this file on its own.
>>
> 
>    You're probably right. My guess is that the fix would be to ignore
> EDQUOT in the unlink VOP handler.

The CoW nature of ZFS causes this issue, which is why UFS doesn't have this
problem. Unfortunately given ZFS's snapshots there's no guarantee that
truncating the file will result in enough free space to perform the unlink.

     Regards
     Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-fs mailing list