查看 Azure 导入/导出作业的状态View the status of Azure Import/Export jobs
本文提供有关如何查看 Azure 导入/导出作业的驱动器和作业状态的信息。This article provides information on how to view the drive and job status for Azure Import/Export jobs. Azure 导入/导出服务用于将大量数据安全地传输到 Azure Blob 和 Azure文件。Azure Import/Export service is used to securely transfer large amounts of data to Azure Blobs and Azure Files. 该服务还用于从 Azure Blob 存储导出数据。The service is also used to export data from Azure Blob storage.
查看作业和驱动器状态View job and drive status
可以从 Azure 门户通过选择“导入/导出”选项卡来跟踪导入或导出作业的状态。随即页面上显示作业列表。You can track the status of your import or export jobs from the Azure portal by selecting the Import/Export tab. A list of your jobs appears on the page.
查看作业状态View job status
会看到以下作业状态之一，具体取决于驱动器处于哪个处理阶段。You see one of the following job statuses depending on where your drive is in the process.
|CreatingCreating||创建作业后，其状态设置为“Creating” 。After a job is created, its state is set to Creating. 当作业处于“Creating”状态时，“导入/导出”服务会假设驱动器尚未寄送到数据中心。While the job is in the Creating state, the Import/Export service assumes the drives haven't been shipped to the data center. 作业可保持此状态最多两周，之后服务会自动将其删除。A job may remain in this state for up to two weeks, after which it's automatically deleted by the service.|
|装运Shipping||寄出包裹后，应在 Azure 门户中更新跟踪信息。After you ship your package, you should update the tracking information in the Azure portal. 这样做会将作业转换为“Shipping”状态。Doing so turns the job into Shipping state. 作业会保持“Shipping”状态最多两周 。The job remains in the Shipping state for up to two weeks.|
|ReceivedReceived||在数据中心收到所有驱动器后，作业状态设置为“Received” 。After all drives are received at the data center, the job state is set to Received.|
|转移Transferring||至少一个驱动器已开始处理后，作业状态设置为“Transferring” 。Once at least one drive has begun processing, the job state is set to Transferring. 有关详细信息，请转到驱动器状态。For more information, go to Drive States.|
|打包Packaging||所有驱动器都完成处理完后，作业会进入“Packaging”状态，直到将驱动器寄回给你 。After all drives have completed processing, the job is placed in Packaging state until the drives are shipped back to you.|
|已完成Completed||在将所有驱动器寄回给你后，如果完成作业时未出现错误，作业状态会设置为“Completed” 。After all drives are shipped back to you, if the job has completed without errors, then the job is set to Completed. 作业会在保持“Completed”状态 90 天后自动删除 。The job is automatically deleted after 90 days in the Completed state.|
|已关闭Closed||在将所有驱动器寄回给你后，如果处理作业期间出现任何错误，作业状态会设置为“Closed”。After all drives are shipped back to you, if there were any errors during the job processing, the job is set to Closed. 作业会在保持“Closed”状态 90 天后自动删除 。The job is automatically deleted after 90 days in the Closed state.|
查看驱动器状态View drive status
下表描述了单个驱动器在导入或导出作业中转换时的生命周期。The table below describes the life cycle of an individual drive as it transitions through an import or export job. 可在 Azure 门户查看作业中每个驱动器的当前状态。The current state of each drive in a job is seen in the Azure portal.
下表描述了每个驱动器在作业中可能经历的每种状态。The following table describes each state that each drive in a job may pass through.
|SpecifiedSpecified||对于导入作业，在 Azure 门户中创建作业时，驱动器的初始状态为“Specified” 。For an import job, when the job is created from the Azure portal, the initial state for a drive is Specified. 对于导出作业，由于在创建作业时未指定驱动器，因此驱动器的初始状态为“Received” 。For an export job, since no drive is specified when the job is created, the initial drive state is Received.|
|ReceivedReceived||导入/导出服务为导入作业处理从货运公司收到的驱动器后，驱动器将转换为“Received”状态 。The drive transitions to the Received state when the Import/Export service has processed the drives that were received from the shipping company for an import job. 对于导出作业，初始驱动器状态为“Received” 。For an export job, the initial drive state is the Received state.|
|NeverReceivedNeverReceived||当作业的包裹已送达但包裹不包含驱动器时，驱动器将转换为“NeverReceived”状态 。The drive moves to the NeverReceived state when the package for a job arrives but the package doesn't contain the drive. 如果数据中心尚未收到包裹，并且服务在至少两周之前就收到了寄送信息，则驱动器也会进入此状态。A drive also moves into this state if the datacenter hasn't yet received the package, and the service received the shipping information at least two weeks ago.|
|转移Transferring||服务开始将数据从驱动器传输到 Azure 存储时，驱动器将转换为“Transferring”状态 。A drive moves to the Transferring state when the service begins to transfer data from the drive to Azure Storage.|
|已完成Completed||服务成功传输所有数据且未出错时，驱动器将转换为“Completed”状态 。A drive moves to the Completed state when the service has successfully transferred all the data with no errors.|
|CompletedMoreInfoCompletedMoreInfo||如果服务在从驱动器中复制数据或将数据复制到驱动器时遇到问题，则驱动器将进入“CompletedMoreInfo”状态。A drive moves to the CompletedMoreInfo state when the service has experienced issues while copying data from or to the drive. 信息可以包含有关覆盖 Blob 的错误、警告或信息性消息。The information can include errors, warnings, or informational messages about overwriting blobs.|
|ShippedBackShippedBack||驱动器从数据中心寄送到回邮地址后，驱动器将转换为“ShippedBack”状态 。A drive moves to the ShippedBack state when it has been shipped from the datacenter back to the return address.|
Azure 门户中的此映像会显示示例作业的驱动器状态：This image from the Azure portal displays the drive state of an example job:
下表描述了驱动器故障状态以及针对每种状态采取的措施。The following table describes the drive failure states and the actions taken for each state.
|驱动器状态Drive State||事件Event||解决方法/后续步骤Resolution / Next step|
|NeverReceivedNeverReceived||标记为“NeverReceived”的驱动器（因为在作业寄送过程中未收到）通过另一次寄送送达。A drive that's marked as NeverReceived (because it wasn't received as part of the job's shipment) arrives in another shipment.||运营团队将驱动器转换为“Received”状态 。The operations team moves the drive to Received.|
|不适用N/A||不属于任何作业的驱动器将作为其他作业的一部分送至数据中心。A drive that isn't part of any job arrives at the datacenter as part of another job.||完成与原始包裹关联的作业后，The drive is marked as an extra drive. 驱动器将标记为额外驱动器寄回给你。It's returned to you when the job associated with the original package is completed.|
处理作业的时间Time to process job
处理导入/导出作业所需花费的时间取决于多个因素，例如：The amount of time it takes to process an import/export job varies based on a number of factors such as:
- 寄送时间Shipping time
- 数据中心的负载Load at the datacenter
- 作业类型和待复制数据的大小Job type and size of the data being copied
- 作业中的磁盘数目。Number of disks in a job.
导入/导出服务没有 SLA，但在收到磁盘之后，服务力求在 7 到 10 天内完成复制。Import/Export service doesn't have an SLA, but the service strives to complete the copy in 7 to 10 days after the disks are received. 除了 Azure 门户上发布的状态以外，你还可以使用 REST API 来跟踪作业进度。In addition to the status posted on Azure portal, you can use REST APIs to track the job progress. 在列出作业操作 API 调用中使用完成百分比参数查看复制进度百分比。Use the percent complete parameter in the List Jobs operation API call to view the percentage copy progress.