stcli disk Command

Operations on the storage cluster disks.

stcli disk [-h] {list | add}

Syntax Description

Option

Required or Optional

Description

add

One of set required.

Adds discovered new disks and specified blacklisted disks to the storage cluster.

list

One of set required.

Lists the storage cluster disks in the node.

Command Default

None. One option from the set is required.

Usage Guidelines

Accompany the stcli disk command with one of the positional arguments enclosed in { } or optional arguments enclosed in [ ].

stcli disk add Command

Adds discovered new disks and specified blacklisted disks to the storage cluster.

stcli disk add [-h] {--id ID | --name NAME} --blacklisted-disk-ids [DISKIDS [DISKIDS . . .]]

Syntax Description

Option

Required or Optional

Description

--id ID

One of set required.

ID of storage cluster node.

--name NAME

One of set required.

Name of storage cluster node.

--blacklisted-disk-ids [DISKIDS [DISKIDS . . .]]

Required.

Blacklisted disks to add to storage cluster. Separate multiple IDs with a space.

Command Default

None. One option from the set is required.

Usage Guidelines

Accompany the stcli disk add command with one of the positional arguments enclosed in { } plus required --blacklisted-disk-ids option, or optional arguments enclosed in [ ].

stcli disk list Command

Lists the storage cluster disks in the node.

stcli disk list [-h] {--id ID | --name NAME} [--rescan]

Syntax Description

Option

Required or Optional

Description

--id ID

One of set required.

ID of storage cluster node. The ID is listed in the stcli cluster info command. local defaults to the local node.

--ip NAME

One of set required.

IP address of storage cluster node. The IP is listed in the stcli cluster info command. localhost defaults to the local node.

--rescan

Optional.

Rescan disks.

Command Default

None. One option from the set is required. Defaults for the options are: local for ID and localhost for NAME.

Usage Guidelines

Accompany the stcli disk list command with one of the positional arguments or optional arguments enclosed in [ ].


Note

Sometimes when a disk is removed, it continues to be listed in cluster summary information. To refresh this, restart the HX cluster.