bsdci / libioc

A Python library to manage jails with ioc{age,ell}
https://bsd.ci/libioc
Other
38 stars 11 forks source link

disable creation of ZFS basejail assets by default #672

Closed gronke closed 5 years ago

gronke commented 5 years ago

fixes #542

iocage_legacy basejails are created by cloning a dataset for each basejail_dir from /iocage/base/<RELEASE>/<BASEJAIL_DIR> into the jail. Due to performance reasons and the additionally created ZFS datasets this method was replaced by NullFS mounts in python-iocage.

Compatibility with iocage_legacy requires the ZFS release bases to be updated on each release modification, which doubles the required space and also slows down release operations.

Users who require this feature may enable it in /etc/rc.conf:

sysrc ioc_legacy_support="YES"