Passthrough LUKS disk via /dev/mapper/ ?

proxox

Member
Feb 15, 2020
2
0
21
24
Hi. One quick question.

Is it a safe practice to passthrough LUKS encrypted disk to VM by pointing to /dev/mapper/ mounted disk ?
I know VM can handle the whole encryption thing, but I have special needs :)

Thanks in advance

Screenshot_2021-12-20_18-32-08.png
 
Keep in mind that the guest still only is seeing a virtual disk with 512B/512B logical/physical sector size even if the real physical disk is using 512B/4K logical/physical sectors. What you see inside the guest is not always the same you see on the host.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!