I have a server using maildir setup, it has a directory with what I believe to have hundreds of thousands of files inside it. I frequently have to kill a find process which gets stuck navigating the directory and so I wanted to delete the directory.
If I try to delete the directory the command runs for about 30 hours and eventually the server gives up and reboots itself.
If needed I can do this offline in a rescue system, so is there a way to fix the directory with the drive unmounted?
If I try to delete the directory the command runs for about 30 hours and eventually the server gives up and reboots itself.
If needed I can do this offline in a rescue system, so is there a way to fix the directory with the drive unmounted?