Hands-on task
File deleted, but space not freed
The log /var/log/svc/big.log was deleted and the directory is empty — but the disk space wasn't freed: some process still holds the file open. Several background workers are running on the server, and the process list doesn't show which of them is to blame. Find the PID of the process holding the deleted file, write it (just the number) to /root/holder.txt, and stop only that process — so the space comes back and the other workers keep running.
- /proc/PID/fd
- file descriptors
- deleted files
- kill
- freeing disk space