enclosure_console write

Writes a ‑request or other option to the specified I/O module for the specified Enclosure. This option should never be used except as directed by Oracle Customer Support.

SYNOPSIS

enclosure_console ‑write 
   ‑enclosure enclosure‑id‑or‑fqn
   ‑iom {0 | 1}
   ‑request enclosure‑console‑request
   [{‑readAfter | ‑noReadAfter}]
   [ ‑poll read‑interval‑in‑seconds
     [‑duration duration‑in‑seconds]
   ]

   [{‑sessionKey | ‑u admin‑user ‑oracleFS oracle‑fs‑system}]
   [{‑outputformat | ‑o} { text | xml }]
   [{‑timeout timeout‑in‑seconds | ‑verify | ‑usage | ‑example | ‑help}] 

DESCRIPTION

A Oracle Customer Support representative might request that you send commands to the Drive Enclosure through specified the I/O module. If the write operation does not complete after a reasonable amount of time, type Ctrl‑C to stop writing data or sending an instruction.

Only administrators with primary administrator or support roles are authorized to run the enclosure_console commands.
CAUTION
Use Drive Enclosure console commands only under the direction of Oracle Customer Support. Your Oracle Customer Support representative uses console commands to gather diagnostic information or to resolve problematic conditions that cannot be researched or resolved another way.

OPTIONS

duration

Specifies number of seconds that the console reads data from the specified Drive Enclosure. If the read does not terminate after the specified number of seconds, to discontinue reading, enter Ctrl-C. This option requires that you also specify the ‑poll option.

enclosure

Specifies the fully qualified name (FQN) or unique identifier (ID) of the Drive Enclosure.

iom

Specifies the I/O module to which the Drive Enclosure console on the Controller directs writes. Valid values are 0 and 1.

noReadAfter

Indicates that a read operation is not automatically initiated as soon as a write operation completes.

poll

Specifies the time interval in seconds between console reads. During a read operation, you cannot enter new commands. To discontinue reading, enter Ctrl-C. This option requires that you also specify the ‑readAfter option.

readAfter

Initiates a read operation on the specified Drive Enclosure after a write operation completes. If no other option is specified, this option is the default.

request

Specifies the RAID console request of no more than 2048 characters. Use double quotes around names containing one or more spaces or dashes to prevent parsing errors.

EXAMPLE

Task

Check for the status of drives in a Drive Enclosure.

Parameters
  • The FQN of the Drive Enclosure: /⁠ENCLOSURE‑00

  • The identifier of the I/O Module: 0

$ fscli enclosure_console ‑write ‑enclosure /⁠ENCLOSURE‑00 ‑iom 0 ‑request chk