Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
每当我重新启动我的 FreeBSD 系统时,我都必须登录到我的其中一个监狱以使用 zfs mount 手动安装文件系统。该分区具有jailed zfs 属性。监狱由 ezjail 管理,但监狱本身都在 ufs 分区上。数据集列在监狱的 ezjail 配置文件中。
问题是,在 rc 脚本完成后,数据集仅附加到监狱。所以监狱中的 zfs rc 脚本找不到数据集,因此无法挂载它。
一旦 rc.d/jail 脚本了解了数据集,就可以在监狱创建之后但执行之前附加数据集。