File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,41 @@ Follow these steps in the Azure portal for your Azure Local instance:
72
72
73
73
---
74
74
75
+ ## Expand a data disk
76
+
77
+ You can expand an existing data disk to your desired size using Azure CLI.
78
+
79
+ > [ !NOTE]
80
+ >
81
+ > - The size you're changing the data disk to can't be the same or less than the original size of the data disk.
82
+ > - The maximum size the disk can expand to depends on the storage capacity of the cluster. Hyper-V also imposes a VHD max of 2TB and VHDx max of 64TB.
83
+
84
+ To expand the size of your data disk using Azure CLI, run the following command:
85
+
86
+ ``` azurecli
87
+ az stack-hci-vm disk update --name $name --resource-group $resource_group --size-gb $size_in_gb
88
+ ```
89
+
90
+ Here's a sample output that indicates successful resizing of the data disk:
91
+
92
+ ``` Output
93
+ {
94
+ "endTime": "2025-03-17T17:55:49.3271204Z",
95
+ "error": {},
96
+ "extendedLocation": null,
97
+ "id": "/providers/Microsoft.AzureStackHCI/locations/EASTUS2EUAP/operationStatuses/00000000-0000-0000-0000-000000000000*0000000000000000000000000000000000000000000000000000000000000000",
98
+ "location": null,
99
+ "name": "00000000-0000-0000-0000-000000000000*0000000000000000000000000000000000000000000000000000000000000000",
100
+ "properties": null,
101
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.AzureStackHCI/virtualHardDisks/dataDiskName",
102
+ "startTime": "2025-03-17T17:55:25.8868586Z",
103
+ "status": "Succeeded",
104
+ "systemData": null,
105
+ "tags": null,
106
+ "type": null
107
+ }
108
+ ```
109
+
75
110
## Delete a data disk
76
111
77
112
Follow these steps in the Azure portal for your Azure Local instance:
You can’t perform that action at this time.
0 commit comments