Oracle® Server CLI Tools for Oracle Solaris 11.2 User's Guide

Exit Print View

Updated: November 2015
 
 

raidconfig Command Syntax

The raidconfig commands use the following command syntax:

raidconfig subcommand type|task -option(s)

When a command fails, it returns one of several failure codes listed in raidconfig Error Codes.

The options shown in the following table apply to all CLI Tools commands including raidconfig.

Short Option
Long Option
Description
–?
–-help
Displays help information.
–V
–-version
Displays the tool version.
–q
–-quiet
Suppresses informational message output and only returns error codes.
–y
–-yes
Confirms operation. Does not prompt user for confirmation on the operation when running.

The raidconfig command requires subcommands unless used with the –-help or –-version options.

The following table lists the raidconfig subcommands.

Subcommand
Function
list
Lists information on controllers, RAID volumes and disks, including disks not in a RAID volume. Specific devices can be selected for display.
create
Creates a RAID volume.
delete
Deletes a RAID volume.
add
Adds a specified disk or spare.
remove
Removes a specified disk or spare.
modify
Modifies a RAID volume or a disk.
start
Starts a maintenance task.
stop
Stops a maintenance task.
restore
Finds the RAID configuration saved on a disk and restores it.
clear
Clears the RAID configuration saved on the disks of a defined controller.
export
Generates an XML file from a RAID configuration.
import
Reads in a RAID configuration from an XML file and creates RAID volumes and spares.

Whenever devices (controllers, RAID volumes, and disks) are used with commands, they must be uniquely identified. For information on how to do so, see the device-naming scheme at CLI Tools Device-Naming Convention.

Device naming is shared with other CLI Tools based on the storage library.