Link to home
Start Free TrialLog in
Avatar of compdigit44
compdigit44

asked on

Migrating Classic Storage Account to ARM

We have a storage account in the classic portal which we want migrate to ARM and using this article as reference: https://ppolyzos.com/2016/08/07/migrate-azure-storage-account-from-classic-to-azure-resource-manager-arm/

The storage account we are try to migrate only contain a blob that hold all copied backup data from onprem and holds 145TB of data.  When we try to migrate the account we are getting the error below.

Move-AzureStorageAccount : XrpTemplateDeploymentFailed : Template
CloudStorage1-Template deployment failed.
CorrelationId=aa6738e9-0641-40ca-8abb-5a0f76de46db
At line:1 char:1
+ Move-AzureStorageAccount -Prepare -StorageAccountName $storageAccountName
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Move-AzureStorageAccount], Comp
   uteCloudException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagemen
   t.StorageServices.MoveStorageAccountCommand
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

At which stage you are getting error?
Avatar of compdigit44
compdigit44

ASKER

I get the error when trying to prepare the account...


Migrate your storage account

Step 1. Prepare the storage account for migration
$storageAccountName = "storagename"
Move-AzureStorageAccount -Prepare -StorageAccountName $storageAccountName
In the backend of migration service, we use Azure Resource Manager templates to create resources in the Azure Resource Manager stack. Since templates are idempotent, usually you can safely retry the migration operation to get past this error. If this error continues to persist, please contact Azure support and give them the CorrelationId.

Copied from list of errors
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/migration-classic-resource-manager-errors
Thank for you for the feedback. We have tried several time and each time get the same error and have opened a case with Azure support. For my own knowledge when migrating a storage account from the classic portal to ARM there is not a restrict on the size of or number of folders in the storage account correct?
ASKER CERTIFIED SOLUTION
Avatar of Mahesh
Mahesh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Best of the size is why we want to migrate the storage account and not copy the data to a new account
Is there a way to increase the timeout period for the Move-AzureStorageAccount  commandlet?
Support got back to use and asked use the following question: At any point was a disk image copied to the blob? At one point we did have a OVA and believe a VMDK or VMH file up there but has long since been deleted?

Thoughts???