Skip to main content

storage raid-options show

Contributors
Suggest changes

Display RAID options

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The storage raid-options show command displays information about all the RAID options in a cluster. The options are described in the storage raid-options manual page.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-node {<nodename>|local}] - Node

Selects information about all the RAID options on the specified node.

[-name <text>] - Option Name

Selects information about the RAID options that have the specified name.

[-value <text>] - Option Value

Selects information about all the RAID options that have the specified value.

[-recommended-value <text>] - Recommended Value

Selects information about all the RAID options that have the specified recommended value.

[-constraint <text>] - Option Constraint

Selects information about all the RAID options that have the specified constraint. The 'constraint' field indicates the expected setting for a RAID option across both nodes of an HA pair. The possible values are:

  • none - no constraint on the value of this RAID option; nodes can have different values

  • same_preferred - the same value should be used on both nodes of an HA pair, otherwise the next takeover may not function correctly

  • same_required - the same value must be used on both nodes of an HA pair, otherwise the next takeover will not function correctly

  • only_one - the same value should be used on both nodes of an HA pair. If the values are different and a takeover is in progress, the value of the RAID option on the node that is taking over will be used

  • unknown - no information about constraints for this RAID option

Examples

The following example shows the RAID scrub settings for a node named node1:

cluster1::> storage raid-options show -node node1 -name raid.scrub*
                                               Current      Recommended
Node     Option                                Value        Value         Constraint
-------- ------------------------------------- ------------ -----------   -----------
node1    raid.scrub.perf_impact                low          low           only_one
node1    raid.scrub.enable                     on           off           none
2 entries were displayed.