TrueNAS CORE
Is an OpenBSD distribution focused on NAS usage.
ZFS¶
tl;dr by importance:
- Self-healink, no
chkdsk
anymore but you need tosrub
(= check checksum) montly - Keep your pool >10% free space
resilvering
= in RAIDZ case and a drive failed, this is the initialization phase for the new drive- Snapshot possible with no space overhead as CoW filesystem. This is applied for system config.
- Structuration
vdev
= group of diskspool
= filesystemzvol
= fixed sized raw volume ordataset
= dynamically sized file volume
- Compression possible
Setup¶
Configure:
- Accounts
- Users
- root email
- Users
- System
- Alert Service > Email
- Task
- SMART Task
- Create short self test once a week, and long self test once a month (cf FreeNAS doc)
- Periodic Snapshot
- Create daily snapshot
- SMART Task
Some guides:
Checklist to create a SMB share:
- Create a dataset with Share Type = SMB
- Assign ACL for a group (help here)
Plugins¶
Duplicati¶
- Is available as a Community plugin
- Password cannot be changed from GUI, need to execute
sysrc "duplicati_web_pass=PASSWORD"
- Source - Jail need to be updated ... but how?