排查 Azure Data Box Disk 中的磁盘解锁问题Troubleshoot disk unlocking issues in Azure Data Box Disk

本文适用于 Azure Data Box Disk,并介绍了用于排查使用解锁工具时出现的任何问题的工作流。This article applies to Azure Data Box Disk and describes the workflows used to troubleshoot any issues when using the unlock tool.

Data Box 磁盘解锁工具错误Data Box Disk Unlock tool errors

错误消息/工具行为Error message/Tool behavior 建议Recommendations
当前的 .NET Framework 不受支持。The current .NET Framework is not supported. 支持的版本为 4.5 和以上。The supported versions are 4.5 and later.

工具退出并显示一条消息。Tool exits with a message.
未安装 .NET 4.5。.NET 4.5 is not installed. 在运行 Data Box 磁盘解锁工具的主机上安装 .NET 4.5 或更高版本。Install .NET 4.5 or later on the host computer that runs the Data Box Disk unlock tool.
无法解锁或验证任何卷。Could not unlock or verify any volumes. 联系 Azure 支持部门。Contact Azure Support.

工具无法解锁或验证任何已锁定的驱动器。The tool fails to unlock or verify any locked drive.
工具无法解锁任何已使用提供的支持密钥锁定的驱动器。The tool could not unlock any of the locked drives with the supplied passkey. 请联系 Azure 支持部门以了解后续步骤。Contact Azure Support for next steps.
已解锁并验证以下卷。Following volumes are unlocked and verified.
卷驱动器号:E:Volume drive letters: E:
无法使用以下支持密钥解锁任何卷: werwerqomnf、qwerwerqwdfdaCould not unlock any volumes with the following passkeys: werwerqomnf, qwerwerqwdfda

工具解锁了一些驱动器,并列出了成功和失败的驱动器号。The tool unlocks some drives and lists the successful and failed drive letters.
部分成功。Partially succeeded. 使用提供的支持密钥无法解锁某些驱动器。Could not unlock some of the drives with the supplied passkey. 请联系 Azure 支持部门以了解后续步骤。Contact Azure Support for next steps.
找不到锁定的卷。Could not find locked volumes. 验证从 Azure 收到的磁盘是否已正确连接并处于锁定状态。Verify disk received from Azure is connected properly and is in locked state. 工具找不到任何已锁定的驱动器。The tool fails to find any locked drives. 驱动器已解锁,或检测不到。Either the drives are already unlocked or not detected. 确保驱动器已连接并已锁定。Ensure that the drives are connected and are locked.
严重错误:参数无效Fatal error: Invalid parameter
参数名称: invalid_argParameter name: invalid_arg
用法:USAGE:
DataBoxDiskUnlock /PassKeys:<passkey_list_separated_by_semicolon>DataBoxDiskUnlock /PassKeys:<passkey_list_separated_by_semicolon>

示例:DataBoxDiskUnlock /PassKeys:passkey1;passkey2;passkey3Example: DataBoxDiskUnlock /PassKeys:passkey1;passkey2;passkey3
示例:DataBoxDiskUnlock /SystemCheckExample: DataBoxDiskUnlock /SystemCheck
示例:DataBoxDiskUnlock /HelpExample: DataBoxDiskUnlock /Help

/PassKeys: 从 Azure Data Box Disk 顺序中获取此支持密钥。/PassKeys: Get this passkey from Azure DataBox Disk order. 该支持密钥用于解锁磁盘。The passkey unlocks your disks.
/Help: 此选项提供有关 cmdlet 使用情况和示例的帮助。/Help: This option provides help on cmdlet usage and examples.
/SystemCheck: 此选项检查你的系统是否满足运行该工具的要求。/SystemCheck: This option checks if your system meets the requirements to run the tool.

按任意键退出。Press any key to exit.
输入了无效的参数。Invalid parameter entered. 只允许参数 /SystemCheck、/PassKey 和 /Help。The only allowed parameters are /SystemCheck, /PassKey, and /Help.

使用 Windows 客户端时出现的磁盘解锁问题Unlock issues for disks when using a Windows client

本部分详细介绍了在使用 Windows 客户端复制数据时部署 Data Box Disk 期间所遇到的一些主要问题。This section details some of the top issues faced during deployment of Data Box Disk when using a Windows client for data copy.

问题:无法从 BitLocker 解锁驱动器Issue: Could not unlock drive from BitLocker

原因Cause

已在 BitLocker 对话框中使用了密码,并尝试通过 BitLocker 解锁驱动器对话框解锁磁盘。You have used the password in the BitLocker dialog and trying to unlock the disk via the BitLocker unlock drives dialog. 这不起作用。This would not work.

解决方法Resolution

若要解锁 Data Box Disk,需要使用 Data Box Disk解锁工具并从 Azure 门户提供密码。To unlock the Data Box Disks, you need to use the Data Box Disk Unlock tool and provide the password from the Azure portal. 有关详细信息,请转到教程:打开包装、连接和解锁 Azure Data Box DiskFor more information, go to Tutorial: Unpack, connect, and unlock Azure Data Box Disk.

问题:无法解锁或验证某些卷。Issue: Could not unlock or verify some volumes. 联系 Azure 支持部门。Contact Azure Support.

原因Cause

你可能会在错误日志中看到以下错误,且无法解锁或验证某些卷。You may see the following error in the error log and are not able to unlock or verify some volumes.

Exception System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Management.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

这表示可能在 Windows 客户端上缺少相应版本的 Windows PowerShell。This indicates that you are likely missing the appropriate version of Windows PowerShell on your Windows client.

解决方法Resolution

可以安装 Windows PowerShell v 5.0 并重试该操作。You can install Windows PowerShell v 5.0 and retry the operation.

如果仍无法解锁卷,请从具有 Data Box Disk 解锁工具的文件夹中复制日志,然后联系 Azure 支持部门If you are still not able to unlock the volumes, copy the logs from the folder that has the Data Box Disk Unlock tool and contact Azure Support.

后续步骤Next steps