Mount

Cryptmount-setup 不工作

  • September 17, 2018

當我嘗試使用 cryptmount-setup 設置加密時,它只是返回而沒有任何回饋。它甚至沒有創建crypto.fs文件。我執行了命令:cryptmount nextcloud_datacryptmount -l顯示創建目標顯然不成功,如下所示。

------------------------------
Your filing system is now ready to be built - this will involve:
- Creating the directory "/media/nextcloud_data"
- Creating a 2700000MB file, "/media/hdd_3tb/crypto.fs"
- Adding an extra entry ("nextcloud_data") in /etc/cryptmount/cmtab
- Creating a key-file ("/etc/cryptmount/nextcloud_data.key")
- Creating an ext3 filingsystem on "/media/hdd_3tb/crypto.fs"
If you do not wish to proceed, no changes will be made to your system.

 Please confirm that you want to proceed (enter "yes")
 [no]: yes
Making mount-point (/media/nextcloud_data)... done
Creating filesystem container (/media/hdd_3tb/crypto.fs)...~ $
~ $
~ $
~ $ cryptmount nextcloud_data
   Target name "nextcloud_data" is not recognized
~ $ cryptmount -l
~ $

我已經減小了加密文件的大小,以確保這不是問題。關於這個問題的任何想法?

Cryptmount-setup 嘗試寫入以只讀模式掛載的分區,這就是該命令意外退出的原因。

引用自:https://unix.stackexchange.com/questions/469363