WaImortExport error

2021-03-13T20:49:45.63+00:00

i am trying to do a data import into azure for using waimportexport tool and it fails with an error

Command failed - The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top

actual value was 300

the command i ran was waimportexport prepimport /j:journal.jrn logdir:log /id:myid /t:e /encrypt /srcdir:f:\ /dstdir:destfolder/

it goes through the initial phase of the command and encrypts the drive and then comes up starting new session for block blobs.. then enabling bitlocker on drive... then calculating disk space required... then the comes up saying disk space required 2.5TB the available 6TB then sits there for ages, then comes up with the above error about command failed - the value must be greater than or equal to zero and less than the console's buffer size in that dimension. parameter name: top actual value was 300.

on the list of commands there doesnt seem to be a top paramater to choose from.

please help.

Azure Data Box
Azure Data Box
A family of appliances and solutions for offline data transfer to Azure​.
42 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 46,446 Reputation points Microsoft Employee
    2021-03-15T15:41:40.483+00:00

    @Mahesh Vempati Welcome to Microsoft Q&A platform, Thank you for posting your query!

    Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

    May I know which version are you using? Are you importing for Azure Blob or Files?
    May I know when exactly are you getting this error?
    Also, before you create an import job to transfer data into Azure Files or blob, carefully review and complete the following list of prerequisites.

    The WAImportExport tool is available in two versions, version 1 and 2. We recommend that you use: Version 1 for import/export into Azure Blob storage. Version 2 for importing data into Azure files.

    The WAImportExport tool is only compatible with 64-bit Windows operating system. For specific OS versions supported, go to Azure Import/Export requirements.

    Can re-install the latest version and try again: https://learn.microsoft.com/en-us/azure/import-export/storage-import-export-data-to-blobs?tabs=azure-portal

    For blob: To prepare the disk, run the following command. Depending on the data size, disk preparation may take several hours to days.

    ./WAImportExport.exe PrepImport /j:<journal file name> /id:session<session number> /t:<Drive letter> /bk:<BitLocker key> /srcdir:<Drive letter>:\ /dstdir:<Container name>/ /blobtype:<BlockBlob or PageBlob> /skipwrite  
    

    For Azure files refer to this article: Use Azure Import/Export service to import data to Azure Files

    The Microsoft Azure Import/Export service may fail to copy some of your files or parts of a file to the Windows Azure Blob service. Some reasons for failures include:

    Corrupted files, Damaged drives, The storage account key changed while the file was being transferred.

    RepairImport parameters

    After referring to the pre-requisites and if you are still facing any difficulties can you please share the screenshot of the error message. I wish to engage with you offline for a closer look and provide a quick and specialized assistance, please send an email with subject line “Attn:subm” to AzCommunity[at]Microsoft[dot]com referencing this thread and the Azure subscription ID, I will follow-up with you. Once again, apologies for any inconvenience with this issue.
    Thanks for your patience and co-operation.

    Kindly let us know if the above helps or you need further assistance on this issue.

    --------------------------------------------------------------------------------------------------------------------------------------------------

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.