CompTIA
XK0-006 · Question #71
An administrator receives the following output while attempting to unmount a filesystem: umount /data1: target is busy. Which of the following commands should the administrator run next to determine…
The correct answer is D. lsof | grep /data1. The lsof command lists open files and the processes using them. Running lsof | grep /data1 will show which processes are keeping the /data1 filesystem busy, preventing it from being
Troubleshooting
Question
An administrator receives the following output while attempting to unmount a filesystem:
umount /data1: target is busy. Which of the following commands should the administrator run next to determine why the filesystem is busy?
Options
- Aps -f /data1
- Bdu -sh /data1
- Ctop -d /data1
- Dlsof | grep /data1
How the community answered
(46 responses)- A4% (2)
- B2% (1)
- C2% (1)
- D91% (42)
Explanation
The lsof command lists open files and the processes using them. Running lsof | grep /data1 will show which processes are keeping the /data1 filesystem busy, preventing it from being
Topics
#lsof#filesystem busy#open files#umount
Community Discussion
No community discussion yet for this question.