ZFS How to create users with zfs datasets (also in jails)?

I am researching idea how to make a ZFS home for users inside jails with quotas.

I found some old reference with an idea for /etc/adduser.conf with
Code:
zfshome=yes
zfshome_dataset=zroot/usr/home
zfshome_properties=compress=lz4,quota=2G
or by doing by command line -z /zroot/usr/home

Unfortunately, this idea was revoked: https://reviews.freebsd.org/D2272#change-1RnN8q4JHB1z
and did not find anything else about it really.

Now level up. I would like to make this happen inside a jail system.

Any opinions/ideas what would be the best approach for this problem? Maybe it just does not make sense.
 
Back
Top