Skip to content

Commit e173db6

Browse files
authored
Merge pull request #183381 from v-dalc/ielogs
Import/Export: [Update] Develop logs commentary (ielogs)
2 parents f07a142 + 8f57d0b commit e173db6

13 files changed

+246
-29
lines changed

articles/databox/data-box-disk-troubleshoot-upload.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ title: Use logs to troubleshoot upload issues in Azure Data Box Disk
33
titleSuffix: Azure Data Box Disk
44
description: Describes how to use copy/error logs to troubleshoot issues seen when uploading data to Azure Data Box Disk.
55
services: databox
6-
author: alkohli
6+
author: v-dalc
77

88
ms.service: databox
99
ms.subservice: disk
1010
ms.topic: troubleshooting
11-
ms.date: 12/17/2021
11+
ms.date: 12/22/2021
1212
ms.author: alkohli
1313
---
1414

@@ -18,11 +18,9 @@ This article describes the issues you see when you upload data in the Azure data
1818

1919
## About upload logs
2020

21-
When the data from a Data Box Disk is uploaded in the Azure datacenter, a copy/error log and a verbose log are generated for each storage account. These logs are uploaded to the same storage account that was used to upload data.
21+
When the data from a Data Box Disk is uploaded in the Azure datacenter, a copy/error log and a verbose log are generated for each storage account. These logs are uploaded to the same storage account that was used to upload data.
2222

23-
* The copy/error log has descriptions of the events that occurred for all failed copy operations from the disk to the Azure Storage account, and a summary of errors by error category.
24-
25-
* The verbose log has a listing of all copy operations that succeeded on every blob and file.
23+
[!INCLUDE [storage-import-export-verbose-log-copy-log-descriptions.md](../../includes/storage-import-export-verbose-log-copy-log-descriptions.md)]
2624

2725
## Locate the logs
2826

articles/import-export/storage-import-export-data-to-blobs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ Skip this step and go to the next step if you want to use the Microsoft managed
310310

311311
## Step 6: Verify data upload to Azure
312312

313-
Track the job to completion. Once the job is complete, verify that your data has uploaded to Azure. Delete the on-premises data only after you have verified that the upload was successful. For more information, see [Review Import/Export copy logs](storage-import-export-tool-reviewing-job-status-v1.md).
313+
[!INCLUDE [storage-import-export-verify-data-copy](../../includes/storage-import-export-verify-data-copy.md)]
314314

315315
> [!NOTE]
316316
> If any path and file name exceeds 256 characters, and long paths aren't enabled on the client, the data upload will fail. To avoid this kind of failure, [enable long paths on your Windows client](/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd#enable-long-paths-in-windows-10-version-1607-and-later).

articles/import-export/storage-import-export-data-to-files.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: alkohli
55
services: storage
66
ms.service: storage
77
ms.topic: tutorial
8-
ms.date: 11/29/2021
8+
ms.date: 12/21/2021
99
ms.author: alkohli
1010
ms.subservice: common
1111
ms.custom: "tutorial, devx-track-azurepowershell, devx-track-azurecli, contperf-fy21q3"
@@ -317,7 +317,7 @@ Install-Module -Name Az.ImportExport
317317

318318
## Step 5: Verify data upload to Azure
319319

320-
Track the job to completion. Once the job is complete, verify that your data has uploaded to Azure. Check your copy logs for failures. For more information, see [Review copy logs](storage-import-export-tool-reviewing-job-status-v1.md). Delete the on-premises data only after you verify that upload was successful.
320+
[!INCLUDE [storage-import-export-verify-data-copy](../../includes/storage-import-export-verify-data-copy.md)]
321321

