简体   繁体   English

处理未正确卸载的磁盘

[英]deal with an improperly unmounted disk

I didn't properly unmount a new external disk which I mounted like: 我没有正确卸载新装入的外部磁盘,如下所示:

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

and now I am stuck - 现在我被困住了-

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

I can't go forward (mounting) or backward (unmounting) - 我无法前进(安装)或后退(卸下)-

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

the mtab file looks like 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

my primitive grasp of matters led me to try: 我对事物的原始理解使我尝试:

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

since the disk now appears at /sdc1 after i unplugged/replugged it in the vain hopes that that would clear the /etc/mtab entry I tried: 因为在我拔出/重新插入磁盘后,磁盘现在显示在/ 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

yeesh - this is worse than mating dogs yeesh-这比交配的狗还糟

sudo umount -f /home/jeremy/exfat

似乎已经解决了问题,从os而不是“未安装”的方向提示可能很棒

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM