Note: This question is part of a series of questions
that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that que
stion.
You have a Hyper-V host named Server1 that runs Windows Server 2016. Server1 has a virtual machine that uses a virtual hard disk (VHD) named disk1.vhdx.
have a physical sector size that is smaller than the physical sector size of the storage on which the virtual hard disk file is located.-
You need to resolve the problem that causes the warning message.
What should you run?
A. the
Mount-VHD
cmdlet
B. th
e
Diskpart
command
C. the
Set-VHD
cmdlet
D. the
Set-VM
cmdlet
E. the
Set-VMHost
cmdlet
F. the
Set-VMProcessor
cmdlet
G. the
Install-WindowsFeature
cmdlet
H. the
Optimize-VHD
cmdlet
Explanation:
Issue
One or more virtual hard disks have a
physical sector size that is smaller than the physical sector size of the storage on which the virtual hard disk file is located.
Resolution
Do one of the following:
Perform a storage migration to move the virtual hard disk to a new physical system
Use a r
egistry setting to enable a VHD-format virtual hard disk to report a physical sector size of 4k
Use Windows PowerShell or WMI to enable a VHDX-format virtual hard disk to report a specific sector size
The Set-VHD cmdlet sets the ParentPath or PhysicalSect
orSizeBytes properties of a virtual hard disk. The two properties must be set in separate operations.
The Set-VHD -PhysicalSectorSizeBytes parameter specifies the physical sector size, in bytes. Valid values are 512 and 4096. This parameter is supported on
ly on a VHDX-format disk that is not attached when the operation is initiated.
References:
https://technet.microsoft.com/en-us/windows-server-docs/compute/hyper-v/best-practices-analyzer/avoid-using-virtual-hard-disks-with-sector-size-less-than-size-of-physical
https://technet.microsoft.com/en-us/library/hh848561.aspx