QuestionQ10

Troubleshooting

An administrator sees the following output when trying to unmount a filesystem: umount /data1: target is busy.

Which command should the administrator run next to find out why the filesystem is busy?

  • A ps -f /data1
  • B du -sh /data1
  • C top -d /data1
  • D lsof | grep /data1
Explanation

lsof lists files that processes have open. Filtering its output for /data1 reveals processes using files within that mount point, which can prevent the filesystem from being unmounted.

Community Discussion

No comments yet. Be the first to start the discussion!