MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Azure Storage: FAQ

Can u attach azure vm or you can’t attach disks to a running VM?

No, you cannot attach a data disk to an Azure virtual machine that is running. The VM must be stopped before you can attach or detach a data disk. This is because attaching or detaching a data disk involves making changes to the VM’s storage configuration, which can only be done when the VM is not running.

When you attach a data disk to a VM, Azure creates a new disk LUN (logical unit number) and adds it to the VM’s storage configuration. The VM’s operating system then needs to recognize the new disk and make it available for use. This process cannot be done while the VM is running, as it would require the operating system to lock the disk in order to make the changes.

Similarly, when you detach a data disk from a VM, Azure removes the disk LUN from the VM’s storage configuration. The VM’s operating system then needs to release the lock on the disk and make it unavailable for use. This process also cannot be done while the VM is running, as it would require the operating system to lock the disk in order to release the lock.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Microsoft Certified: Azure Administrator Associate – Exam AZ-104: Microsoft Azure Administrator

The Exam AZ-104: Microsoft Azure Administrator is part of the Microsoft Certified: Azure Administrator Associate certification. This exam assesses your capability in several technical tasks including managing…

Read More

Terraform: Azure VM using terraform-azurerm-compute Module

The example above uses the community Azure/compute/azurerm and Azure/network/azurerm Terraform modules to build one Linux VM and one Windows VM in Azure. Both share a virtual network…

Read More

Terraform: Azure VM using virtual-machine Module

This tutorial uses the community kumarvna/virtual-machine/azurerm module from the Terraform Registry to deploy two Windows Server 2019 VMs into an existing Azure resource group, virtual network and…

Read More

Terraform: Create Azure Windows VM with file, remote-exec & local-exec provisioner

This page shows how to create an Azure Windows Server VM with Terraform and run all three provisioner types on it: file copies a script to the…

Read More

Terraform: Example Code for Create Multiple Azure Linux Vms

This page shows how to create several Azure Linux virtual machines from one Terraform configuration by using the count meta-argument. The VMs sit behind a load balancer…

Read More

Terraform Backend Tutorial

Terraform is a popular open-source infrastructure as code tool used to create and manage infrastructure resources. The state of the infrastructure resources managed by Terraform is stored…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x