Could not delete old files in /usr/obj

Sayed Mohammad Badiezadegan mbzadegan at gmail.com
Fri Jun 27 18:22:40 PDT 2025


Thank you Michael,

I followed your suggestions, and it worked due to my attached screenshot.

Thank you Gonzalo Raúl Nemmi for your suggestion too.

On Fri, Jun 27, 2025 at 4:49 PM Michael Neumann <mneumann at ntecs.de> wrote:

> Hammer filesystem is Copy on Write (Cow). It does not delete files
> immediately.   Deleting a file will change the directory entry and create a
> new copy of the directory. This requires disk space.
>
> Try running "hammer2 cleanup". Maybe you need to run it twice, that's what
> I am doing, though I am not sure if this is strictly required.
>
> Regards,
>
> Michael
>
>
> Am 27. Juni 2025 16:33:18 GMT-06:00 schrieb Sayed Mohammad Badiezadegan <
> mbzadegan at gmail.com>:
>
>>
>>
>> On Fri, Jun 27, 2025 at 3:32 PM Sayed Mohammad Badiezadegan <
>> mbzadegan at gmail.com> wrote:
>>
>>> Hi Folks,
>>>
>>> I could not remove all of my files in */usr/obj *by *rm -rf /usr/obj/**
>>> due to the attached screenshot.
>>>
>>> I also check my space with the* df -h* command as well.
>>>
>>> How can I resolve this issue?
>>>
>>> Thank you,
>>>
>>>
>>>
>>> --
>>> ----------------------------------------------------
>>> *~ Sayed*
>>> *M.Sc. Cryptography*
>>> *FortranBSD maintainer* <https://fortranbsd.sourceforge.io/>
>>> *ResearchGate profile:*
>>>
>>> *Abbotsford, BC, Canada*
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20250627/39401675/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2025-06-27 182027.jpg
Type: image/jpeg
Size: 70516 bytes
Desc: not available
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20250627/39401675/attachment-0001.jpg>


More information about the Users mailing list