deleting files when no disk space is available

Michael Neumann mneumann at ntecs.de
Sat Apr 9 09:14:54 PDT 2016



On 04/09/16 18:08, Tomohiro Kusumi wrote:
> If you're using hammer, rm file isn't deleting anything from your
> filesystem capacity.
>
> But aside from the fact rm isn't deleting anything, I think there is a
> bug in ENOSPC handling.
> I've once saw kernel panic soon after hitting ENOSPC.
>
>
> 2016-04-09 22:16 GMT+09:00 Christoph Harder <shadowomf at arcor.de>:
>> Hello,
>>
>> I do have a small problem, I've written a program that filled all available
>> disk space (I know not very smart...).
>> Well now I have a few SQLite database files that I can't get rid of.
>>
>> When executing "rm *" or just calling "rm a.9.db" for a single file I do get
>> the error message "rm: a.9.db: No space left on device".
>> I suspect there is some space required to undo the delete which might
>> require extra space.

"hammer cleanup" or hammer prune[-everything] will help.

Regards,

   Michael



More information about the Users mailing list