deleting files when no disk space is available

Christoph Harder shadowomf at arcor.de
Sat Apr 9 09:47:08 PDT 2016


Hello,

yes, that did the job. Thank you.

Best regards,
Christoph

Am 09.04.2016 um 18:14 schrieb Michael Neumann:
>
>
> 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