No. You can however add a ZFS filesystem, they will happily live next to each other.bryn1u said:Is that possible to make a jail using ZFS when I have UFS on base system?
No. Not with UFS. You will have to make the partition ZFS (freebsd-zfs instead of freebsd-ufs). You can mount the ZFS filesystem on /usr/jail if you want.I've made partition for jail /usr/jail - UFS, is there any way to make this jail on ZFS?
# umount /usr/jail
# zpool create data ada0p3
# zfs create -o mountpoint=/usr/jail -o compress=lz4 data/jail
# zfs create data/jail/somejailname (--this will inherit mountpoint and so mount on /usr/jail/somejailname--)
mount.Filesystem Type Size Used Avail Capacity Mounted on
/dev/ada0s1a ufs 19G 443M 17G 2% /
devfs devfs 1.0K 1.0K 0B 100% /dev
/dev/ada0s1d ufs 968M 48K 891M 0% /root
/dev/ada0s1e ufs 19G 33M 17G 0% /var
/dev/ada0s1f ufs 9.5G 12K 8.7G 0% /var/tmp
/dev/ada0s1g ufs 38G 505M 34G 1% /usr
/dev/ada0s1h ufs 9.5G 8.0K 8.7G 0% /usr/home
/dev/ada0s2a ufs 351G 8.0K 323G 0% /jails
procfs procfs 4.0K 4.0K 0B 100% /proc
umount /jails
zpool create data ada0s2a
zfs create -o mountpoint=/jails -o compress=lz4 data/jails
zfs create data/jail/jail1