Sign in

← Software

Dataset delegation: zones vs jails vs Linux namespaces

titleDataset delegation: zones vs jails vs Linux namespaces
recommendationinclude
directionboth-differ
areaintegration
feature flag
openzfs version2.2.0
summaryillumos delegates datasets to zones (zonecfg add dataset; zoned property; zone_dataset_visible). OpenZFS has 'zfs jail/unjail' (FreeBSD) and, since 2.2.0, 'zfs zone/unzone', which attach a dataset to a Linux user namespace (nsfile). Same idea, different kernel primitives.
impactSolnix zones are the original model and work at the pin. Note that 'zfs zone' means something different on OpenZFS.
whyKeep illumos semantics; do not port the Linux 'zfs zone' verb.
effortsmall
sourceshttps://github.com/openzfs/zfs/commit/4ed5e25074ffec266df38556d9b3a928c5e0dee9
https://github.com/illumos/illumos-gate/blob/ac45d71fc2b04a5422e72a14b54dd1e746e7be07/usr/src/common/zfs/zfs_prop.c
https://github.com/openzfs/zfs/blob/c913da86156eba3243cc1ef515e98d69887654a7/man/man8/zfs-zone.8

What Solnix has done

No decision yet: open for ranking.

Objections (0)

None.

Sign in to object to this item.