您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

快速入门:使用 Azure 门户部署 Azure Data Box DiskQuickstart: Deploy Azure Data Box Disk using the Azure portal

Azure Data Box Disk 入门Get started with Azure Data Box Disk

本快速入门介绍如何使用 Azure 门户部署 Azure Data Box 磁盘。This quickstart describes how to deploy the Azure Data Box Disk using the Azure portal. 这些步骤包括快速创建订单、接收磁盘、打开包装、建立连接以及将数据复制到磁盘,以便上传到 Azure。The steps include how to quickly create an order, receive disks, unpack, connect, and copy data to disks so that it uploads to Azure.

有关详细的分步部署和跟踪说明,请转到教程:订购 Azure Data Box DiskFor detailed step-by-step deployment and tracking instructions, go to Tutorial: Order Azure Data Box Disk.

如果还没有 Azure 订阅,可以创建一个免费帐户If you don't have an Azure subscription, create a free account.

本指南将指导你完成在 Azure 门户中使用 Azure Data Box Disk 的步骤。This guide walks you through the steps of using the Azure Data Box Disk in the Azure portal. 本指南可帮助解答以下问题。This guide helps answer the following questions.

先决条件Prerequisites

开始之前:Before you begin:

  • 确保为 Azure Data Box 服务启用了订阅。Make sure that your subscription is enabled for Azure Data Box service. 若要为此服务启用订阅,请注册服务To enable your subscription for this service, Sign up for the service.

登录 AzureSign in to Azure

https://aka.ms/azuredataboxfromdiskdocs 中登录 Azure 门户。Sign in to the Azure portal at https://aka.ms/azuredataboxfromdiskdocs.

  • 检查先决条件:检查磁盘和电缆的数量、操作系统和其他软件。Review prerequisites: Check the number of disks and cables, operating system, and other software.
  • 连接和解锁:连接设备并解锁磁盘以复制数据。Connect and unlock: Connect the device and unlock the disk to copy the data.
  • 将数据复制到磁盘并进行验证:将数据复制到磁盘上预先创建的文件夹中。Copy data to the disk and validate: Copy data to the disks into the precreated folders.
  • 退回设备:将磁盘退回 Azure 数据中心,数据将那里上传到你的存储帐户。Return the disks: Return the disks to Azure datacenter where data is uploaded into your storage account.
  • 在 Azure 中验证数据:验证数据是否已上传到存储帐户,然后再将其从源数据服务器中删除。Verify the data in Azure: Verify that your data has uploaded into your storage account before you delete it from source data server.

顺序Order

此步骤大约需要 5 分钟。This step takes roughly 5 minutes.

  1. 在 Azure 门户中创建新的 Azure Data Box 资源。Create a new Azure Data Box resource in the Azure portal.
  2. 选择为此服务启用的订阅,然后选择“导入”作为传输类型。 Select a subscription enabled for this service and choose transfer type as Import. 提供数据所在的来源国家/地区,以及数据要传输到的 Azure 目标区域Provide the Source country where the data resides and Azure destination region for the data transfer.
  3. 选择“Data Box 磁盘”。 Select Data Box Disk. 解决方案的最大容量为 35 TB;如果数据大小更大,你可以创建多个磁盘订单。The maximum solution capacity is 35 TB and you can create multiple disk orders for larger data sizes.
  4. 输入订单详细信息和发货信息。Enter the order details and shipping information. 如果该服务在你所在的区域中可用,请提供通知电子邮件地址、查看摘要,然后创建订单。If the service is available in your region, provide notification email addresses, review the summary, and then create the order.

创建订单后,Microsoft 会准备磁盘发货。Once the order is created, the disks are prepared for shipment.

打开包装Unpack

此步骤大约需要 5 分钟。This step takes roughly 5 minutes.

Data Box 磁盘通过 UPS Express Box 寄送。The Data Box Disk are mailed in a UPS Express Box. 请打开包装,检查其中是否包括:Open the box and check that the box has:

  • 1 到 5 个以气泡膜包装的 USB 磁盘。1 to 5 bubble-wrapped USB disks.
  • 每个磁盘有一根连接线。A connecting cable per disk.
  • 用于退件的发货标签。A shipping label for return shipment.

