How To Use ZFS Encryption With TrueNAS For Pools and Datasets

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024

ความคิดเห็น • 31

  • @LAWRENCESYSTEMS
    @LAWRENCESYSTEMS  ปีที่แล้ว +4

    TrueNAS Documentation
    www.truenas.com/docs/core/coretutorials/storage/pools/storageencryption/
    www.truenas.com/docs/core/coretutorials/systemconfiguration/configuringkmip/
    Dedupe Discussion
    github.com/openzfs/zfs/discussions/9423

  • @entelin
    @entelin ปีที่แล้ว +18

    It's worth pointing out that zfs-send / recv does not require the encryption keys. So you can have a remote server which uses a user account which only has zfs-send rights (thanks to the zfs permissions structure) to receive an encrypted dataset, which it also cannot read. Agentless, immutable, remote backups with zero trust.

  • @huboz0r
    @huboz0r ปีที่แล้ว +8

    That opening line is so true, awesome way to put it. New T-Shirt designs may be coming soon, check back frequently? ;)

    • @majoryoshi
      @majoryoshi ปีที่แล้ว +1

      it would be amazing on a shirt now that you mention it

  • @ddjazz
    @ddjazz ปีที่แล้ว +9

    Encyrption , i like it.

  • @christopherjackson2157
    @christopherjackson2157 ปีที่แล้ว +4

    Deduplication and encryption working together... sounds interesting. Probably not for the faint of heart. Or at least not those without math degrees.

    • @Tom-kt8lu
      @Tom-kt8lu ปีที่แล้ว

      Has been done routinely in Solaris for 20 years.
      I know 8th grade math at best.

  • @danielp7189
    @danielp7189 ปีที่แล้ว

    Off topic but I saw on the forum there was a post about the TrueCharts version of Plex with issues on remote access and someone suggesting a video on it. I second that and would love to chip in with the costs for a video on that in the near future if possible!

  • @wildmanjeff42
    @wildmanjeff42 ปีที่แล้ว +6

    They used to have it where the key was not kept on the system boot disk. I wish there was an option to keep the key off the server and supply when unlocking...

    • @Tom-kt8lu
      @Tom-kt8lu ปีที่แล้ว +2

      You might be able to set one up with symlinks.

  • @ctid107
    @ctid107 ปีที่แล้ว +4

    On vanilla BSD I store the keys on a very small ramdisk, I boot to single user and copy them to the ramdisk from USB, then continue booting. I dont use Truenas so im not sure if that is possible here, might be worth checking.

    • @Tom-kt8lu
      @Tom-kt8lu ปีที่แล้ว +1

      It is of course possible, but not from the GUI, and almost nobody knows grub or indeed the OS well enough to do it.

  • @CRK1918
    @CRK1918 8 หลายเดือนก่อน +1

    I wish there were another protection layer or options to protect when you export the key files. So even people who get physical access to machines still cannot steal your key. I guess the passphrase always is an option.

  • @MattiaMigliorati
    @MattiaMigliorati 3 หลายเดือนก่อน

    Great video! I have a question. If the Unencrypted dataset is within an Encrypted dataset, It could be a way to read the Unencrypted data even if the Parent Dataset is locked and encrypted?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 หลายเดือนก่อน

      I don't think so.

    • @MattiaMigliorati
      @MattiaMigliorati 3 หลายเดือนก่อน

      @@LAWRENCESYSTEMS honestly I don't understand why they should give that option..

  • @phthalosh
    @phthalosh ปีที่แล้ว +1

    Do you run into any trouble if the ix-applications (dataset for applications in Truenas scale) dataset is encrypted?

    • @edwinkm2016
      @edwinkm2016 ปีที่แล้ว

      It is excluded by default when you encrypt the root. So it will likely a bad idea, if it even allows you to do this. You of course can try this using a VM

  • @christophjahn6678
    @christophjahn6678 ปีที่แล้ว +1

    The real challenge with deduplication is that it requires an absurd amount of RAM to run well. As a very(!) rough rule of thumb you should have at least 256 GB of RAM. That is more a warning than guidance, though. If you really want to use deduplication, please check with the TrueNAS forum first and get input from the experts there.

  • @rudypieplenbosch6752
    @rudypieplenbosch6752 ปีที่แล้ว +1

    if you have your main dataset encrypted, but you have an unencrypted dataset below that, I assume the unencrypted set is not accessible if you haven't unencrypted the parent dataset ?

    • @Tom-kt8lu
      @Tom-kt8lu ปีที่แล้ว

      It depends whether you configured the child dataset to include the encryption value of the parent dataset.

  • @4eyesleo
    @4eyesleo 2 หลายเดือนก่อน

    So, if I have a strong password to admin and all SMB shares are restricted to users with good passwords, then my data is safe even if I loose the whole system, right?.... Right?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  2 หลายเดือนก่อน

      Having a password on a dataset protects the data if the machine is physically taken.

    • @kotut
      @kotut 19 วันที่ผ่านมา

      If the datasets are not encrypted, and your drives are stolen, your data can be accessed by accessing your drives through another system without any need for passwords at all.

  • @elksalmon84
    @elksalmon84 ปีที่แล้ว

    For passphrase it would have been nice if Samba would able to pass that phassphrase from the client. So share would never be unlocked on the server side.

  • @JanekWerbinski
    @JanekWerbinski ปีที่แล้ว

    I don't undrestand where is the key for encrypting the data. I think passphrase or keyfile is just ways to unlock the encryption key. If passphrase or keyfile would be actual encryption keys, then changing passphrase would require decrypting and again encrypting all TB of data which is long process. Does it take long time?
    This is how Veracrypt or PGP works: Keyfile or passphrase aren't actual encryption keys. Locked (encrypted) encryption keys are in the header of the volume with copies in other places. Passphrase decrypt encryption key which is used for decrypting data.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว

      The key is located in the TrueNAS config database and because the encryption is done at the ZFS file system level it can happen that fast.

  • @svettnabb
    @svettnabb ปีที่แล้ว +1

    Just going to point out the "encyrption" typo in the thumbnail. Not a big deal really

  • @RickMyBalls
    @RickMyBalls ปีที่แล้ว

    How the download looks like?? What?