322322
> [!NOTE]
323323
> In the latest version of the Azure Import/Export tool for files (2.2.0.300), if a file share doesn't have enough free space, the data is no longer auto split to multiple Azure file shares. Instead, the copy fails, and you'll be contacted by Support. You'll need to either configure large file shares on the storage account or move around some data to make space in the share. For more information, see [Configure large file shares on a storage account](../storage/files/storage-how-to-create-file-share.md?tabs=azure-portal#enable-large-files-shares-on-an-existing-account).
Lines changed: 166 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,185 @@
11
---
2-
title: Review copy logs from imports and exports in Azure Import/Export | Microsoft Docs
2+
title: Use logs to troubleshoot imports and exports via Azure Import/Export | Microsoft Docs
33
description: Learn how to review error/copy logs from imports and exports for data copy, upload issues.
4-
author: alkohli
4+
author: v-dalc
55
services: storage
66
ms.service: storage
77
ms.topic: how-to
8-
ms.date: 10/01/2021
8+
ms.date: 12/22/2021
99
ms.author: alkohli
1010
ms.subservice: common
1111
---
1212

13-
# Review copy logs from imports and exports via Azure Import/Export
14-
When the Microsoft Azure Import/Export service processes the drives that are associated with an import or export job, it writes copy log files to the storage account you used to import or export blobs.
13+
# Use logs to troubleshoot imports and exports via Azure Import/Export
1514

16-
The log file contains detailed status about each file that was imported or exported.
15+
When the Microsoft Azure Import/Export service processes the drives for an import or export job, the service writes copy logs and verbose logs to the storage account that you used. Both logs are saved for each drive.
1716

18-
The service returns the URL for each copy log file when you query the status of a completed job. For more information, see [Get Job](/rest/api/storageimportexport/Jobs/Get).
17+
[!INCLUDE [storage-import-export-verbose-log-copy-log-descriptions.md](../../includes/storage-import-export-verbose-log-copy-log-descriptions.md)]
1918

20-
## Example URLs
19+
## Locate the logs
2120

22-
The following are example URLs for copy log files for an import job with two drives:
21+
When you use the Import/Export service to create an import or export job in Azure Data Box, you'll view the Import/Export job along with your other **Data Box** resources.
2322

24-
`http://myaccount.blob.core.windows.net/ImportExportStatesPath/waies/myjob_9WM35C2V_20130921-034307-902_error.xml`
23+
Use the following steps to find out the status of the data copies for an Import/Export job:
2524

