See what vSAN Storage Policies are used by all vSAN objects on a vSAN cluster
search cancel

See what vSAN Storage Policies are used by all vSAN objects on a vSAN cluster

book

Article ID: 398515

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

This article explains how to see what vSAN storage policies are applied to all the vSAN objects on a vSAN cluster via CLI.

Environment

VMware vSAN (All Versions)

Resolution

To see what storage policies are used by the vSAN objects in the cluster:

  1. Open SSH to any host in the vSAN cluster.

  2. Run command esxcli vsan debug object list --all |grep spbmProfileName|sed 's/.*spbmProfileName//' | sort | uniq -c to get a list of the vSAN Storage policies used, and the number of vSAN objects using each of the storage policies:

    Example output:


    In the above example, 580 objects are using "vSAN" storage policy and 812 objects are using "vSAN_FTT_1" storage policy.

  3. To validate the configuration of each vSAN storage policy, navigate to vSphere Client > Menu > Policies and Profiles > VM Storage Policies > Here the storage policies seen in the output of Step 3 can be verified.