refreshdevice

Use the refreshdevice command refresh the volumes and configuration elements of a storage device.

You must have Administrator privileges to run this command.

Syntax

Read syntax diagramSkip visual syntax diagramrefreshdevice-help-h-?-nowaitdevice_id -

Parameters

-help | -h | -?
Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
-nowait

Specifies that the command response is returned when the command has been submitted and accepted by the server. The command response does not require that the command is completed.

device_id | -

Specifies the ID of the storage system that you want to refresh.

Alternatively, use the dash (-) to specify that input for this parameter comes from an input stream (stdin). The dash is supported only in single-shot mode.

Tip: To list the valid storage system IDs, use the lsdevice command.

Example: Refreshing an IBM® DS8000® (includes the -nowait parameter)

The following command refreshes the storage system DS8000:BOX:2107.02341 before the command has completed.

csmcli> refreshdevice -nowait DS8000:BOX:2107.02341

The following output is returned when command has been submitted and accepted by the server:

IWNH1611I A refresh of the storage configuration has completed
for the storage device DS8000:BOX:2107.02341.