连接和解锁Connect and unlock

此步骤大约需要 5 分钟。This step takes roughly 5 minutes.

  1. 使用随附的电缆将磁盘连接到运行受支持版本的 Windows/Linux 计算机。Use the included cable to connect the disk to a Windows/Linux machine running a supported version. 有关支持的 OS 版本的详细信息,请转到 Azure Data Box 磁盘系统要求For more information on supported OS versions, go to Azure Data Box Disk system requirements.

  2. 解锁磁盘:To unlock the disk:

    1. 在 Azure 门户中,转到“常规”>“设备详细信息”并获取支持密钥。 In the Azure portal, go to General > Device Details and get the passkey.
    2. 在计算机上下载并提取用于将数据复制到磁盘的特定于操作系统的 Data Box Disk 解锁工具。Download and extract operating system-specific Data Box Disk unlock tool on the computer used to copy the data to disks.
    3. 运行 Data Box Disk 解锁工具并提供密钥。Run the Data Box Disk Unlock tool and supply the passkey. 每次重新插入磁盘时,请再次运行解锁工具并提供密钥。For any disk reinserts, run the unlock tool again and provide the passkey. 请勿使用 BitLocker 对话框或 BitLocker 密钥来解锁磁盘。Do not use the BitLocker dialog or the BitLocker key to unlock the disk. 有关如何解锁磁盘的更多信息,请访问在 Windows 客户端上解锁磁盘在 Linux 客户端上解锁磁盘For more information on how to unlock disks, go to Unlock disks on Windows client or Unlock disks on Linux client.
    4. 工具会显示分配给磁盘的驱动器号。The drive letter assigned to the disk is displayed by the tool. 请记下磁盘驱动器号,Make a note of the disk drive letter. 后续步骤中需要用到。This is used in the subsequent steps.

复制数据并进行验证Copy data and validate

完成此操作所需的时间取决于数据大小。The time to complete this operation depends upon your data size.

  1. 驱动器包含 PageBlobBlockBlobAzureFileManagedDiskDataBoxDiskImport 文件夹。The drive contains PageBlob, BlockBlob, AzureFile, ManagedDisk, and DataBoxDiskImport folders. 通过拖放操作,将需要作为块 Blob 导入的数据复制到 BlockBlob 文件夹中。Drag and drop to copy the data that needs to be imported as block blobs in to BlockBlob folder. 同理,将 VHD/VHDX 等数据拖放到 PageBlob 文件夹中,将相应的数据拖放到 AzureFile 文件夹中。Similarly, drag and drop data such as VHD/VHDX to PageBlob folder, and appropriate data to AzureFile. 将需要作为托管磁盘上传的 VHD 复制到 ManagedDisk 下的一个文件夹中。Copy the VHDs that you want to upload as managed disks to a folder under ManagedDisk.

    在 Azure 存储帐户中,为 BlockBlobPageBlob 文件夹下的每个子文件夹创建一个容器。A container is created in the Azure storage account for each sub-folder under BlockBlob and PageBlob folder. 此时会为 AzureFile 下的一个子文件夹创建文件共享。A file share is created for a sub-folder under AzureFile.

    BlockBlobPageBlob 文件夹下的所有文件将复制到 Azure 存储帐户下的默认容器 $root 中。All files under BlockBlob and PageBlob folders are copied into a default container $root under the Azure Storage account. 将文件复制到 AzureFile 中的一个文件夹。Copy files into a folder within AzureFile. 任何直接复制到 AzureFile 文件夹的文件都会失败,会作为块 Blob 上传。Any files copied directly to the AzureFile folder fail and are uploaded as block blobs.

    备注

    • 所有容器、Blob 和文件都应符合 Azure 命名约定All the containers, blobs, and files should conform to Azure naming conventions. 如果不遵循这些规则,则无法将数据上传到 Azure。If these rules are not followed, the data upload to Azure will fail.
    • 确保块 Blob 的文件不超过大约 4.75 TiB,页 Blob 的文件不超过大约 8 TiB,Azure 文件不超过大约 1 TiB。Ensure that files do not exceed ~4.75 TiB for block blobs, ~8 TiB for page blobs, and ~1 TiB for Azure Files.
  2. (可选但建议选择) 复制完成后,强烈建议你至少运行 DataBoxDiskImport 文件夹中提供的 DataBoxDiskValidation.cmd 并选择选项 1 来验证文件。(Optional but recommended) After the copy is complete, we strongly recommend that at a minimum you run the DataBoxDiskValidation.cmd provided in the DataBoxDiskImport folder and select option 1 to validate the files. 我们还建议在时间允许的情况下使用选项 2,这样也可以生成用于验证的校验和(可能需要一定的时间,具体取决于数据大小)。We also recommend that time permitting, you use option 2 to also generate checksums for validation (may take time depending upon the data size). 这些步骤可以最大程度降低将数据上传到 Azure 时发生故障的可能性。These steps minimize the chances of any failures when uploading the data to Azure.

  3. 安全地移除驱动器。Safely remove the drive.