26-
`http://myaccount.blob.core.windows.net/ImportExportStatesPath/waies/myjob_9WM45A6Q_20130921-042122-021_error.xml`
25+
[!INCLUDE [storage-import-export-view-jobs-and-drives.md](../../includes/storage-import-export-view-jobs-and-drives.md)]
26+
27+
A copy log is saved automatically. If you chose to save verbose logs when you placed your order, you'll also see the path to the verbose log.
28+
29+
The logs are uploaded to a container (for blob imports and exports) or share (for imports to Azure Files) in the storage account. The container is named `databoxcopylog`. The URLs have these formats:
30+
31+
|Log type |URL format|
32+
|-----------|----------|
33+
|copy log |<*storage-account-name*>/databoxcopylog/<*order-name*>_<*device-serial-number*>&#95;CopyLog&#95;<*job-ID*>.xml |
34+
|verbose log|<*storage-account-name*>/databoxcopylog/<*order-name*>_<*device-serial-number*>&#95;VerboseLog&#95;<*job-ID*>.xml|
35+
36+
For export jobs, a manifest file also is saved to the disk.
37+
38+
Each data transfer for a disk generates a copy log. If you chose to save a verbose log when you created the order, there’s also a verbose log in the same folder.
39+
40+
> [!NOTE]
41+
> For your earlier orders, you might find an error log (_error.xml) along with the verbose log in a `waies` container in the storage account. The `DriveLog Version`, shown in the error log summary, will be `2018-10-01`. The log formats differ from those described in this article.
42+
43+
## Review import logs
44+
45+
During an import, the Import/Export service generates a verbose log and a copy log for each disk.
46+
47+
### Verbose logs
48+
49+
The verbose log is an optional file that you can enable during ordering. It's a simple listing of all files that were successfully imported from the drive. The verbose log gives the following information for each file. The verbose log doesn’t provide summary information.
50+
51+
| Field | Description |
52+
|-------------|----------------------------------------------|
53+
| CloudFormat | BlockBlob, PageBlob, or AzureFile. |
54+
| Path | Path to the file within the storage account. |
55+
| Size | File or blob size. |
56+
| crc64 | The cyclic redundancy check 64 (CRC64) checksum that was used to verify data integrity during data transfer. |
57+
58+
#### Sample verbose log: import
59+
60+
[!INCLUDE [data-box-disk-sample-verbose-log.md](../../includes/data-box-disk-sample-verbose-log.md)]
61+
62+
### Copy logs
63+
64+
The copy log contains an error entry for each file that failed to import or export, with error detail. The copy log ends with a summary of validation and copy errors that occurred during the data transfer.
65+
66+
Each error entry contains the following information.
67+
68+
| Field | Description |
69+
|--------------|-----------------------------------------------------------|
70+
| Path | The destination share within the container or file share. |
71+
| Category | Identifies the error category. For more information, see [Data transfer errors](#data-transfer-errors). |
72+
| ErrorCode | The numeric code for the error. |
73+
| ErrorMessage | Describes the error. |
74+
75+
The summary at the end of the log (look for `CopyLog Summary`) gives the following information:
76+
77+
* Drive log version (in this case, `2021-08-01`)
78+
* Drive ID
79+
* Data copy status
80+
* Summary of validation errors by error category
81+
* Summary of copy errors by error category
82+
83+
#### Sample copy log: import
84+
85+
[!INCLUDE [data-box-disk-sample-copy-log.md](../../includes/data-box-disk-sample-copy-log.md)]
86+
87+
## Review export logs
88+
89+
During an export, the Import/Export service generates a verbose log and a copy log for each data transfer from Azure Storage to a disk. There's also a manifest file, which is saved to the disk.
90+
91+
### Verbose log
92+
93+
The verbose log for an export is a simple listing of all files that were successfully exported from the Azure storage account to the drive. The verbose log gives the following information for each file. The verbose log doesn’t provide summary information.
94+
95+
| Field | Description |
96+
|-------------|----------------------------------------------|
97+
| CloudFormat | BlockBlob, PageBlob, or AzureFile. |
98+
| Etag | The entity tag (ETag) for the resource, which is used for concurrency checking during the data transfer. |
99+
| Path | Path to the file within the storage account. |
100+
| Size | File or blob size. |
101+
| crc64 | The cyclic redundancy check 64 (CRC64) checksum that was computed while exporting data to disk. |
102+
103+
104+
#### Sample verbose log: export
105+
106+
In the following sample verbose log, the export job successfully transferred three blobs from Azure Blob storage.
107+
108+
```xml
109+
<File CloudFormat="BlockBlob" ETag="0x8D804D87F976907" Path="export-blobs/movie/sc%3Aifi/block.blob" Size="4096" crc64="16033727819182370206">
110+
</File><File CloudFormat="BlockBlob" ETag="0x8D804D889880CC6" Path="export-blobs/movie/sc#Aifi/block.blob" Size="4096" crc64="16033727819182370206">
111+
</File><File CloudFormat="BlockBlob" ETag="0x8D804D8F1BC81C0" Path="export-blobs/@GMT-2001.03.30-14.44.00/block.blob" Size="4096" crc64="16033727819182370206">
112+
</File>
113+
```
114+
115+
### Copy log
116+
117+
The copy log for an export contains an error entry for each file that failed to transfer successfully from Azure Storage to the disk, with error detail. The copy log ends with a summary of validation and copy errors that occurred during the data transfer.
118+
119+
The copy log for an export reports issues such as a data transfer that fail because of a damaged drive or a storage account key that changed during data transfer. For a list of issues, see [Data transfer errors](#data-transfer-errors).
120+
121+
#### Sample copy log: export
122+
123+
The following sample is a copy log for an export that came across three file system errors ( `UploadErrorWin32`) that caused the export of three files to fail. Error **267** indicates the directory name is invalid. Error **123** indicates an incorrect filename, directory name, or volume label syntax.
124+
125+
```xml
126+
<ErroredEntity CloudFormat="BlockBlob" Path="export-ut-invaliddirblobpath/movie/sc:Aifi/block.blob">
127+
<Category>UploadErrorWin32</Category>
128+
<ETag>0x8D804D8840B92C9</ETag>
129+
<ErrorCode>267</ErrorCode>
130+
<ErrorMessage>File Create failed</ErrorMessage>
131+
<Type>File</Type>
132+
</ErroredEntity><ErroredEntity CloudFormat="BlockBlob" Path="export-ut-invaliddirblobpath/movie/sc-Aifi/block.blob">
133+
<Category>UploadErrorWin32</Category>
134+
<ETag>0x8D804D8AD026B2A</ETag>
135+
<ErrorCode>123</ErrorCode>
136+
<ErrorMessage>File Create failed</ErrorMessage>
137+
<Type>File</Type>
138+
</ErroredEntity><ErroredEntity CloudFormat="BlockBlob" Path="export-ut-invaliddirblobpath/movie/sc*Aifi/block.blob">
139+
<Category>UploadErrorWin32</Category>
140+
<ETag>0x8D804D8A858F705</ETag>
141+
<ErrorCode>123</ErrorCode>
142+
<ErrorMessage>File Create failed</ErrorMessage>
143+
<Type>File</Type>
144+
</ErroredEntity><CopyLog Summary="Summary">
145+
<DriveLogVersion>2021-08-01</DriveLogVersion>
146+
<DriveId>cb57dbe8-0b67-45e0-ad40-a08fb5305c60</DriveId>
147+
<Status>Failed</Status>
148+
<TotalFiles_Blobs>9</TotalFiles_Blobs>
149+
<FilesErrored>6</FilesErrored>
150+
<Summary>
151+
<ValidationErrors>
152+
<None Count="3" />
153+
</ValidationErrors>
154+
<CopyErrors>
155+
<UploadErrorWin32 Count="3" Description="File Create failed because of UploadErrorWin32 exception" />
156+
</CopyErrors>
157+
</Summary>
158+
</CopyLog>
159+
```
160+
161+
162+
## Data transfer errors
163+
164+
You'll find the following errors in the copy logs for import jobs and/or export jobs.
165+
166+
| Error category | Error message | Imports | Exports |
167+
|-------------------------------------|-------------------|---------|---------|
168+
| `UploadErrorWin32` |File system error. | Yes | Yes |
169+
| `UploadErrorCloudHttp` |Unsupported blob type. For more information about errors in this category, see [Summary of non-retryable upload errors](../databox/data-box-troubleshoot-data-upload.md#summary-of-non-retryable-upload-errors).|Yes |Yes |
170+
| `UploadErrorDataValidationError` |CRC computed during data ingestion doesn’t match the CRC computed during upload. |Yes |Yes |
171+
| `UploadErrorManagedConversionError` |The size of the blob being imported is invalid. The blob size is <*blob-size*> bytes. Supported sizes are between 20971520 Bytes and 8192 GiB. For more information, see [Summary of non-retryable upload errors](../databox/data-box-troubleshoot-data-upload.md#summary-of-non-retryable-upload-errors). |Yes |Yes |
172+
| `UploadErrorUnknownType` |Unknown error. |Yes |Yes |
173+
| `ContainerRenamed` |Renamed the container because the original container name doesn't follow [Azure naming conventions](../databox/data-box-disk-limits.md#azure-block-blob-page-blob-and-file-naming-conventions). The original container has been renamed to DataBox-<*GUID*> from <*original container name*>. |No |Yes |
174+
| `ShareRenamed` |Renamed the share because the original share name doesn't follow [Azure naming conventions](../databox/data-box-disk-limits.md#azure-block-blob-page-blob-and-file-naming-conventions). The original share has been renamed to DataBox-<*GUID*> from <*original folder name*>. |No |Yes |
175+
| `BlobRenamed` |Renamed the blob because the original blob name doesn't follow [Azure naming conventions](../databox/data-box-disk-limits.md#azure-block-blob-page-blob-and-file-naming-conventions). The original blob has been renamed to BlockBlob/DataBox-<*GUID*> from <*original name*>. |No |Yes |
176+
| `FileRenamed` |Renamed the file because the original file name doesn't follow [Azure naming conventions](../databox/data-box-disk-limits.md#azure-block-blob-page-blob-and-file-naming-conventions). The original file has been renamed to AzureFile/DataBox-<*GUID*> from <*original name*>. |No |Yes |
177+
| `DiskRenamed` |Renamed the managed disk file because the original file name doesn't follow [Azure naming conventions for managed disks](../databox/data-box-disk-limits.md#managed-disk-naming-conventions). The original managed disk file was renamed to ManagedDisk/DataBox-<*GUID*> from <*original name*>. |No |Yes |
178+
| `FileNameTrailsWithSlash` |Blob name or file name ends with a trailing slash. A blob name or file name that ends with a trailing backslash or forward slash can't be exported to disk. |No |Yes |
179+
| `ExportCloudHttp` |Unsupported blob type. |No |Yes |
27180

28-
<!--See [Import/Export service Log File Format](/previous-versions/azure/storage/common/storage-import-export-file-format-log) for the format of copy logs and the full list of status codes. ARCHIVED-->
29181

30182
## Next steps
31183

32-
<!--* [Setting Up the Azure Import/Export Tool](storage-import-export-tool-setup-v1.md) ARCHIVED-->
33-
* [Preparing hard drives for an import job](storage-import-export-data-to-blobs.md#step-1-prepare-the-drives)
34-
<!--* [Repairing an import job](./storage-import-export-tool-repairing-an-import-job-v1.md)-->
35-
<!--* [Repairing an export job](./storage-import-export-tool-repairing-an-export-job-v1.md)-->
184+
- [Review hard drive preparation steps for an import job](storage-import-export-data-to-blobs.md#step-1-prepare-the-drives).
185+
- [Contact Microsoft Support](storage-import-export-contact-microsoft-support.md).

articles/import-export/storage-import-export-view-drive-status.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: alkohli
55
services: storage
66
ms.service: storage
77
ms.topic: how-to
8-
ms.date: 12/13/2021
8+
ms.date: 12/22/2021
99
ms.author: alkohli
1010
ms.subservice: common
1111
ms.custom: contperf-fy21q3
@@ -23,7 +23,9 @@ You can view the status of your import and export jobs in the Azure portal. The
2323

2424
If you created your import or export job in Azure Data Box (the Preview experience), you'll track the job's status along with your other **Data Box** resources.
2525

26-
1. Log on to [https://portal.azure.com/](https://portal.azure.com/).
26+
[!INCLUDE [storage-import-export-view-jobs-and-drives.md](../../includes/storage-import-export-view-jobs-and-drives.md)]
27+
28+
<!--1. Log on to [https://portal.azure.com/](https://portal.azure.com/).
2729
2830
2. Search for **azure data box**.
2931
@@ -45,8 +47,7 @@ If you created your import or export job in Azure Data Box (the Preview experien
4547
4648
* Select a **Drive ID** to open a panel with full copy information, including the manifest file and hash.
4749
48-
[ ![Screenshot of the Overview for an Import Export job in the Azure portal. The Order Status, and the Data Copy Status and Log URLs for a drive, are highlighted.](./media/storage-import-export-view-drive-status/preview-job-details.png) ](./media/storage-import-export-view-drive-status/preview-job-details.png#lightbox)
49-
50+
[ ![Screenshot of the Overview for an Import Export job in the Azure portal. The Order Status, and the Data Copy Status and Log URLs for a drive, are highlighted.](./media/storage-import-export-view-drive-status/preview-job-details.png) ](./media/storage-import-export-view-drive-status/preview-job-details.png#lightbox)-->
5051

5152
### [Portal (Classic)](#tab/azure-portal-classic)
5253

22.2 KB
Loading
33.2 KB
Loading
96.6 KB
Loading
54.8 KB
Loading
23.1 KB
Loading

0 commit comments

Comments
 (0)