1

What is the way in Solaris to encrypt a zpool? All the documentation supporting ZFS encryption talk about using "zfs create" and specifying a dataset WITHIN a pool. I just became SA for several Solaris servers and they all have encrypted zpools, but no documentation as to how they get that way. I know its possible since these servers have their pools configured with encryption, with no datasets on them. Any ideas?

  • 1
    How do you know the zpools are encrypted? – ewwhite Dec 26 '14 at 22:16
  • I ran "zfs get encryption" and it shows the property as "on" for the zpool which contains no datasets. – Jon Smith Dec 26 '14 at 22:22
3

You just need to create the pool with encryption enabled for its top dataset:

zpool create -O encryption=on ...
  • 1
    Sigh... If only we had this for non-Solaris ZFS implementations... – ewwhite Dec 26 '14 at 23:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.