Mount is denied because the NTFS volume is already exclusively opened. The volume may be already mou
Mount is denied because the NTFS volume is already exclusively opened.The volume may be already mounted, or another software may use it which could be identified for example by the help of the 'fuser' command.
我在掛載NTFS文件系統的移動硬盤時輸入sudo mount /dev/sdb1 /mnt/sdb 時出現了以上的錯誤,通過錯誤語句的輸出可以知道NTFS卷被拒絕是因為已經執行打開,可能已經被掛載或者有應用程序正在使用它,可以使用fuser命令顯示正在使用指定的file,file system或者socket的進程信息。
如#fuser -m -u /dev/sdb1 使用-m -u顯示正在使用/dev/sdb1的進程PID以及用戶名稱,如我輸入上述命令后顯示的情況
表明是PID為31301的進程正在使用它,如果命令為fuser -m -u /deev/sdb1,那么顯示為/dev/sdb1: 31301(root)表示root用戶的31301進程正在使用/dev/sdb1,可以使用kill命令殺死該進程,kill 31301,此時在使用mount命令就不會出錯了