Score:0

How do I Mount an Encrypted ZFS Drive?

ng flag

Although I've been using Ubuntu since 2006, I'm new to ZFS & encryption...

I'm playing with a proof of concept VM that has been loaded up with Ubuntu 2104. During the installation, when going through the partitioning screens, I selected the option to set up the drive with ZFS and encryption. My goal was to see whether or not I could recover files from an encrypted ZFS system via an Ubuntu Live environment.

I can boot the test system but I cannot seem to figure out how to access the test data on the system. I've dealt with encryption on Ubuntu before but, Nautilus asked for the passphrase and I was off to the races. In this case, I think I'm missing a step or a package within the live environment because I don't see the typical prompt for passphrase.

user@QEMU-PC:~$ sudo lsblk
NAME             MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
loop0              7:0    0 55.4M  1 loop  /snap/core18/1997
loop1              7:1    0  219M  1 loop  /snap/gnome-3-34-1804/66
loop2              7:2    0 64.8M  1 loop  /snap/gtk-common-themes/1514
loop3              7:3    0   51M  1 loop  /snap/snap-store/518
loop4              7:4    0 32.3M  1 loop  /snap/snapd/11588
loop5              7:5    0 55.4M  1 loop  /snap/core18/2128
loop6              7:6    0 32.3M  1 loop  /snap/snapd/12704
loop7              7:7    0   51M  1 loop  /snap/snap-store/547
loop8              7:8    0 65.1M  1 loop  /snap/gtk-common-themes/1515
loop9              7:9    0  219M  1 loop  /snap/gnome-3-34-1804/72
sr0               11:0    1  2.6G  0 rom   /media/tome/Ubuntu 21.04 amd64
zd0              230:0    0  500M  0 disk  
\u2514\u2500keystore-rpool 253:0    0  484M  0 crypt /run/keystore/rpool
vda              252:0    0   25G  0 disk  
\u251c\u2500vda1           252:1    0    1M  0 part  
\u251c\u2500vda2           252:2    0  513M  0 part  /boot/efi
\u251c\u2500vda3           252:3    0  1.1G  0 part  
\u2502 \u2514\u2500cryptoswap   253:1    0  1.1G  0 crypt [SWAP]
\u251c\u2500vda4           252:4    0  1.2G  0 part  
\u2514\u2500vda5           252:5    0 22.1G  0 part  
user@QEMU-PC:~$
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.