Tutorial: Unpack, connect, and unlock Azure Data Box Disk

Important

Hardware encryption support for Data Box Disk is currently available for regions within the US, Europe, and Japan.

Azure Data Box disk with hardware encryption requires a SATA III connection. All other connections, including USB, are not supported.

Caution

This article references CentOS, a Linux distribution that is nearing End Of Life (EOL) status. Please consider your use and planning accordingly. For more information, see the CentOS End Of Life guidance.

This tutorial describes how to unpack, connect, and unlock your Azure Data Box Disk.

In this tutorial, you learn how to:

  • Unpack your Data Box Disk
  • Connect to disks and get the passkey
  • Unlock disks on Windows client
  • Unlock disks on Linux client

Unpack, connect, and unlock Azure Data Box Disk

Prerequisites

Before you begin, make sure that:

  1. You have completed the Tutorial: Order Azure Data Box Disk.
  2. You have received your disks and the job status in the portal is updated to Delivered.
  3. You have a client computer on which you can install the Data Box Disk unlock tool. Your client computer must:

Unpack disks

Perform the following steps to unpack your disks.

  1. The Data Box Disks are mailed in a small shipping Box. Open the box and remove its contents. Check that the box has 1 to 5 solid-state disks (SSDs) and a USB connecting cable per disk. Inspect the box for any evidence of tampering, or any other obvious damage.

    Data Box Disk shipping package

  2. If the shipping box is tampered or severely damaged, do not open the box. Contact Microsoft Support to help you assess whether the disks are in good working order and if they need to ship you a replacement.

  3. Verify that the box has a clear sleeve containing a shipping label (under the current label) for return shipment. If this label is lost or damaged, you can always download and print a new one from the Azure portal.

    Data Box Disk shipping label

  4. Save the box and packaging foam for return shipment of the disks.

Connect disks

Important

Azure Data Box disk with hardware encryption is only supported and tested for Linux-based operating systems. To access disks using a Windows OS-based device, download the Data Box Disk toolset and run the Data Box Disk SED Unlock tool.

Use the included USB cable to connect the disk to a Windows or Linux machine running a supported version. For more information on supported OS versions, go to Azure Data Box Disk system requirements.

Screenshot showing the data box disk connector for software encrypted drives.

Retrieve your passkey

In the Azure portal, navigate to your Data Box Disk Order. Search for it by navigating to General > All resources, then select your Data Box Disk Order. Use the copy icon to copy the passkey. This passkey will be used to unlock the disks.

Data Box Disk unlock passkey

Depending on whether you are connected to a Windows or Linux client, the steps to unlock the disks are different.

Unlock disks

Perform the following steps to connect and unlock your disks.

Perform the following steps to connect and unlock your disks.

  1. In the Azure portal, navigate to your Data Box Disk Order. Search for it by navigating to General > All resources, then select your Data Box Disk Order.

  2. Download the Data Box Disk toolset corresponding to the Windows client. This toolset contains 3 tools: Data Box Disk Unlock tool, Data Box Disk Validation tool, and Data Box Disk Split Copy tool.

    This procedure requires only the Data Box Disk Unlock tool. The remaining tools will be used in subsequent steps.

  3. Extract the toolset on the same computer that you will use to copy the data.

  4. Open a Command Prompt window or run Windows PowerShell as administrator on the same computer.

  5. Verify that your client computer meets the operating system requirements for the Data Box Unlock tool. Run a system check in the folder containing the extracted Data Box Disk toolset as shown in the following example.

    .\DataBoxDiskUnlock.exe /SystemCheck
    

    The following sample output confirms that your client computer meets the operating system requirements.

    Screen capture showing the results of a successful system check using the Data Box Disk Unlock tool.

  6. Run DataBoxDiskUnlock.exe, providing the passkey obtained in the Retrieve your passkey section. The passkey is submitted as the Passkey parameter value as shown in the following example.

    .\DataBoxDiskUnlock.exe /Passkey:<testPasskey>
    

    A successful response includes the drive letter assigned to the disk as shown in the following example output.

    Screen capture showing a successful response from the Data Box Disk Unlock tool containing the drive letter assigned.

  7. Repeat the unlock steps for any future disk reinserts. If you need help with the Data Box Disk unlock tool, use the help command as shown in the following sample code and example output.

    .\DataBoxDiskUnlock.exe /help
    

    Screenshot showing the output of the Data Box Unlock tool's Help command.

  8. After the disk is unlocked, you can view the contents of the disk.

    Screenshot showing the contents of the unlocked Data Box Disk.

    Note

    Don't format or modify the contents or existing file structure of the disk.

If you run into any issues while unlocking the disks, see how to troubleshoot unlock issues.

  1. Unpack disks and use the included cable to connect the disk to the client computer.

  2. Download and extract the Data Box Disk toolset on the same computer that you will use to copy the data.

    or

  3. To unlock the disks on a Windows client, open a Command Prompt window or run Windows PowerShell as administrator on the same computer:

    • Type the following command in the same folder where Data Box Disk Unlock tool is installed.

      .\DataBoxDiskUnlock.exe
      
    • Get the passkey from General > Device details in the Azure portal and provide it here. The drive letter assigned to the disk is displayed.

  4. To unlock the disks on a Linux client, open a terminal. Go to the folder where you downloaded the software. Type the following commands to change the file permissions so that you can execute these files:

    chmod +x DataBoxDiskUnlock
    chmod +x DataBoxDiskUnlock_Prep.sh
    

    Execute the script to install all the required binaries.

    sudo ./DataBoxDiskUnlock_Prep.sh
    

    Run the Data Box Disk Unlock tool. Get the passkey from General > Device details in the Azure portal and provide it here. Optionally specify a list of BitLocker encrypted volumes within single quotes to unlock.

    sudo ./DataBoxDiskUnlock /PassKey:'<passkey>'
    
  5. Repeat the unlock steps for any future disk reinserts. Use the help command if you need help with the Data Box Disk unlock tool.

After the disk is unlocked, you can view the contents of the disk.

For more information on how to set up and unlock disks, go to Set up Data Box Disk.

Next steps

In this tutorial, you learned about Azure Data Box Disk topics such as:

  • Unpack your Data Box Disk
  • Connect to disks and get the passkey
  • Unlock disks on Windows client
  • Unlock disks on Linux client

Advance to the next tutorial to learn how to copy data on your Data Box Disk.