Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
advanced:target [2018/10/05 00:12] – [Build ZFS on Linux] Already installed build-essential above, so not needed here dan | advanced:target [2018/10/05 13:26] – [Enable encryption, and create an encrypted dataset] dan | ||
---|---|---|---|
Line 56: | Line 56: | ||
===== Enable encryption, and create an encrypted dataset ===== | ===== Enable encryption, and create an encrypted dataset ===== | ||
- | **FreeNAS doesn' | ||
The idea of this system is to be a standalone storage " | The idea of this system is to be a standalone storage " | ||
Line 69: | Line 68: | ||
===== Create a replication user ===== | ===== Create a replication user ===== | ||
- | For the sake of security, it would be best if replication to this device ran as a user other than root. | + | For the sake of security, it would be best if replication to this device ran as a user other than root. |
+ | |||
+ | Then, on the Odroid, as root, run | ||
< | < | ||
- | adduser zfsuser | + | adduser zfsuser |
</ | </ | ||
- | Disable login for that user: | + | where " |
+ | |||
+ | Now allow that user to make changes on the encrypted dataset: | ||
< | < | ||
- | chsh -s /bin/false zfsuser | + | zfs allow -ldu zfsuser create, |
</ | </ | ||
- | Generate a SSH keypair for that user: | + | ===== Install Zerotier ===== |
+ | Zerotier will create an encrypted virtual network connection between your Odroid and your FreeNAS box. It's installed by default on FreeNAS, but you'll need to install it on the Odroid. | ||
< | < | ||
- | sudo -u zfsuser ssh-keygen | + | sudo apt install curl |
+ | curl https:// | ||
</ | </ | ||
- | Now allow that user to make changes on the encrypted dataset: | ||
- | < | ||
- | zfs allow -ldu zfsuser create, | ||
- | </ | ||
- |