LSI Corporation
- 178 -
12Gb/s MegaRAID SAS Software User Guide
March 2014
Chapter 6: StorCLI
Working with the Storage Command Line Tool
NOTE
If enclosures are used to connect the physical drives to the controller,
specify the enclosure ID in the command.
The detailed description for each command follows.
storcli /c
x
[/e
x
]/s
x
add hotsparedrive [{dgs=<
n
|0,1,2...>}] [enclaffinity][nonrevertible]
This command creates a hot spare drive. You can use the following options to create a hot spare drive:
Table 46 Add Hotsparedrive Input Options
Input example:
storcli /c0/e3/s4,5 add hotsparedrive
This command sets the drives /c0/e3/s4,5 as Global Hot spare.
Input example:
storcli /c0/e3/s6,8 add hotsparedrive dgs=0,1
This command sets /c0/e3/s6,8 as Dedicated Hot spare for disk groups 0,1.
storcli /c
x
/[e
x
]/s
x
delete hotsparedrive
This command deletes a hot spare drive.
Input example:
storcli /c0/e3/s4,5 delete hotsparedrive
6.6.4
Virtual Drive Commands
The Storage Command Line Tool supports the following virtual drive commands. The following table describes
frequently used virtual drive commands.
Table 47 Virtual Drives Commands Quick Reference Table
6.6.4.1
Add Virtual Drives Commands
The Storage Command Line Tool supports the following commands to add virtual drives:
Option
Value Range
Description
dgs
Valid drive group number
Specifies the drive group to which the hot spare drive is
dedicated.
enclaffinity
Valid enclosure number
Specifies the enclosure with which the hot spare is
associated. If this option is specified, affinity is set; if it is
not specified, there is no affinity.
NOTE
Affinity cannot be removed after it is set for a hot
spare drive.
nonrevertible
—
Sets the drive as a nonrevertible hot spare.
Commands
Value Range
Description
add
See
and
Creates virtual drives.
delete
cc
or
cachecade
: Deletes CacheCade virtual drives.
force
: Deletes the virtual drive where operating system is present.
Deletes a virtual drive.
set
,
Change Virtual Properties Commands
Sets virtual drive properties.
show
all
: Shows all properties of the virtual drive.
cc
: Shows properties of CacheCade virtual drives.
See
Shows virtual drive information.
Содержание ThinkServer RD650
Страница 1: ...ThinkServer 12 Gb s MegaRAID SAS Software User Guide ...
Страница 417: ......
Страница 418: ......