Storage Paths - hide from VM deployment in Azure Local

MB 90 Reputation points
2026-05-26T04:53:57.38+00:00

Is there a way to hide newly created storage paths so that they don't get used by VM deployments in Azure Local? Just like the infrastructure path.

For example, we have 4 User Storage paths used for VM deployments. A new storage path was created to store VM images, but I don't want that used for anything but images.

User's image

Azure Local

1 answer

Sort by: Oldest
  1. AI answer

    2026-05-26T04:54:13.7366667+00:00

    Azure Local does not provide a mechanism to “hide” a storage path from VM deployments while still keeping it available for other resources such as images.

    Storage paths are cluster-level resources that are always available for placement of VM OS/data disks, images, and other VM-related resources. Placement behavior is controlled only by:

    • Whether a storage path is specified explicitly when creating a VM/image/disk (--storage-path-id or Choose manually in the portal), or
    • The automatic round‑robin/first‑path selection when no storage path is specified.

    To ensure a storage path is used only for images, the supported approach is operational rather than configuration-based:

    1. Always select one of the “UserStorage_X” paths for VM OS and data disks (portal: Choose manually → pick a UserStorage path; CLI: pass the desired --storage-path-id).
    2. Use the dedicated “images” storage path only when creating or managing VM images.
    3. Avoid using Choose automatically for workloads if that could place VMs on the image path.

    There is no documented setting to mark a storage path as “image‑only” or to exclude it from the storage path list for VM creation.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.