寄送到 AzureShip to Azure

此步骤大约需要 5-7 分钟才能完成。This step takes about 5-7 minutes to complete.

  1. 将所有磁盘一起放入原始包装中。Place all the disks together in the original package. 使用随附的发货标签。Use the included shipping label. 如果该标签损坏或丢失,请从门户下载。If the label is damaged or lost, download it from the portal. 转到“概述”,然后在命令栏中单击“下载发货标签”。 Go to Overview and click Download shipping label from the command bar.
  2. 在寄件处投递密封的包裹。Drop off the sealed package at the shipping location.

Data Box 磁盘服务将发送一封电子邮件通知,并在 Azure 门户上更新订单状态。Data Box Disk service sends an email notification and updates the order status on the Azure portal.

验证数据Verify your data

完成此操作所需的时间取决于数据大小。The time to complete this operation depends upon your data size.

  1. 将 Data Box 磁盘连接到 Azure 数据中心网络后,数据会自动开始上传到 Azure。When the Data Box disk is connected to the Azure datacenter network, the data upload to Azure starts automatically.

  2. Azure Data Box 服务会通过 Azure 门户通知数据复制已完成。Azure Data Box service notifies you that the data copy is complete via the Azure portal.

    1. 检查错误日志中是否包含任何错误,并采取相应的措施。Check error logs for any failures and take appropriate actions.
    2. 从源中删除数据之前,请确认数据已存储在存储帐户中。Verify that your data is in the storage account(s) before you delete it from the source.

清理资源Clean up resources

此步骤需要 2-3 分钟才能完成。This step takes 2-3 minutes to complete.

若要清理资源,可以取消 Data Box 订单并将其删除。To clean up, you can cancel the Data Box order and then delete it.

  • 在订单尚未处理的情况下,可以在 Azure 门户中取消 Data Box 订单。You can cancel the Data Box order in the Azure portal before the order is processed. 订单处理后,无法取消订单。Once the order is processed, the order cannot be canceled. 订单处理会不断进行,直到完成。The order progresses until it reaches the completed stage.

    若要取消订单,请转到“概况”,然后在命令栏中单击“取消”。 To cancel the order, go to Overview and click Cancel from the command bar.

  • 在 Azure 门户中的状态显示为“已完成”或“已取消”后,即可删除订单。 You can delete the order once the status shows as Completed or Canceled in the Azure portal.

    若要删除订单,请转到“概况”,然后在命令栏中单击“删除”。 To delete the order, go to Overview and click Delete from the command bar.

后续步骤Next steps

在本快速入门中,我们已部署 Azure Data Box 磁盘来帮助将数据导入 Azure。In this quickstart, you’ve deployed Azure Data Box Disk to help import your data into Azure. 若要详细了解 Azure Data Box 磁盘的管理,请转到以下教程:To learn more about Azure Data Box Disk management, advance to the following tutorial: