Get-ClusterAvailableDisk
Get-ClusterAvailableDisk
Get information about the disks that can support failover clustering and are visible to all nodes, but are not yet part of the set of clustered disks.
Syntax
Get-ClusterAvailableDisk [-InputObject <psobject>] [-Cluster <string>] [<CommonParameters>]
InputObject
Cluster
Detailed Description
If a disk is unexpectedly missing from the list of disks that are available for use in the cluster, make sure that the configuration of the storage allows the operating system on all clustered servers to recognize and mount the disk as needed. The disk must be a basic disk (not a dynamic disk) and should not be exposed to any other servers.
Parameters
Cluster
Specifies the name of the cluster to run this cmdlet on. If you type "-Cluster ." or omit the parameter, the cmdlet runs on the local cluster.
Default Value: **
Data Type: string
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
InputObject
Specifies the cluster to enumerate available shared disks on.
Default Value: **
Data Type: psobject
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
true (ByValue) |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
Input Type
Microsoft.FailoverClusters.PowerShell.Cluster
Return Type
Microsoft.FailoverClusters.PowerShell.ClusterDiskInfo
Examples
-------------------------- EXAMPLE 1 --------------------------
Command Prompt: C:\PS>
Get-ClusterAvailableDisk
Cluster : cluster1
Id : 2654136007
Name : Cluster Disk 4
Number : 7
ScsiAddress : 50331651
Size : 2097152000
Partitions : {\\?\GLOBALROOT\Device\Harddisk7\Partition1\}
Cluster : cluster1
Id : 2654136015
Name : Cluster Disk 5
Number : 9
ScsiAddress : 67108867
Size : 2097152000
Partitions : {\\?\GLOBALROOT\Device\Harddisk9\Partition1\}
Description
-----------
This command lists the disks that are ready to be added to the cluster.
-------------------------- EXAMPLE 2 --------------------------
Command Prompt: C:\PS>
Get-ClusterAvailableDisk | Add-ClusterDisk
Name State Group ResourceType
---- ----- ----- ------------
Cluster Disk 4 OnlinePending Available Storage Physical Disk
Cluster Disk 5 OnlinePending Available Storage Physical Disk
Description
-----------
This command adds all disks that are ready to be added to the local cluster.