Page MenuHomeDevCentral

Create home directories as ZFS filesystems
ClosedPublic

Authored by dereckson on Nov 4 2018, 16:45.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 17:27
Unknown Object (File)
Sat, Dec 14, 17:12
Unknown Object (File)
Fri, Dec 13, 07:41
Unknown Object (File)
Wed, Dec 11, 18:10
Unknown Object (File)
Wed, Dec 11, 18:10
Unknown Object (File)
Wed, Dec 11, 18:10
Unknown Object (File)
Wed, Dec 11, 18:10
Unknown Object (File)
Wed, Dec 11, 18:09
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 3083
Build 3331: 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.