尝试umount -f /dev/sda7
按照这里所说的去做sudo e2fsck -C0 -p -f -v /dev/sda7
基于的评论我之前的问题我收到此错误:
root@ubuntu:~# umount -f /dev/sda7
umount: /dev/sda7: not mounted.
root@ubuntu:~# sudo e2fsck -C0 -p -f -v /dev/sda7
/dev/sda7 is in use.
e2fsck: Cannot continue, aborting.
root@ubuntu:~# dmsetup ls
No devices found
也无法通过 GParted 成功检查,如下所示:
还基于这个帖子我没有得到任何输出!:
如果可能的话,让我们定位/识别繁忙的进程,终止该进程,然后卸载 samba 共享以最大限度地减少损害。
lsof | grep '<mountpoint of /dev/sda1>' (or whatever the mounted device is) pkill target_process (kills busy proc. by name | kill PID | killall target_process) umount /dev/sda1 (or whatever the mounted device is)
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/999/gvfs
Output information may be incomplete.
root@ubuntu:~# lsof | grep /dev/sda7
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/999/gvfs
Output information may be incomplete.
也无法/dev/sda7
通过 GParted 格式化:
谢谢。