Can't open /dev/sdb1 exclusively. Mounted filesystem?
时间: 2024-01-05 11:03:02 浏览: 223
Ubuntu18.04挂载新的硬盘到文件管理系统中 wrong fs type, bad option, bad superblock on /dev/sdb
This error message typically indicates that the device /dev/sdb1 is currently mounted and in use by another process or program.
To resolve this issue, you can try unmounting the filesystem first using the following command:
```umount /dev/sdb1```
If the device is still in use, you can use the `fuser` command to identify the process or program that is currently using the device and terminate it.
```fuser -m /dev/sdb1```
Once you've identified the process or program, you can terminate it using the `kill` command followed by the process ID (PID).
```kill -9 <PID>```
After terminating the process or program, you should be able to open /dev/sdb1 exclusively without any issues.
阅读全文