Skip to content

vSAN ClusterType incorrect #52

Description

@MallocArray

In the file Get-vSANInfo.ps1 the section for determining if a cluster if Hybrid or Flash is incorrect. It is counting how many SSD disks are in the cluster and if the count is greater than 0 it marks it as Hybrid which is backwards.

Proposed solution would be either $.IsSsd -ne $true or $.IsSsd -eq $false

Current code

        $magneticDiskCounter = ($vSanDisks | Where-Object {$_.IsSsd -eq $true}).Count
        if ($magneticDiskCounter -gt 0) {
            $clusterType = "Hybrid"
        }
        else {
            $clusterType = "Flash"
        } #END if/else

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions