umount: /storage: target is busy

umount: /storage: target is busy

  • 1,无法卸载挂载的目录

1,无法卸载挂载的目录

# umount /storage
umount: /storage: target is busy
  • 查看挂载目录占用
# lsof /storage/
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/120/gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF      NODE NAME
sleep   53279 root  cwd    DIR   8,16        0 181338113 /storage/script (deleted)
# kill -9 53279
  • 卸载成功
# umount /storage

参考:

  1. Busy Device on Umount

你可能感兴趣的:(linux,linux,umount)