问题描述
我正在尝试使用Powershell加密VM磁盘.我有两个磁盘,OS磁盘和数据磁盘,但是只有OS磁盘正在加密.我也想加密数据磁盘.
I am trying to encrypt the VM disks using powershell. I have two disks, OS disk and data disk, but only OS disk is getting encrypted. I want to enrypt data disk as well.
我在运行powershell命令时也没有收到任何错误,它只是跳过了数据磁盘.
Also i dont get any error while running powershell command, it just skips the data disk.
还需要帮助加密数据磁盘.
Need help to encrypt data disk as well.
推荐答案
如果您有选定的卷类型全部";在加密过程中,所有新磁盘都应自动加密.添加新磁盘后重新启动虚拟机,并检查其状态.
有关更多信息,如何在上启用磁盘加密数据磁盘
附加信息:您可以加密Windows和Linux IaaS VM的启动卷和数据卷.对于Windows VM,您必须先加密OS卷才能加密数据.对于Linux VM,无需加密即可加密数据量 首先是操作系统卷.在为Linux的OS卷加密之后,不支持在Linux IaaS VM的OS卷上禁用加密.
如何
请让我们知道以上内容是否对您有帮助,或者您需要在此问题上进一步的帮助.
If you have selected Volume type "all" during the encryption, any new disk should automatically encrypted. Try torestart the VM after adding the new disk and check the for the status.
For more information, How to Enable disk encryption on Data disk
Additional information: You can encrypt boot and data volumes for Windows and Linux IaaS VMs. For Windows VMs, you can't encrypt the data without first encrypting the OS volume. For Linux VMs, it's possible to encrypt the data volume without having to encrypt the OS volume first. After you've encrypted the OS volume for Linux, disabling encryption on an OS volume for Linux IaaS VMs isn't supported.
How to Encrypting Data Disks on Linux with Azure Disk Encryption
Kindly let us know if the above helps or you need further assistance on this issue.
这篇关于Azure数据磁盘加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!