|
| 1 | +--- |
| 2 | +title: Azure Data Box Disk troubleshooting data copy issues| Microsoft Docs |
| 3 | +description: Describes how to troubleshoot issues seen during data copy in Azure Data Box Disk using logs. |
| 4 | +services: databox |
| 5 | +author: alkohli |
| 6 | + |
| 7 | +ms.service: databox |
| 8 | +ms.subservice: disk |
| 9 | +ms.topic: article |
| 10 | +ms.date: 06/13/2019 |
| 11 | +ms.author: alkohli |
| 12 | +--- |
| 13 | + |
| 14 | +# Troubleshoot data copy issues in Azure Data Box Disk |
| 15 | + |
| 16 | +This article applies to Microsoft Azure Data Box Disk and describes how to troubleshoot any issues you see when copying the data to disks. The article also covers issues when using the split copy tool. |
| 17 | + |
| 18 | + |
| 19 | +## Data copy issues when using a Linux system |
| 20 | + |
| 21 | +This section details some of the top issues faced when using a Linux client to copy data to disks. |
| 22 | + |
| 23 | +### Issue: Drive getting mounted as read-only |
| 24 | + |
| 25 | +**Cause** |
| 26 | + |
| 27 | +This could be due to an unclean file system. |
| 28 | + |
| 29 | +Remounting a drive as read-write does not work with Data Box Disks. This scenario is not supported with drives decrypted by dislocker. You may have successfully remounted the device using the following command: |
| 30 | + |
| 31 | + `# mount -o remount, rw /mnt/DataBoxDisk/mountVol1` |
| 32 | + |
| 33 | +Though the remounting was successful, the data will not persist. |
| 34 | + |
| 35 | +**Resolution** |
| 36 | + |
| 37 | +Take the following steps on your Linux system: |
| 38 | + |
| 39 | +1. Install the `ntfsprogs` package for the ntfsfix utility. |
| 40 | +2. Unmount the mount points provided for the drive by the unlock tool. The number of mount points will vary for drives. |
| 41 | + |
| 42 | + ``` |
| 43 | + unmount /mnt/DataBoxDisk/mountVol1 |
| 44 | + ``` |
| 45 | +
|
| 46 | +3. Run `ntfsfix` on the corresponding path. The highlighted number should be same as Step 2. |
| 47 | +
|
| 48 | + ``` |
| 49 | + ntfsfix /mnt/DataBoxDisk/bitlockerVol1/dislocker-file |
| 50 | + ``` |
| 51 | +
|
| 52 | +4. Run the following command to remove the hibernation metadata that may cause the mount issue. |
| 53 | +
|
| 54 | + ``` |
| 55 | + ntfs-3g -o remove_hiberfile /mnt/DataBoxDisk/bitlockerVol1/dislocker-file /mnt/DataBoxDisk/mountVol1 |
| 56 | + ``` |
| 57 | +
|
| 58 | +5. Do a clean unmount. |
| 59 | +
|
| 60 | + ``` |
| 61 | + ./DataBoxDiskUnlock_x86_64 /unmount |
| 62 | + ``` |
| 63 | +
|
| 64 | +6. Do a clean unlock and mount. |
| 65 | +7. Test the mount point by writing a file. |
| 66 | +8. Unmount and remount to validate the file persistence. |
| 67 | +9. Continue with the data copy. |
| 68 | + |
| 69 | +### Issue: Error with data not persisting after copy |
| 70 | + |
| 71 | +**Cause** |
| 72 | +
|
| 73 | +If you see that your drive does not have data after it was unmounted (though data was copied to it), then it is possible that you remounted a drive as read-write after the drive was mounted as read-only. |
| 74 | +
|
| 75 | +**Resolution** |
| 76 | + |
| 77 | +If that is the case, see the resolution for [drives getting mounted as read-only](#issue-drive-getting-mounted-as-read-only). |
| 78 | +
|
| 79 | +If that was not the case, copy the logs from the folder that has the Data Box Disk Unlock tool and [contact Microsoft Support](data-box-disk-contact-microsoft-support.md). |
| 80 | +
|
| 81 | +
|
| 82 | +## Data Box Disk Split Copy tool errors |
| 83 | +
|
| 84 | +The issues seen when using a Split Copy tool to split the data over multiple disks are summarized in the following table. |
| 85 | +
|
| 86 | +|Error message/Warnings |Recommendations | |
| 87 | +|---------|---------| |
| 88 | +|[Info] Retrieving BitLocker password for volume: m <br>[Error] Exception caught while retrieving BitLocker key for volume m:<br> Sequence contains no elements.|This error is thrown if the destination Data Box Disk are offline. <br> Use `diskmgmt.msc` tool to online disks.| |
| 89 | +|[Error] Exception thrown: WMI operation failed:<br> Method=UnlockWithNumericalPassword, ReturnValue=2150694965, <br>Win32Message=The format of the recovery password provided is invalid. <br>BitLocker recovery passwords are 48 digits. <br>Verify that the recovery password is in the correct format and then try again.|Use Data Box Disk Unlock tool to first unlock the disks and retry the command. For more information, go to <li> [Unlock Data Box Disk for Windows clients](data-box-disk-deploy-set-up.md#unlock-disks-on-windows-client). </li><li> [Unlock Data Box Disk for Linux clients.](data-box-disk-deploy-set-up.md#unlock-disks-on-linux-client) </li>| |
| 90 | +|[Error] Exception thrown: A DriveManifest.xml file exists on the target drive. <br> This indicates the target drive may have been prepared with a different journal file. <br>To add more data to the same drive, use the previous journal file. To delete existing data and reuse target drive for a new import job, delete the *DriveManifest.xml* on the drive. Rerun this command with a new journal file.| This error is received when you attempt to use the same set of drives for multiple import session. <br> Use one set of drives only for one split and copy session only.| |
| 91 | +|[Error] Exception thrown: CopySessionId importdata-sept-test-1 refers to a previous copy session and cannot be reused for a new copy session.|This error is reported when trying to use the same job name for a new job as a previous successfully completed job.<br> Assign a unique name for your new job.| |
| 92 | +|[Info] Destination file or directory name exceeds the NTFS length limit. |This message is reported when the destination file was renamed because of long file path.<br> Modify the disposition option in `config.json` file to control this behavior.| |
| 93 | +|[Error] Exception thrown: Bad JSON escape sequence. |This message is reported when the config.json has format that is not valid. <br> Validate your `config.json` using [JSONlint](https://jsonlint.com/) before you save the file.| |
| 94 | +
|
| 95 | +
|
| 96 | +## Next steps |
| 97 | +
|
| 98 | +- Learn how to [troubleshoot validation tool issues](data-box-disk-troubleshoot.md). |
0 commit comments