This tutorial will show you, how to create virtual hard disk windows server 2016. As you known, server computer is regarded as a large Database usually. So, much space needed is usual too. Therefore, the importance of virtual disk becomes the same as physical disk. Now in this passage, it would introduce how to create virtual hard disk.
this article describes some of the basic operations that you can perform including creating .vhd files and attaching them so they appear as a disk on the computer. You can perform these operations by using the Disk Management MMC snap-in and the DiskPart command line tool.
Create Virtual Hard Disk Windows Server 2016
#1. On Disk Management (on Server Manager dashboard, click tools menu, click computer management, click disk management) or (click Start, type diskmgmt.msc in the Search box, and then press ENTER).
#2. The Computer Management screen opens click on Disk Management Then Action and Create VHD.
#3. In the screen of “Create and Attach Virtual Hard Disk”, browse a location and specify it as virtual hard disk on the machine. And type “Virtual hard disk size”. Select “Virtual hard disk format” and choose “Virtual hard disk type”.
- Virtual hard disk size: This is the size of the VHD. Note that if you create a dynamically expanding VHD, the virtual hard disk size is the maximum size the VHD will expand to.
- Virtual hard disk format: This is the format of the VHD: dynamically expanding or fixed. Note that when you create a dynamically expanding VHD, Windows does not test for free space on the physical computer based on the maximum size requested. Therefore, it is possible to create a dynamically expanding VHD with a maximum size that is larger than the available free space on the hard disk drive of the physical computer. The maximum size of a dynamically expanding VHD is 2,040 GB.
#4. Click OK to create the VHD. After it is created, the VHD is attached and it appears as an uninitialized disk.
#5. To initialize the disk, right-click the disk name in the Disk Management pane and click Initialize Disk. (In the previous example, you would right-click the area that says Disk 2.)
#6. Click OK to confirm that you want to initialize the disk.
#Create a Volume Using Disk Management
#1. Now it is time to create a volume by Right-clicking the unallocated space and select New Simple Volume. The new simple volume wizard will open.
2# On the welcome page of the New Simple Volume Wizard box, click Next.
#3. Enter the size of the volume you want to create in megabytes (MB) or accept the maximum default size, and then select Next.
#3. On the Assign Drive Letter or Path page, leave everything as it is for simplicity, and click Next. (If you are an advanced user, you can choose a drive letter of your choice from the available Assign the following drive letter drop-down list.)
#4. On the Format Partition page, choose the settings of your preference. (If you are unsure what to choose, leave the default settings intact.)
- If you don’t want to format the volume right now, select Do not format this volume, and then select Next.
- To format the volume with the default settings, select Next.
#5. On the Completing the New Simple Volume Wizard page, click Finish to create a new partition in the hard disk drive.
Once the partition is created, you can start using it normally. When done, you will have a new disk volume that looks just like any other physical disk partition.
#6. Optionally, you can detach the VHD so that it no longer shows up as a disk. You should always detach VHDs prior to restarting the operating system to prevent data corruption. To do this, right-click the disk name, and then click Detach VHD.
#Attach an existing VHD by using Disk Management
Alternatively, if you have an existing .vhd file that you want to attach as a disk, use the following procedure.
#1. In Disk Management (diskmgmt.msc), click/tap on Action (menu bar) and on Attach VHD. (see screenshot below)
#2. Click/tap on Browse, navigate to and select the .vhd or. vhdx file (ex: Ultimate.vhd) that you want to mount, click/tap on Open. (see screenshots below)
Note: If you want the mounted .vhd or .vhdx to be read-only while it’s attached as a drive, then check the box, otherwise leave it unchecked. Click/tap on OK.
#3. Click OK. After the VHD is attached, you can treat it as any other disk. For example, you can create new volumes, format volumes, and assign drive letters to volumes within the VHD. Additionally, you can browse existing volumes within the VHD.
#4. The .vhd or .vhdx file is now mounted and attached as a drive. The drive(s) will also open in a separate File Explorer window(s). (see screenshot above)
Why we create virtual hard disk Windows server 2016? What is virtual hard disk used for?
It helps to achieve a series of operations in the administrative side, including the antivirus and installation, upgrade, backup and restore of hard disk. At the same time, server users could remain computer usage habits, and make full use of server’s operation ability.
That’s all. I Hope you find tip useful, if you have any question about the is tutorial, you ask me freely in the comment bellow.