I am being challenged with an encrypted hard drive that is not mounting on Proxmox. The drive is LUKS encrypted and it is a ZFS file system. The name of the drive in question is /dev/sdc It is worth noting I recently upgraded from Proxmox 7.3
OLD PROCESS
If I rebooted my machine, I would have to remount the drives. This is the process I used.
zfs load-key -acryptsetup luksOpen /dev/sdc sdcmount /dev/mapper/sdc /mnt/sdc
This would normally work. Mounting the ZFS drive gives me the following error.
mount: /mnt/sdc: unknown filesystem type 'zfs_member'. dmesg(1) may have more information after failed mount system call.
Displaying file system
blkid/dev/mapper/sdc: LABEL="pool_HOME" UUID="3559123226849408752" UUID_SUB="4093622895994105059" BLOCK_SIZE="4096" TYPE="zfs_member"
NEW PROCESS
zfs load-key -acryptsetup luksOpen /dev/sdc sdczfs get mountpoint rpool/sdczfs set mountpoint=/mnt/sdc rpool/sdczfs mount -a
The drive is listed as mounted
zfs listsNAME USED AVAIL REFER MOUNTPOINTrpool 98.4G 15.9G 120K /rpoolrpool/ROOT 26.5G 15.9G 96K /rpool/ROOTrpool/ROOT/pve-1 26.5G 15.9G 26.5G /rpool/data 96K 15.9G 96K /rpool/datarpool/encrypted_data 34.4G 15.9G 240K /rpool/encrypted_datarpool/encrypted_data/subvol-103-disk-0 1.16G 2.34G 1.16G /rpool/encrypted_data/subvol-103-disk-0rpool/encrypted_data/subvol-104-disk-0 29.1G 2.86G 29.1G /rpool/encrypted_data/subvol-104-disk-0rpool/encrypted_data/vm-101-disk-0 4.13G 16.8G 3.24G -rpool/sdc 96K 15.9G 96K /mnt/sdcrpool/subvol-100-disk-0 901M 3.12G 901M /rpool/subvol-100-disk-0rpool/subvol-105-disk-0 1.70G 2.30G 1.70G /rpool/subvol-105-disk-0rpool/subvol-1081-disk-0 445M 3.57G 445M /rpool/subvol-1081-disk-0rpool/subvol-1082-disk-0 421M 3.59G 421M /rpool/subvol-1082-disk-0rpool/swap 34.0G 49.9G 80K -
When I check the directory ls /mnt/sdc
, the directory returns empty.
I can't see the content of the drive. What more information can I look for?