should Advisor recommendations include unattached disks created by active ASR replication activity?

Matthew Blessing 46 Reputation points
2023-02-16T16:11:17.2966667+00:00

I see recommendations that include disks that are unattached to a VM, but they are "ASRReplica" disks used by ASR. If these are actively used by ASR, why do they show up in the Advisor Cost recommendations?

The disks in questions show up with diskState: $disk.properties.diskState -EQ "ActiveSAS"

Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
671 questions
Azure Advisor
Azure Advisor
An Azure personalized recommendation engine that helps users follow best practices to optimize Azure deployments.
50 questions
{count} votes

Accepted answer
  1. Prrudram-MSFT 22,941 Reputation points
    2023-02-27T14:15:53.6533333+00:00

    Hello @Matthew Blessing

    The reason these disks show up in the Advisor Cost Recommendations is because they are still considered as active disks and are consuming storage resources however aren't yet attached to any VM. ASR just replicates managed disks without a VM, only upon a failover/Migration it creates the VMs using those replicated disks.

    So, Azure Advisor sees them as just unattached disks in the subscription and reports them based on cost cutting recommendations as per the below advisory.

    https://video2.skills-academy.com/en-us/azure/advisor/advisor-reference-cost-recommendations#you-have-disks-which-have-not-been-attached-to-a-vm-for-more-than-30-days-please-evaluate-if-you-still-need-the-disk

    Evaluating such recommendations is must as suggested in the above document link.

    Hope this helps!

    If this does answer your question, please accept it as the answer as a token of appreciation.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful