Encryption succeeded for all volumes however Data Disks are showing as NotMounted

Mohammed Feroze Khan 1 Reputation point
2021-01-29T12:34:33.48+00:00

I have a centOS VM Standard D2s v3 (2 vcpus, 8 GiB memory) named "linux01" in Azure with ONE OS Disk and TWO Data Disks enabled with SSE with PMK + ADE.
The disks are showing as encrypted, however the Data Disks are showing as NotMounted :(
What am I missing?

PS /home/feroze> Get-AzVMDiskEncryptionStatus -VMName linux01 -ResourceGroupName rg01

OsVolumeEncrypted : Encrypted
DataVolumesEncrypted : NotMounted
OsVolumeEncryptionSettings : Microsoft.Azure.Management.Compute.Models.DiskEncryptionSettings
ProgressMessage : Encryption succeeded for all volumes

This is what I have followed the article : https://video2.skills-academy.com/en-us/azure/virtual-machines/linux/attach-disk-portal

Still no luck.

Please help!

61729-image.png

Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
590 questions
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 35,011 Reputation points Microsoft Employee
    2021-01-29T18:40:02.163+00:00

    @Mohammed Feroze Khan
    Please review the additional VM requirements in our documentation. Ensure that the data disks to be encrypted are properly listed in /etc/fstab. Use the "nofail" option when creating entries, and choose a persistent block device name. Once this is setup properly please retry the encryption to see if it resolves your issue. If there is no data on the data drives you can use the EncryptFormatAll option to speedup the process.

    Hope this helps. Let us know if you are still facing issues or have further questions.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments