Page MenuHomeDevCentral

Create home directories as ZFS filesystems
ClosedPublic

Authored by dereckson on Nov 4 2018, 16:45.

Details

Summary

When a server uses a ZFS tank, each home directory is a separate
ZFS filesystem. A comprehensive set of permissions give full
control to the user to create other datasets, snapshots,
send and receive them.

Fixes T1313.

Test Plan

Tested on Ysul

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dereckson requested review of this revision.Nov 4 2018, 16:45
dereckson created this revision.
dereckson accepted this revision.Nov 4 2018, 16:46
This revision is now accepted and ready to land.Nov 4 2018, 16:46
dereckson planned changes to this revision.Nov 4 2018, 16:47

FreeBSD uses /usr/home, but other OSes can directly use /home instead (e.g. Linux).

dereckson updated this revision to Diff 5000.Nov 4 2018, 16:53

Allow to replace /usr/home by /home

This revision is now accepted and ready to land.Nov 4 2018, 16:53
dereckson updated this revision to Diff 5001.Nov 4 2018, 16:54

Don't hardcore arcology as tank name

dereckson updated this revision to Diff 5006.Nov 4 2018, 18:00

tank → zfs_tank

dereckson updated this revision to Diff 5009.Nov 4 2018, 18:12

zfs allow should occur when user is created

dereckson updated this revision to Diff 5010.Nov 4 2018, 18:27

Use require to set order, remerge zfs blocks (require can solve the state order, previous require block was an onchanges actually)

dereckson accepted this revision.Nov 4 2018, 18:29
This revision was automatically updated to reflect the committed changes.