How to change LRS to GRS for Azure Data Lake Storage storage

Michal Sumega 25 Reputation points
2023-12-20T09:58:24.6133333+00:00

Hi all,

I would like to change an existing storage account from LRS to GRS - however, when I try to do it via Azure portal -> Data management -> Redundancy, I get a message below:

"Failed to update redundancy for storage account 'tplrepository'. Error: Storage account XXXX is LFS enabled and may not be converted to a georeplication enabled sku"

Is there a way to disable LFS for existing storage ... or change to GRS with LFS enabled?

Thank you.

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

2 answers

Sort by: Most helpful
  1. Vinodh247 35,141 Reputation points MVP Volunteer Moderator
    2023-12-20T14:35:10.57+00:00

    Hi
    Michal Sumega:

    Providing you links and articles so you can explore and customize your requirement with alternatives. Pls do check

    https://learn.microsoft.com/en-us/azure/storage/common/redundancy-migration?tabs=portal#feature-conflicts

    How to enable large file share in your Azure Subscription

    https://t.ly/X8xjD

    Large file shares: This field enables the storage account for file shares spanning up to 100 TiB. Enabling this feature will limit your storage account to only locally redundant and zone redundant storage options. Once a GPv2 storage account has been enabled for large file shares, you can't disable the large file share capability. FileStorage storage accounts (storage accounts for premium file shares) don't have this option, as all premium file shares can scale up to 100 TiB.

    https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-create-file-share?tabs=azure-portal#enable-large-file-shares-on-an-existing-account

    Please 'Upvote’(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue


  2. Sumarigo-MSFT 47,471 Reputation points Microsoft Employee Moderator
    2023-12-21T07:35:55.6966667+00:00

    @Michal Sumega Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    Standard file shares offer locally-redundant (LRS), zone redundant (ZRS), geo-redundant (GRS), or geo-zone-redundant (GZRS) storage, however the large file share feature is only supported on locally redundant and zone redundant file shares. Premium file shares don't support any form of geo-redundancy.

    • This article provides detailed information on GRS and its features!

    The error message you received indicates that the storage account has LFS (Locally Redundant Storage) enabled and cannot be converted to a georeplication enabled SKU like GRS (Geo-Redundant Storage).

    Unfortunately, there is no way to disable LFS for an existing storage account or change to GRS with LFS enabled. You will need to create a new storage account with the desired SKU and migrate your data to the new storage account.

    Here are the general steps to migrate your data to a new storage account:

    Create a new storage account with the desired SKU (in this case, GRS).

    1. Copy your data from the old storage account to the new storage account using a tool like AzCopy or Azure Storage Explorer.

    Update your applications to use the new storage account.

    Verify that your applications are working correctly with the new storage account.

    Delete the old storage account once you have verified that your applications are working correctly with the new storage account.

    You may leave your feedback here. All the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.

    Please let us know if you have any further queries. I’m happy to assist you further.     


    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.