Skip to content

Commit 47bbe55

Browse files
Merge pull request #311162 from khdownie/kendownie013026
replace screenshot for create pv2 file share
2 parents 4d26cfd + a35063d commit 47bbe55

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

articles/storage/files/create-classic-file-share.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ The **Access protocols** section applies only to Azure Blob storage, even in Fil
9999
| Field name | Input type | Values | Applicable to Azure Files | Meaning |
100100
| ----------------------------- | ---------- | ----------------- | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
101101
| Enable SFTP | Checkbox | Checked/unchecked | No | This is an Azure Blob storage only setting. This setting is disabled for FileStorage storage accounts, but is active for storage accounts using the pay-as-you-go model, even if Azure Files is selected as the primary service. |
102-
| Enable network file system v3 | Checkbox | Checked/unchecked | No | This is an Azure Blob storage only setting. This setting is disabled for FileStorage storage accounts, but is active for storage accounts using the pay-as-you-go model. SSD storage accounts can create NFS v4.1 file shares even though this setting is unchecked; in Azure Files, the file share's protocol is selected on the file share, not the storage account. |
102+
| Enable network file system v3 | Checkbox | Checked/unchecked | No | This is an Azure Blob storage only setting. This setting is disabled for FileStorage storage accounts, but is active for storage accounts using the pay-as-you-go model. SSD storage accounts can create NFSv4.1 file shares even though this setting is unchecked; in Azure Files, the file share's protocol is selected on the file share, not the storage account. |
103103

104104
The **Blob storage** section applies only to Azure Blob storage use, even in FileStorage storage accounts using the provisioned v1 or provisioned v2 models which can only contain Azure file shares.
105105

