LSI Corporation
- 172 -
12Gb/s MegaRAID SAS Software User Guide
March 2014
Chapter 6: StorCLI
Working with the Storage Command Line Tool
NOTE
The
storcli /c
x
/s
x
show all command shows tape drives
information.
6.6.3.2
Missing Drives Commands
The Storage Command Line Tool supports the following commands to mark and replace missing physical drives:
storcli /c
x
[/e
x
]/s
x
insert dg=A array=
B
row=
C
storcli /c
x
[/e
x
]/s
x
set missing
storcli /c
x
[/e
x
]/s
x
set offline
storcli /c
x
/dall
The detailed description for each command follows.
storcli /c
x
[/e
x
]/s
x
insert dg=A array=
B
row=
C
This command replaces the configured drive that is identified as missing, and then starts an automatic rebuild.
Input example:
storcli /c0/e25/s3 insert dg=0 array=2 row=1
storcli /c
x
[/e
x
]/s
x
set missing
This command marks a drive as missing.
Input example:
storcli /c0/s4 set missing
storcli /cx/dall
This command is used to find the missing drives.
storcli /c
x
[/e
x
]/s
x
set offline
This command marks the drive in an array as offline.
NOTE
To set a drive that is part of an array as
missing
, first set it as
offline
. After
the drive is set to
offline
, you can then set the drive to
missing
.
6.6.3.3
Set Drive State Commands
The Storage Command Line Tool supports the following commands to set the status of physical drives:
storcli /c
x
[/e
x
]/s
x
set jbod
storcli /c
x
[/e
x
]/s
x
set good [force]
storcli /c
x
[/e
x
]/s
x
set offline
storcli /c
x
[/e
x
]/s
x
set online
storcli /c
x
[/e
x
]/s
x
set missing
storcli /c
x
[/e
x
]/s
x
set bootdrive=<on|off>
The detailed description for each command follows.
storcli /c
x
[/e
x
]/s
x
set jbod
This command sets the drive state to JBOD.
Input example:
storcli /c1/e56/s3 set jbod
storcli /c
x
[/e
x
]/s
x
set good [force]
This drive changes the drive state to unconfigured good. If the drive has the operating system in it, use the
force
option.
Summary of Contents for ThinkServer RD650
Page 1: ...ThinkServer 12 Gb s MegaRAID SAS Software User Guide ...
Page 417: ......
Page 418: ......