Skip to content

set host storage

Mason J. Katz edited this page Dec 15, 2015 · 1 revision

set host storage

Usage

stack set host storage [host]... {action=string} {enclosure=string} {slot=string}

Description

Set state for a storage device for hosts (e.g., to change the state of a disk from 'offline' to 'online').

Arguments

  • [host]

    Zero, one or more host names. If no host names are supplied, this command will apply the state change to all known hosts.

Parameters

  • {action=string}

    The action to perform on the device. Valid actions are: online, offline, configure, locate-on and locate-off.

  • {enclosure=string}

    An integer id for the enclosure that contains the storage device.

  • {slot=string}

    An integer id for the slot that contains the storage device.

Examples

  • stack set host storage compute-0-0 enclosure=32 slot=5 action=online

    Set the storage device located at '32:5' to "online" for compute-0-0.

Clone this wiki locally