应在虚拟机中启用存储控制器以提供对附加存储的访问权限Storage controllers should be enabled in virtual machines to provide access to attached storage

适用于:Windows Server 2016Applies To: Windows Server 2016

有关最佳做法和扫描的详细信息,请参阅最佳做法分析器For more information about best practices and scans, see Best Practices Analyzer.

属性Property 详细信息Details
操作系统Operating System Windows Server 2016Windows Server 2016
产品/功能Product/Feature Hyper-VHyper-V
严重性Severity 警告Warning
类别Category ConfigurationConfiguration

在以下部分中,"斜体" 指示在此问题的最佳做法分析器工具中出现的 UI 文本。In the following sections, italics indicates UI text that appears in the Best Practices Analyzer tool for this issue.

问题Issue

一个或多个存储控制器可能在虚拟机中被禁用。One or more storage controllers may be disabled in a virtual machine.

影响Impact

虚拟机不能使用连接到已禁用存储控制器的存储。这会影响以下虚拟机:Virtual machines cannot use storage connected to a disabled storage controller. This impacts the following virtual machines:

<list of virtual machine names>

解决方法Resolution

使用来宾操作系统中的设备管理器来启用所有存储控制器。如果不需要存储控制器,请使用 Hyper-v 管理器将其从虚拟机中删除。Use Device Manager in the guest operating system to enable all storage controllers. If the storage controller is not required, use Hyper-V Manager to remove it from the virtual machine.

有关如何使用设备管理器的说明,请参阅来宾操作系统中的帮助。For instructions on how to use Device Manager, see Help in the guest operating system. 有关如何删除存储控制器的说明,请参阅以下过程。For instructions on how to remove the storage controller, see the following procedure.

从虚拟机中删除 SCSI 存储控制器To remove a SCSI storage controller from the virtual machine

  1. 打开 Hyper-V 管理器。Open Hyper-V Manager. 单击 “开始”,指向 “管理工具”,然后单击 “Hyper-V 管理器”Click Start, point to Administrative Tools, and then click Hyper-V Manager.

  2. 在结果窗格中的 " 虚拟机" 下,选择要配置的虚拟机。In the results pane, under Virtual Machines, select the virtual machine that you want to configure.

  3. 如果虚拟机正在运行,请关闭虚拟机。If the virtual machine is running, shut down the virtual machine. 右键单击该虚拟机,然后单击 " 关闭"。Right-click the virtual machine and click Shut down.

  4. “操作” 窗格中的虚拟机名称下,单击 “设置”In the Action pane, under the virtual machine name, click Settings.

  5. 在 " 设置 " 对话框的左窗格中的 " 硬件" 下,单击 " SCSI 控制器"。In the left pane of the Settings dialog box, under Hardware, click SCSI Controller.

  6. 在右侧窗格中,单击 " 删除"。In the right pane, click Remove.