unmount a busy drive

"target is busy": something still uses the drive. Find it, stop it, then unmount.

disks

steps
  1. sudo lsof +f -- /mnt/point

    the open files on it, and their programs

  2. sudo fuser -vm /mnt/point

    the programs using it

  3. cd ~

    your own shell may be the one inside it

  4. sudo umount /mnt/point

    unmount it

  5. sudo umount -l /mnt/point

    lazy: detach it now, finish when nothing uses it

commands used

lsoffuserumount

Each has a page in lore: lore lsof opens it.