Questions tagged [azure-managed-disk]

45 questions
0
votes
1 answer

Azure download vhd of managed disk

I have a VM on Azure where I want to download the vhd file from the OS-disk. The VM has a managed disk, so I can't access the blob storage of the file disk. I followed following guide from MS:…
0
votes
0 answers

How can I configuring StatefulSets for Zone-Affinity Pod scheduling with LRS disks on AKS?

I inherited an AKS cluster running in Switzerland north. This region doesn't provide ZRS-managed disk, only LRS. Switching to ReadWriteMany (Azure File) is not an option. I have one system node pool in all (three) availability zones. Also, I have a…
Matthias Güntert
  • 4,013
  • 6
  • 41
  • 89
0
votes
2 answers

New Azure data disk does not appear when running lsblk from virtual machine's cli

I am attempting to create and attach a new data disk to an Azure linux VM per these instructions: https://learn.microsoft.com/en-us/azure/virtual-machines/linux/attach-disk-portal Azure Portal reported that the disk was created and attached to my VM…
mactyr
  • 463
  • 3
  • 16
0
votes
1 answer

No Storage account for VM Disks in Azure

According to Microsoft documentation. there are managed disks and unmanaged disks. Managed disks are something managed by microsoft. All the VHDs are stored as page blob in storage account. Question: When I create a linux VM with additional disk I…
oraclept
  • 29
  • 1
  • 5
0
votes
2 answers

Attach disk to only one node in azure

I'm using ARM template to create 4 SHARED disks and 3 VMs. Is there a way to attach these disks only to one node ? below is my code for disk creation, { "type": "Microsoft.Compute/disks", "apiVersion": "2018-06-01", "name":…
0
votes
1 answer

Cannot attach an existing OS disk if the VM is created from a platform, user or a shared gallery image

Creating a azure virtual machine and attaching managed disks (Created from snapshots) Getting the error, "Cannot attach an existing OS disk if the VM is created from a platform, user or a shared gallery image Tried tweaks in "create option" as…
0
votes
2 answers

How can I get the used/free managed disk size on Azure VMs?

I have some Azure VMs, and appended some managed disks to the. But is it possible that get the free/used size of these managed disks? I have tried Get-AzDisk powershell command.However it only returns the total size if Disks instead of the used/free…
AzureDev
  • 25
  • 3
0
votes
1 answer

Reliably targeting correct Azure Managed Disk on a Linux VM using an Ansible playbook

How do I reliably partition and mount the file system of an Azure Managed Disk on a Linux VM using Ansible playbooks? I can create an Azure Managed Disk with azure_rm_manageddisk and assign it to a VM instance. My issue starts when I'm trying to…
xtrom0rt
  • 183
  • 1
  • 11
0
votes
1 answer

Find when disk became unattached?

I am trying to determine a way to delete unattached disks if they have been unattached for a specific period of time: Pseudo code if state = "unattached" & date_unattached > 7 days then DELETE I currently have the following: compute_client =…
Ari
  • 5,301
  • 8
  • 46
  • 120
0
votes
1 answer

Unmanaged or Managed Azure Disk for small tenants?

For my graduate project i dove into Microsoft Azure and i had no clue how it worked. Now, a few months later, i need to make some decisions about Azure storage. Case: Small tenants (60 clients from a MSP) using AAD, AADDS and running 1/2 VM’s…
0
votes
1 answer

An api to get azure disk filtered according to the Sku tier

Can anyone suggest a REST API to fetch all the disks in a subscription according to the disk tier( eg- ultra,standard) and return a list of disks having the same tier.
0
votes
1 answer

Conversion time of a regular VHD disk to a managed disk

Please tell me, how much time does it take to convert a regular VHD disk to a managed disk ? It all depends on the size and type of OS. I couldn't find this information. Thanks.
Kirill Sereda
  • 469
  • 1
  • 10
  • 25
0
votes
1 answer

Azure CLI Windows VM creation os disk size

I've been trying to create a Windows Server 2016 VM with an os disk that is less than the default of size 128GB using the azure cli. Below is a sample of what I've executed with simplified parameter names az vm create --name 'dWeb02-vm'…
Ricky Keane
  • 1,540
  • 2
  • 15
  • 21
0
votes
1 answer

Create OS Azure Managed Disk using REST API

I am trying to follow this document in order to create OS Managed Disk (Ubuntu 18.04). However I cannot find suitable body example to create such disk. I tried to send this: PUT…
Geslot
  • 388
  • 2
  • 18
0
votes
1 answer

Need help on Managed disk in Azure

I need some help with Azure Managed Disks: How to generate SAS url/urli for managed disk? How we can move the VHD/VM from one subscription to another subscription or from one location (westus) to another location (eastus)? How we can…
vamsi
  • 13
  • 3