Page MenuHomeDevCentral

Create home directories as ZFS filesystems
ClosedPublic

Authored by dereckson on Nov 4 2018, 16:45.
Tags
None
Referenced Files
F3752355: D1980.id.diff
Sun, Nov 17, 18:32
F3752287: D1980.diff
Sun, Nov 17, 18:04
Unknown Object (File)
Tue, Nov 12, 05:13
Unknown Object (File)
Mon, Nov 11, 17:12
Unknown Object (File)
Mon, Nov 11, 16:40
Unknown Object (File)
Mon, Nov 11, 14:03
Unknown Object (File)
Mon, Nov 11, 13:19
Unknown Object (File)
Mon, Nov 11, 13:12
Subscribers
None

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
Lint Passed
Unit
No Test Coverage
Branch
zfs-user (branched from master)
Build Status
Buildable 3089
Build 3337: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Nov 4 2018, 16:46

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

Allow to replace /usr/home by /home

This revision is now accepted and ready to land.Nov 4 2018, 16:53

Don't hardcore arcology as tank name

zfs allow should occur when user is created

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

This revision was automatically updated to reflect the committed changes.