启用和创建大型文件共享Enable and create large file shares

在存储帐户中启用大型文件共享时,文件共享最大可以扩展到 100 TiB。When you enable large file shares on your storage account, your file shares can scale up to 100 TiB. 可以在现有存储帐户中为现有的文件共享启用此缩放。You can enable this scaling on your existing storage accounts for your existing file shares.

先决条件Prerequisites

限制Restrictions

目前,只能在启用了大型文件共享的帐户中使用本地冗余存储 (LRS)。For now, you can only use locally-redundant storage (LRS) on large file share–enabled accounts. 不能使用异地冗余存储 (GRS) 或读取访问异地冗余存储 (RA-GRS)。You can't use geo-redundant storage (GRS), or read-access geo-redundant storage (RA-GRS).

在帐户中启用大型文件共享是一个不可逆的过程。Enabling large file shares on an account is an irreversible process. 启用后,无法将帐户转换为 GRS 或 RA-GRS。After you enable it, you won't be able to convert your account to GRS, or RA-GRS.

新建存储帐户Create a new storage account

  1. 登录到 Azure 门户Sign in to the Azure portal.

  2. 在 Azure 门户中,选择“所有服务”。In the Azure portal, select All services.

  3. 在资源列表中输入“存储帐户”。In the list of resources, enter Storage Accounts. 键入时,列表会根据输入的内容进行筛选。As you type, the list filters based on your input. 选择“存储帐户”。Select Storage Accounts.

  4. 在显示的“存储帐户”窗口中,选择“添加”。 On the Storage Accounts window that appears, select Add.

  5. 选择用于创建存储帐户的订阅。Select the subscription that you'll use to create the storage account.

  6. 在“资源组”字段下,选择“新建”。Under the Resource group field, select Create new. 输入新资源组的名称。Enter a name for your new resource group.

    显示如何在门户中创建资源组的屏幕截图

  7. 然后,输入存储帐户的名称。Next, enter a name for your storage account. 该名称在 Azure 中必须唯一。The name must be unique across Azure. 该名称的长度必须是 3 到 24 个字符,只能包含数字和小写字母。The name also must be 3 to 24 characters in length, and it can only have numbers and lowercase letters.

  8. 选择存储帐户的位置。Select a location for your storage account.

  9. 将复制设置为“本地冗余存储”。Set the replication to either Locally redundant storage.

  10. 将以下字段保留其默认值:Leave these fields at their default values:

    字段Field ValueValue
    部署模型Deployment model Resource ManagerResource Manager
    性能Performance 标准Standard
    帐户类型Account kind StorageV2(常规用途 v2)StorageV2 (general-purpose v2)
    访问层Access tier Hot
  11. 选择“高级”,然后选择“大型文件共享”右侧的“已启用”选项按钮。 Select Advanced, and then select the Enabled option button to the right of Large file shares.

  12. 选择“查看+创建”可查看存储帐户设置并创建帐户。Select Review + Create to review your storage account settings and create the account.

    Azure 门户中新存储帐户对应的“已启用”选项按钮的屏幕截图

  13. 选择“创建” 。Select Create.

在现有帐户中启用大型文件共享Enable large files shares on an existing account

也可以在现有帐户中启用大型文件共享。You can also enable large file shares on your existing accounts. 如果启用大型文件共享,将无法转换为 GRS 或 RA-GRS。If you enable large file shares, you won't be able to convert to GRS, or RA-GRS. 在此存储帐户中启用大型文件共享的操作不可逆。Enabling large file shares is irreversible on this storage account.

  1. 打开 Azure 门户,转到要在其中启用大型文件共享的存储帐户。Open the Azure portal, and go to the storage account where you want to enable large file shares.
  2. 打开存储帐户并选择“配置”。Open the storage account and select Configuration.
  3. 选择“大型文件共享”对应的“已启用”,然后选择“保存”。 Select Enabled on Large file shares, and then select Save.
  4. 依次选择“概述”、“刷新”。 Select Overview and select Refresh.

在 Azure 门户中选择现有存储帐户对应的“已启用”选项按钮

现已在存储帐户中启用大型文件共享。You've now enabled large file shares on your storage account. 接下来,必须更新现有共享的配额才能利用提高的容量和规模。Next, you must update existing share's quota to take advantage of increased capacity and scale.

创建大型文件共享Create a large file share

在存储帐户中启用大型文件共享后,可以在该帐户中创建配额更高的文件共享。After you've enabled large file shares on your storage account, you can create file shares in that account with higher quotas.

创建大型文件共享的过程与创建标准文件共享几乎完全相同。Creating a large file share is almost identical to creating a standard file share. 主要差别在于,配额最高可以设置为 100 TiB。The main difference is that you can set a quota up to 100 TiB.

  1. 在存储帐户中选择“文件共享”。From your storage account, select File shares.
  2. 选择“+ 文件共享”。Select + File share.
  3. 输入文件共享的名称。Enter a name for your file share. 也可以设置所需的配额大小,不超过 100 TiB 即可。You can also set the quota size you'd like, up to 100 TiB. 然后选择“创建”。Then select Create.

显示“名称”和“配额”框的 Azure 门户 UI

扩展现有的文件共享Expand existing file shares

在存储帐户中启用大型文件共享后,还可以将该帐户中的现有文件共享扩展到更高的配额。After you've enabled large file shares on your storage account, you can also expand existing file shares in that account to the higher quota.

  1. 在存储帐户中选择“文件共享”。From your storage account, select File shares.
  2. 右键单击文件共享并选择“配额”。Right-click your file share, and then select Quota.
  3. 输入所需的新大小,然后选择“确定”。Enter the new size that you want, and then select OK.

显示了现有文件共享配额的 Azure 门户 UI

后续步骤Next steps