当我尝试使用 cryptmount-setup 设置加密时,它只是返回而没有任何反馈。它甚至没有创建crypto.fs
文件。我运行命令:cryptmount nextcloud_data
并cryptmount -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 尝试写入以只读模式安装的分区,这就是命令意外退出的原因。