How to modify an Azure file share

This article explains how to adjust the size, cost, and performance characteristics of Azure Files file shares by using the Azure portal, Azure PowerShell, and Azure CLI.

Change the cost and performance characteristics of a classic file share

After creating your classic file share, you might need to adjust the provisioning (provisioned models) or access tier (pay-as-you-go model) of the share. The following sections show you how to adjust the relevant properties for your share.

Change the cost and performance characteristics of a provisioned v2 classic file share

After creating your provisioned v2 classic file share, you can change one or all three of the provisioned quantities of your file share. You can dynamically scale up or down the amount of storage, IOPS, and throughput you provision as your needs change. However, you can only decrease a provisioned quantity after 24 hours elapse since your last quantity increase. Storage, IOPS, and throughput changes take effect within a few minutes after a provisioning change.

Follow these instructions to update the provisioning for your file share.

  1. Go to your storage account. From the service menu, under Data storage, select Classic file shares.

  2. In the file share listing, select the file share for which you want to change the provisioning.

  3. In the file share overview, select Change size and performance.

    A screenshot of the Change size and performance button in the file share overview.

  4. The Size and performance pop out dialog has the following options:

    A screenshot of the Size and performance pop out dialog.

    • Provisioned storage (GiB): The amount of storage provisioned on the share.

    • Provisioned IOPS and throughput: A set of radio buttons that you use to select between Recommended provisioning and Manually specify IOPS and throughput. If your share is at the recommended IOPS and throughput level for the amount of storage provisioned, Recommended provisioning is selected; otherwise, Manually specify IOPS and throughput is selected. You can toggle between these two options depending on your desire to change share provisioning.

      • IOPS: If you select Manually specify IOPS and throughput, this textbox enables you to change the amount of IOPS provisioned on this file share.

      • Throughput (MiB/sec): If you select Manually specify IOPS and throughput, this textbox enables you to change the amount of throughput provisioned on this file share.

  5. Select Save to save provisioning changes. Storage, IOPS, and throughput changes take effect within a few minutes after a provisioning change.

Change the cost and performance characteristics of a provisioned v1 classic file share

After creating your provisioned v1 file share, you can change the provisioned storage size of the file share. When you change the provisioned storage size, you also change the amount of provisioned IOPS and provisioned throughput. You can only decrease the provisioned storage after 24 hours have elapsed since your last storage increase. Storage, IOPS, and throughput changes take effect within a few minutes after a provisioning change. For more information, see provisioned v1 provisioning detail.

Follow these instructions to update the provisioning for your file share.

  1. Go to your storage account. From the service menu, under Data storage, select Classic file shares.

  2. In the file share listing, select the file share for which you want to change the provisioning.

  3. In the file share overview, select Change size and performance.

    A screenshot of the Change size and performance button in the file share overview.

  4. The Size and performance dialog has a single option, Provisioned storage (GiB). If you need more IOPS or throughput than the given amount of provisioned storage provides, you can increase your provisioned storage capacity to get extra IOPS and throughput.

    A screenshot of the "Size and performance" dialog for provisioned v1 file shares.

  5. Select Save to save provisioning changes. Storage, IOPS, and throughput changes take effect within a few minutes after a provisioning change.

Change the cost and performance characteristics of a pay-as-you-go classic file share

After you create your pay-as-you-go file share, you might want to change two properties:

  • Access tier: The access tier of the file share dictates the ratio of storage to IOPS and throughput costs (in the form of transactions). There are three access tiers: transaction optimized, hot, and cool. Changing the tier of the Azure file share results in transaction costs for the movement to the new access tier. For more information, see switching between access tiers.

  • Quota: Quota is a limit on the size of the file share. The quota property is used in the provisioned v2 and provisioned v1 models to mean "provisioned storage capacity". However, in the pay-as-you-go model, quota has no direct impact on billing. The two primary reasons you might want to modify this property are if you use quota to limit the growth of your file share to keep control of the used storage and transaction costs in the pay-as-you-go model, or if you have a storage account predating the introduction of the large file share feature, which enabled file shares to grow beyond 5 TiB. The maximum file share size for a pay-as-you-go file share is 100 TiB.

To update the access tier of your file share by using the Azure portal, follow these steps:

  1. Go to your storage account. From the service menu, under Data storage, select Classic file shares.

  2. In the file share listing, select the file share for which you want to change the access tier.

  3. In the file share overview, select Change tier.

  4. Select the desired Access tier from the provided drop-down list.

  5. Select Apply to save the access tier change.

To update the quota of your file share by using the Azure portal, follow these steps:

  1. Go to your storage account. From the service menu, under Data storage, select Classic file shares.

  2. In the file share listing, select the file share for which you want to change the quota.

  3. In the file share overview, select Edit quota.

  4. In the Edit quota pop-out, enter the desired maximum size of the share or select Set to maximum. There's no cost implication of setting the share to the maximum size.

  5. Select OK to save quota changes. The new quota is effective within a few minutes.

Delete a classic file share

You might want to delete unused or outdated file shares. You can recover file shares in storage accounts with soft delete enabled within the retention period.

Follow these instructions to delete a classic file share by using the Azure portal.

  1. Go to your storage account. From the service menu, under Data storage, select Classic file shares.

  2. In the file share list, select the ... for the file share you want to delete.

  3. Select Delete share from the context menu.

  4. The Delete pop-out contains a survey about why you're deleting the file share. You can skip this step, but we appreciate any feedback you have on Azure Files, particularly if something isn't working properly for you.

  5. Enter the file share name to confirm deletion and then select Delete.

Next steps