You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AKS-Arc/delete-storage-volume.md
+18-4Lines changed: 18 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,9 @@ description: Learn how to mitigate issues after deleting storage volumes.
4
4
author: sethmanheim
5
5
ms.author: sethm
6
6
ms.topic: troubleshooting
7
-
ms.date: 02/28/2025
7
+
ms.date: 07/18/2025
8
+
ms.reviewer: guanghu
9
+
ms.lastreviewed: 07/18/2025
8
10
9
11
---
10
12
@@ -18,10 +20,22 @@ AKS Arc workload data is stored on Azure Local storage volumes, including the AK
18
20
19
21
## Workaround
20
22
21
-
To manage storage volumes on Azure Local, follow these steps:
23
+
If the storage volume is accidentally deleted, you can mitigate the issue by recreating the storage path using the Azure CLI. For more information, see [Create storage path for Azure Local](/azure/azure-local/manage/create-storage-path). For example:
22
24
23
-
- Ensure that you deleted all the storage path(s) that are created on that storage volume. Deleting storage paths raises an alert to indicate the workload that was stored on it. To delete the storage path, see [Delete a storage path](/azure/azure-local/manage/create-storage-path?view=azloc-24112&preserve-view=true&tabs=azurecli#delete-a-storage-path).
24
-
- If you have an AKS Arc cluster that must be deleted, see [Delete the AKS Arc cluster](aks-create-clusters-cli.md#delete-the-cluster).
25
+
```azurecli
26
+
$storagepathname="<Storage path name>"
27
+
$path="<Path on the disk to cluster shared volume>"
28
+
$subscription="<Subscription ID>"
29
+
$resource_group="<Resource group name>"
30
+
$customLocName="<Custom location of your Azure Local>"
Once the storage path is recreated, the [MOC service](concepts-node-networking.md#microsoft-on-premises-cloud-service) automatically re-downloads the required **MocGalleryImages**.
0 commit comments