@@ -293,7 +293,7 @@ After you create a storage account, you can create a classic file share. This pr
293293
When you create a classic file share using the provisioned v2 billing model, you specify how much storage, IOPS, and throughput your file share needs. The amount of each quantity that you provision determines your total bill. We provide a recommendation for how many IOPS and how much throughput you need based on the amount of provisioned storage you specify. Depending on your requirements, you might find that you require more or less IOPS or throughput than our recommendations, and can optionally override these recommendations with your own values as desired. To learn more, see [Understanding the provisioned v2 billing model](./understanding-billing.md#provisioned-v2-model).
294294

295295
> [!IMPORTANT]
296-
> Before you create a provisioned v2 classic file share, make sure the storage account you intend to use is of the *FileStorage* storage account kind. To check the account kind, navigate to the storage account and look under **Essentials**. When you created your storage account, you must have selected *Provisioned v2* for **File share billing**.
296+
> Before you create a provisioned v2 classic file share, make sure the storage account you intend to use is of the *FileStorage* storage account kind. To check the account kind, navigate to the storage account and look under **Essentials**. If you created your storage account using the Azure portal, you must have selected *Provisioned v2* for **File share billing**.
297297
298298
# [Portal](#tab/azure-portal)
299299

@@ -307,7 +307,7 @@ Follow these instructions to create a provisioned v2 classic file share using th
307307

308308
3. Complete the field in the **Basics** tab of the new file share blade:
309309

310-
![A screenshot of the basics tab in the new file share blade (provisioned v2).](./media/storage-how-to-create-file-share/create-file-share-provisioned-v2-1.png)
310+
![A screenshot of the basics tab in the new file share blade (provisioned v2)](./media/storage-how-to-create-file-share/create-file-share-provisioned-v2-1.png)
311311

312312
- **Name**: The name of the file share to be created. The name of your file share must be all lower-case letters, numbers, and single hyphens, and must begin and end with a lower-case letter or number. The name can't contain two consecutive hyphens. For details about naming file shares and files, see [Naming and referencing shares, directories, files, and metadata](/rest/api/storageservices/Naming-and-Referencing-Shares--Directories--Files--and-Metadata).
313313

@@ -318,6 +318,8 @@ Follow these instructions to create a provisioned v2 classic file share using th
318318
- **IOPS**: If you select _Manually specify IOPS and throughput_, this textbox enables you to enter the amount of IOPS you want to provision on this file share.
319319

320320
- **Throughput (MiB/sec)**: If you select _Manually specify IOPS and throughput_, this textbox enables you to enter the amount of throughput you want to provision on this file share.
321+
322+
- **Protocol:** The file sharing protocol to use on the share. By default, new shares use the SMB protocol. Select the NFS protocol to create an NFSv4.1 share.
321323

322324
4. Select the **Backup** tab. By default, [backup is enabled](../../backup/backup-azure-files.md) when you create a classic file share using the Azure portal. If you want to disable backup for the file share, uncheck the **Enable backup** checkbox. If you want backup enabled, you can either leave the defaults or create a new Recovery Services Vault in the same region and subscription as the storage account. To create a new backup policy, select **Create a new policy**.
323325

@@ -339,7 +341,10 @@ $provisionedStorageGib = 1024
339341
$provisionedIops = 3000
340342
$provisionedThroughputMibPerSec = 130
341343
342-
New-AzRmStorageShare -ResourceGroupName $resourceGroupName -AccountName $storageAccountName -ShareName $shareName -QuotaGiB $provisionedStorageGib;
344+
# The protocol chosen for the file share. Valid settings are "SMB" and "NFS".
345+
$protocol = "SMB"
346+
347+
New-AzRmStorageShare -ResourceGroupName $resourceGroupName -AccountName $storageAccountName -ShareName $shareName -QuotaGiB $provisionedStorageGib -EnabledProtocol $protocol;
343348
# -ProvisionedBandwidthMibps $provisionedThroughputMibPerSec -ProvisionedIops $provisionedIops
344349
$f = Get-AzRmStorageShare -ResourceGroupName $resourceGroupName -AccountName $storageAccountName -ShareName $shareName;
345350
$f | fl
@@ -362,7 +367,10 @@ provisionedStorageGib=1024
362367
provisionedIops=3000
363368
provisionedThroughputMibPerSec=130
364369

365-
az storage share-rm create --resource-group $resourceGroupName --name $shareName --storage-account $storageAccountName --quota $provisionedStorageGib
370+
# The protocol chosen for the file share. Valid settings are "SMB" and "NFS".
371+
protocol="SMB"
372+
373+
az storage share-rm create --resource-group $resourceGroupName --name $shareName --storage-account $storageAccountName --quota $provisionedStorageGib --enabled-protocols $protocol
366374
# --provisioned-iops $provisionedIops --provisioned-bandwidth-mibps $provisionedThroughputMibPerSec
367375
```
368376

@@ -373,7 +381,7 @@ az storage share-rm create --resource-group $resourceGroupName --name $shareName
373381
When you create a classic file share using the provisioned v1 billing model, which only supports SSD file shares, you specify how much storage your share needs. IOPS and throughput capacity are then computed for you based on how much storage you provisioned. Depending on your individual file share requirements, you might find that you require more IOPS or throughput than our recommendations. In this case, you need to provision more storage to get the required IOPS or throughput. To learn more, see [Understanding the provisioned v1 billing model](./understanding-billing.md#provisioned-v1-model).
374382

375383
> [!IMPORTANT]
376-
> Before you create a provisioned v1 classic file share, make sure the storage account you intend to use is of the *FileStorage* storage account kind. To check the account kind, navigate to the storage account and look under **Essentials**. When you created the storage account, you must have selected *Provisioned v1* for **File share billing**.
384+
> Before you create a provisioned v1 classic file share, make sure the storage account you intend to use is of the *FileStorage* storage account kind. To check the account kind, navigate to the storage account and look under **Essentials**. If you created your storage account using the Azure portal, you must have selected *Provisioned v1* for **File share billing**.
377385
378386
# [Portal](#tab/azure-portal)
379387

@@ -393,7 +401,7 @@ Follow these instructions to create an SSD provisioned v1 classic file share usi
393401

394402
- **Provisioned storage (GiB)**: The amount of storage to provision on the share. The provisioned storage capacity is the amount that you're billed for regardless of actual usage.
395403

396-
- **Protocol**: The file sharing protocol to use on the share. By default, new shares use the SMB protocol. Select the NFS protocol to create an NFS v4.1 share.
404+
- **Protocol**: The file sharing protocol to use on the share. By default, new shares use the SMB protocol. Select the NFS protocol to create an NFSv4.1 share.
397405

398406
4. Select the **Backup** tab. By default, [backup is enabled](../../backup/backup-azure-files.md) when you create an Azure file share using the Azure portal. If you want to disable backup for the file share, uncheck the **Enable backup** checkbox. If you want backup enabled, you can either leave the defaults or create a new Recovery Services Vault in the same region and subscription as the storage account. To create a new backup policy, select **Create a new policy**. NFS shares don't support Azure Backup.
399407

@@ -456,7 +464,7 @@ az storage share-rm create \
456464
Pay-as-you-go file shares (SMB only) have a property called **access tier**. All three access tiers are stored on the exact same HDD storage hardware. The main difference for these three access tiers is their data at-rest storage prices, which are lower in cooler tiers, and the transaction prices, which are higher in the cooler tiers. To learn more about the differences between tiers, see [differences in access tiers](./understanding-billing.md#differences-in-access-tiers).
457465

458466
> [!IMPORTANT]
459-
> Before you create a pay-as-you-go classic file share, make sure the storage account you intend to use is of the *StorageV2 (general purpose v2)* storage account kind. To check the account kind, navigate to the storage account and look under **Essentials**. When you created your storage account, you must have selected *Pay-as-you-go file shares* for **File share billing**.
467+
> Before you create a pay-as-you-go classic file share, make sure the storage account you intend to use is of the *StorageV2 (general purpose v2)* storage account kind. To check the account kind, navigate to the storage account and look under **Essentials**. If you created your storage account using the Azure portal, you must have selected *Pay-as-you-go file shares* for **File share billing**.
460468
461469
# [Portal](#tab/azure-portal)
462470

226 Bytes
Loading

0 commit comments

Comments
 (0)