Adding a data disc to a windows VM

Afeez Adeyemo - Nov 5 - - Dev Community

This is a guide on how to add a data disc to a Virtual Machine (VM).

In the realm of virtualization, managing storage is a critical aspect of maintaining efficient and scalable virtual environments. One common task that administrators and users often encounter is adding a disk to a virtual machine (VM). This process is essential for creating and expanding storage capacity, improving performance, and ensuring that virtual machines can handle increasing workloads. Whether you are using VMware, VirtualBox, or another virtualization platform, understanding how to add a disk to a VM is a fundamental skill. This assignment will guide you through the steps required to add a new virtual hard disk to a virtual machine, highlighting the key considerations and best practices to ensure a smooth and successful implementation.

Table of Content

  1. Create a VM or select an existing VM
  2. Add a disc
  3. RDP into the VM
  4. Initialize the disc and make it useable.

1. Create a VM or select an existing VM

  • Login into Azure Portal. Go to home
  • Search for Azure virtual machine homepage
  • Click create, pick Azure virtual machine create virtual machine
  • Create a virtual machine (check previous articles on how to create a windows virtual machine.
  • Select the virtual machine. select VM

2. Add a disc
To add a disc go through the steps below

  • Go to overview. Under settings blade, select disc.
  • Click create and attach a new disc create a new disc
  • Enter an appropriate disc name, select storage type and size. Apply changes. disc details

3. RDP into the VM

  • Go to the connect blade, select connect and select native RDP. select native RDP
  • Wait for it to configure. download RDP file download RDP file
  • Wait for the file to download. Run the downloaded RDP file run the downloaded RDP file
  • Enter details username and password, click OK to connect to the VM.
  • Notice the VM has come up and you are now connected to the VM VM opened

4. Initialize the disc and make it useable.

  • In the search bar of the VM, search for disc management. Select create and format hard disc partition
  • Notice the system saying that you must initialize the disc. Click ok to initiate the initializing. initiate disc formatting
  • Right click and select new simple volume
  • Continue to select next until you get to format partition
    select next

  • From the format partition page, give the disc a name. Click yes to perform quick format.

  • On the complete the new simple volume wizard page, select finish
    Finish formatting

  • Notice the primary partition is now healthy
    primary partition healthy

This VM now has a formatted disc and can now be used.

Please drop comments and ask questions in the comment section.

. . . . . . . . . .