使用umount提示target is busy
-
- 帖子: 18
- 注册时间: 2018-08-21 22:31
- 系统: ubuntu18.04.1LTS
使用umount提示target is busy
登陆系统后,在图形界面的终端输入sudo umount /dev/sda9后,提示taget is busy。要如何解决?
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 使用umount提示target is busy
https://blog.longwin.com.tw/2008/11/deb ... busy-2008/
Linux: umount 時 出現 "Device is busy" 的解法
https://stackoverflow.com/questions/787 ... usy-device
Umount a busy device
使用 target 搜尋
Linux: umount 時 出現 "Device is busy" 的解法
https://stackoverflow.com/questions/787 ... usy-device
Umount a busy device
使用 target 搜尋
-
- 帖子: 18
- 注册时间: 2018-08-21 22:31
- 系统: ubuntu18.04.1LTS
Re: 使用umount提示target is busy
使用sudo fuser -m /tmp后,出现poloshiao 写了: ↑2018-08-24 9:19 https://blog.longwin.com.tw/2008/11/deb ... busy-2008/
Linux: umount 時 出現 "Device is busy" 的解法
https://stackoverflow.com/questions/787 ... usy-device
Umount a busy device
使用 target 搜尋
/tmp: 13696 13718m 13951 13974 14067
关闭进程 sudo kill -9 13696后,图形界面会重启。
然后使用sudo umount /dev/sda9,还是会出现target is busy的提示
我的硬盘里/dev/sda9分区是挂载在/tmp目录的
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 使用umount提示target is busy
1. 是在 /dev/fstab 掛載 還是 下指令掛載 ?我的硬盘里/dev/sda9分区是挂载在/tmp目录的
1-1. 為何要掛載在 /tmp ?
這有許多限制
1-2. 如果不是掛載 系統目錄 那麼 試試 掛載在 /mnt/mydisk # mydisk 你可以自己命名
sudo mkdir /mnt/mydisk
sudo mount /dev/sda9 /mnt/mydisk
sudo umount /dev/sda9
以上 適用於 ext2, ext4
-
- 帖子: 18
- 注册时间: 2018-08-21 22:31
- 系统: ubuntu18.04.1LTS
Re: 使用umount提示target is busy
装系统时分区/dev/sda9,并设置挂载在/tmp,系统装好以后,挂载信息就写进/etc/fstab中了
挂/tmp纯属入坑
恩,用老兄的这个方法可行,现在可以umount了