Unable to change Azure Storage Account redundancy to GZRS

Zoddo 81 Reputation points
2024-10-23T17:36:32.29+00:00

Hello,

We have a storage account configured with ZRS that we wanted to move th GZRS.

I tried to change the redundancy config to GZRS in the portal (on the storage account: Data management > Redundancy), but that leads to an error (I sadly haven't noted it down).

I found documentation saying that we need to first go to GRS before enabling GZRS, but GRS is not an available "upgrade" from ZRS, so I first migrated the storage account to LRS, which succeeded.

Now, when I try to migrate to GRS, I get the following error:

Failed to update redundancy for storage account 'xxxxxxxx'. Error: Sku update from Standard_LRS to Standard_GRS is not allowed at the moment. Please try again later.

I get the same error RA-GRS. If I try to switch back to ZRS, I get another error:

Failed to update redundancy for storage account 'xxxxxxxx'. Error: Account migration is in progress.

However, the migration shows as "Completed" in the portal (and it has been completed for almost 72h now).

Any idea what can be the issue here, and how I can migrate this storage account GZRS?

Thanks!

PS: I deeply think it's an error on Azure's backend, but I'm unable to open a ticket with Azure Support because we don't have a support plan, and while we are in the process of evaluating Azure (with no critical production on it), I won't be allowed to commit to a $100/mo support plan (I already asked my management).

Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,538 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ashok Gandhi Kotnana 10,350 Reputation points Microsoft External Staff Moderator
    2024-10-23T19:16:25.97+00:00

    Hi Zoddo,

    Welcome to Microsoft Q&A Forum, thank you for posting your query here!

    If you're unable to update the redundancy of your Azure storage account directly from ZRS (Zone-Redundant Storage) to GZRS (Geo-Zone-Redundant Storage), a workaround is to create a new storage account with the desired redundancy and migrate the data. Here's how to do it using AzCopy or Azure Storage Explorer:

    Steps to Migrate Data to a New Storage Account

    1. Create a New Storage Account with GZRS
    • In the Azure Portal, create a new storage account.
    • Ensure that the Replication option is set to GZRS (Geo-Zone-Redundant Storage) during creation.
    1. Migrate Data Using AzCopy

    AzCopy is a command-line tool that can be used to copy data between storage accounts.

    • Download and install AzCopy.
    • Authenticate using:
    • Copy the blobs from the ZRS account to the new GZRS account:
    • Source is ZRS Destination is newly created GZRS

    Command example: azcopy copy "source storage account details" "destination storage account details"

    azcopy copy "https://<source_account_name>.blob.core.windows.net/<source_container>/<path>?<SAS_token>" "https://<destination_account_name>.blob.core.windows.net/<destination_container>/<path>?<SAS_token>" --recursive

    This will recursively copy all blobs from the ZRS container to the GZRS container.

    1. Migrate Data Using Azure Storage Explorer

    Azure Storage Explorer is a graphical tool that allows you to manage and transfer files between Azure storage accounts.

    • Download and install Azure Storage Explorer.
    • Connect both your old storage account (ZRS) and the new storage account (GZRS).
    • Navigate to the blobs in the ZRS account, select the containers/blobs you want to migrate, and use the "Copy" option.
    • Navigate to the destination storage account (GZRS) and use "Paste" to copy the data.
    1. Verify Data Migration
    • Ensure that all your data has been successfully copied to the new storage account.
    • Update any applications or services that depend on the storage account to point to the new GZRS storage account.

    Please refer this article AzCopy documentation and Azure Storage Explorer documentation.
    Please let us know if you have any further queries. I’m happy to assist you further. 

    Hope this helps!

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


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

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.