A system administrator is troubleshooting a server where the /var partition is full, causing services to fail. The administrator deletes old log files in /var/log, but the available space does not increase. Which step should be taken next?
Trap 1: Run 'sync; echo 3 > /proc/sys/vm/drop_caches' to clear cache.
Clearing cache frees memory, not disk space.
Trap 2: Remount the /var partition with the 'noatime' option.
noatime reduces metadata updates but does not free space.
Trap 3: Run 'df -i' to check inode usage.
Inode exhaustion is a different issue; space is still consumed by open file handles.
- A
Run 'sync; echo 3 > /proc/sys/vm/drop_caches' to clear cache.
Why wrong: Clearing cache frees memory, not disk space.
- B
Remount the /var partition with the 'noatime' option.
Why wrong: noatime reduces metadata updates but does not free space.
- C
Use 'lsof /var/log' to find processes holding deleted file handles, then restart those processes.
Deleted files remain until all file handles are closed; lsof identifies the processes.
- D
Run 'df -i' to check inode usage.
Why wrong: Inode exhaustion is a different issue; space is still consumed by open file handles.