Your network contains an Active Directory domain named contoso.com. The domain contains a
server named Server1. Server1 runs Windows Server 2012 R2.
You need to create a 3-TB virtual hard disk (VHD) on Server1.
Which tool should you use?
A.
New-StoragePool
B.
Diskpart
C.
File Server Resource Manager (FSRM)
D.
New-StorageSubsytemVirtualDisk
Explanation:
You can create a VHD from either the Disk Management snap-in or the command line (diskpart).
From the DiskPart command-line tool at an elevated command prompt, run the create vdisk
command and specify the file (to name the file) and maximum (to set the maximum size in
megabytes) parameters. The following code demonstrates how to create a VHD file at
C:\vdisks\disk1.vdh with a maximum file size of 16 GB (or 16,000 MB).
DiskPart
Microsoft DiskPart version 6.1.7100
Copyright (C) 1999-2008 Microsoft Corporation.
On computer: WIN7
DISKPART> create vdisk file=”C:\vdisks\disk1.vhd” maximum=16000
Obviously since it’s 3TB you will have to specify VHDX in diskpart
0
0
B
0
0
either Diskpart or Computer Management would be the correct answer, they will give you just one of these two options
0
0
New Virtual Disk (10GB – do not have space for 3TB)
I read some place that you cannot use diskpart to create vhdx disk, but it worked
DISKPART> create vdisk file=”F:\vDisk\newdisk.vhdx MAXIMUM=10000
100 percent completed
DiskPart successfully created the virtual disk file.
DISKPART> select vdisk file=” F:\vDisk\newdisk.vhdx”
DiskPart successfully selected the virtual disk file.
DISKPART> Attach VDISK
100 percent completed
DiskPart successfully attached the virtual disk file.
DISKPART> CREATE PARTITION PRIMARY
DiskPart succeeded in creating the specified partition.
DISKPART> assign letter=X
DISKPART> format
0
0
To clarify, creating a vhd with an extension .vhdx does not mean it will be a VHDX.
In my Lab, i managed to create a disk with a random extension, File=”C:\NEWDISK.DISK” and it worked … So this will only create a .VHD.
0
0