98
Appendix B: The raid5 Command Line Interface
The raid5 command sends CHALLENGE RAID storage management and
configuration requests to an application programming interface (API) on the
CHALLENGE server. For the raid5 command to function, the agent—an
interpreter between the command line interface and the CHALLENGE
RAID storage system—must be running.
Note:
Although the directory and command are raid5, the command is valid
for all RAID levels.
The synopsis of the raid5 command is
raid5 [-vp] [-d
device
]
parameter
[
optional_arguments
]
In this syntax, options and variables mean:
-v
Enables verbose return.
-p
Parses the raid5 command without calling the API. If the
string does not parse correctly, an error message is printed
to stderr; otherwise there is no output.
-d device
Target RAID device. Use raid5 getagent for a list of RAID
devices. This switch must be present for all raid5
management and configuration commands unless the
environment variable indicates otherwise. This switch
overrides an environment variable.
getlun
Display information about a disk group
setcache
Change information about the RAID controller’s caching
environment
unbind
Deconfigure physical disks from their current logical
configuration, destroying all data on the logical unit (group)
Table B-1 (continued)
raid5 Parameters
Parameter
Use