处理未正确卸载的磁盘

时间:2017-01-31 17:17:15

标签: mount umount exfat

我没有正确卸载我挂载的新外部磁盘:

jeremy@jr:~$ sudo mount -t exfat /dev/sdc1 /home/jeremy/exfat
FUSE exfat 1.2.3

现在我被卡住了 -

jeremy@jr:~$ df -h
df: /home/jeremy/exfat: Transport endpoint is not connected
Filesystem      Size  Used Avail Use% Mounted on
udev            3.8G     0  3.8G   0% /dev
tmpfs           765M  9.5M  756M   2% /run
/dev/sda1       213G  200G  2.1G 100% /
tmpfs           3.8G  165M  3.6G   5% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup
cgmfs           100K     0  100K   0% /run/cgmanager/fs
tmpfs           765M  116K  765M   1% /run/user/1000

我无法前进(安装)或后退(卸载) -

jeremy@jr:~$ sudo mount -t exfat /dev/sdc1 /home/jeremy/exfat
FUSE exfat 1.2.3
fuse: failed to access mountpoint /home/jeremy/exfat: Transport endpoint is not connected

mtab文件看起来像

jeremy@jr:~$ more /etc/mtab
....
/dev/sdb1 /home/jeremy/exfat fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0

我对事物的原始把握使我尝试:

jeremy@jr:~$ ls /mnt
sdb1
jeremy@jr:~$ umount /mnt
umount: /mnt: not mounted
jeremy@jr:~$ umount /mnt/sdb1
umount: /mnt/sdb1: not mounted
jeremy@jr:~$ umount /home/jeremy/exfat 
umount: /home/jeremy/exfat: Transport endpoint is not connected

因为磁盘现在出现在/ sdc1之后我拔掉它/重新插入它是徒劳的希望这会清除我试过的/ etc / mtab条目:

jeremy@jr:~$ sudo mount -t exfat /dev/sdc1 /home/jeremy/exfat
FUSE exfat 1.2.3
fuse: failed to access mountpoint /home/jeremy/exfat: Transport endpoint is not connected
是的 - 这比交配狗更糟糕

1 个答案:

答案 0 :(得分:0)

sudo umount -f /home/jeremy/exfat

似乎已经完成了这个伎俩,从os那个方向暗示而不是'未装载'本来就很棒