Logo

dev-resources.site

for different kinds of informations.

ATTACHING A DATA DISK TO AN ALREADY EXISTING WIN 11 PRO VIRTUAL MACHINE IN AZURE

Published at
4/15/2024
Categories
azure
vm
cloud
win11
Author
himora22
Categories
4 categories in total
azure
open
vm
open
cloud
open
win11
open
Author
8 person written this
himora22
open
ATTACHING A DATA DISK TO AN ALREADY EXISTING WIN 11 PRO VIRTUAL MACHINE IN AZURE

In today’s post we will be learning to how to attach a data disk to our Win 11 Pro Virtual machine. We will be working with an already created Win 11 Pro VM, if you do not know how to go about it, just click on the link below to create one and come back and follow this blog.

What are Disks in Azure?

Before attaching a data disk, let's have a brief discussion about disks in Azure.

Disks in Azure are referred to as** Azure Disk Storage**, that provide block-level storage volumes that are managed by Azure and used with its Virtual machines. They are virtualized versions of physical disks you would have in your on-premises servers.

Azure has several types of disks with different performance requirement and prices points.

• Ultra Disks: Designed for IO-intensive workloads, offering high throughput and IOPS with the ability to dynamically change performance parameters without restarting Virtual Machines.

• Premium SSDs: Suitable for production and performance-sensitive workloads that require consistent low latency and high IOPS.

• Standard SSDs: Ideal for web servers, lightly used enterprise applications, and development/test environments.

• Standard HDDs: Best for backup, non-critical, and infrequent access scenarios due to their lower cost and performance compared to SSDs.

Apart from the different types of disks, Azure disks have different roles. They are three in number, and they are as follows:

  1. OS Disk: the Operating System disk, this is the Virtual Hard drive that you boot or run your virtual machine from. It holds the operating system and its system files; it is usually labelled as the C: drive by default. The OS disk has a maximum capacity of 4 TB.

  2. Data Disks: These are Virtual Hard drives you can attach to a Virtual machine to store application data or other data you need to keep. You can attach several data disks to a Virtual machine depending on the size of the Virtual machine. They have a maximum capacity of 32 TB per disk.

  3. Temporary Disk: This disk provides temporary storage for applications and processes and is intended to store data such as swap files, application cache, system cache, etc. The data on this disk can be lost during a maintenance event or when you redeploy a Virtual machine. It is usually labelled as the D: drive by default.

You can get more information on these from links below.

Azure Disk Storage overview - Azure Virtual Machines | Microsoft Learn

Overview of Azure managed disks, which handle the storage accounts for you when using VMs.

learn.microsoft.com

Select a disk type for Azure IaaS VMs - managed disks - Azure Virtual Machines | Microsoft Learn

Learn about the available Azure disk types for virtual machines, including ultra disks, Premium SSDs v2, Premium SSDs, standard SSDs, and Standard HDDs.

learn.microsoft.com

https://azure.microsoft.com/en-us/products/storage/disks/

Now that we understand Azure disks let's begin attaching a data disk to the already created Win 11 Pro Virtual Machine.

Step 1: Login to your Azure portal, Search for Virtual Machine in the search bar and Click on Virtual Machines.

Image description

Step 2: Click on your already created Win11 Pro Virtual machine.

Image description

Step 3: Select and click on Disks, under settings towards the left end of your screen.

Image description

Step 4: Once in the disk menu, look for and select Create and attach new disk.

Image description

a. Disk name: Give the disk a name.

b. Storage type: Select from the options in the dropdown menu.

c. Size (GiB): Type the disk size you want.

d. Click Apply at the bottom left of the portal when done.

Image description

Wait for a few minutes for your Data disk to be created. Once this done go to the next step

Step 5: Go to Overview page and Connect to your Windows Virtual Machine

Image description

Step 6: Once your Windows 11 Virtual Machine is up and running,

a. Go to your file explorer.

Image description

b. Go to This PC, you will notice your just created Data disk is not listed amongst the hard drives. You will have to initialize the disk before it is useable.

Image description

Step 7: Initializing the Data disk.

a. Right click the Windows button

b. Select Disk Management from the list that pops up.

Image description

c. Disk Management opens with a prompt ‘You must initialize a disk before Logical Disk Manager can access it’ click ‘OK’.

Image description

d. Scroll down at the bottom half of the Disk Management windows till you get to Disk 2.

e. Right click on Disk 2 where it shows Unallocated and select New Simple Volume.

Image description

f. A Welcome to the New Simple Volume Wizard comes up.

Image description

g. For this exercise keep clicking Next till you finally get to Finish. Now the disk is initialized and is now visible on This PC in file explorer.

Image description

If all these steps were followed correctly you have successfully Create, Attached and Initialized a Data disk in your Win 11 Pro virtual machine. Congratulations and well-done.

vm Article's
30 articles in total
Favicon
Create a Linux Virtual Machine in Azure
Favicon
Proxmox Backup by NAKIVO: The Ultimate Solution for VM Data Protection
Favicon
How To Authenticate GCP Cloud Infra using Service Account with IAC Terraform
Favicon
Reproducible and Scalable VM Cloning on Proxmox-Ansible to the Rescue!
Favicon
How to Fix 'WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED' SSH Error in Cloud Environments
Favicon
A Detailed Guide to Securing Proxmox Virtual Machines via NAKIVO Backup & Replication
Favicon
Create And Deploy A Linux Virtual Machine In Azure Using Terraform
Favicon
Dual-Booting vs. Virtual Machines: Maximizing System Resources and Performance
Favicon
Adding short-circuiting in a bytecode interpreter
Favicon
Proxmox Security Series: Strengthening Your Virtual Environment
Favicon
Simplify Your Workflow By Using Virtual Machine on Microsoft Azure
Favicon
Connect to Azure VM w/SSH Through Azure CLI
Favicon
VMSS CREATION AND CONNECTING.
Favicon
Common Causes of Data Loss in Virtual Machines and How to Prevent It
Favicon
How to change the Screen Resolution of a Guest-OS (Ubuntu) in Hyper-V with PowerShell on Windows 11
Favicon
Step-by-Step Guide: How to Create and Connect a Windows 11 Pro Azure Virtual Machine
Favicon
A Simple Guide to Creating Microsoft Azure Resource (Search method)
Favicon
Creating a Linux Virtual Machine with Ubuntu Server using Password Authentication.
Favicon
How to Set Up a PostgreSQL Server on a Virtual Machine
Favicon
HOW TO ADD A DATA DISK TO A VIRTUAL MACHINE
Favicon
ATTACHING A DATA DISK TO AN ALREADY EXISTING WIN 11 PRO VIRTUAL MACHINE IN AZURE
Favicon
Docker Containers vs. Virtual Machines
Favicon
Step-By-Step: How To Create a Linux Virtual Machine In Azure
Favicon
Bare Metal Servers vs. Dedicated Host
Favicon
Isolation as Key: Optimizing Performance in Concurrent Builds on a Single Host
Favicon
GNS3'de Verimliliği Artıran İki Gizli Özellik
Favicon
WSL2 Backup to OneDrive Cloud
Favicon
Provision the VM Instance on GCP
Favicon
Install a VM Instance on GCP
Favicon
QEMU VM with snapshot setup + samba file sharing

Featured ones: