LSI Corporation
- 173 -
12Gb/s MegaRAID SAS Software User Guide
March 2014
Chapter 6: StorCLI
Working with the Storage Command Line Tool
Input example:
storcli /c1/e56/s3 set good
storcli /c
x[/ex]/sx set offline
This command changes the drive state to offline.
Input example:
storcli /c1/e56/s3 set offline
storcli /c
x[/ex]/sx set online
This command changes the drive state to online.
Input example:
storcli /c1/e56/s3 set online
storcli /c
x[/ex]/sx set missing
This command marks a drive as missing.
Input example:
storcli /c1/e56/s3 set missing
storcli /c
x[/ex]/sx set bootmode=<on|off>
This command sets or unsets a physical drive as a boot drive.
Input example:
storcli /c1/e56/s3 set bootmode=on
6.6.3.4 Drive Initialization Commands
When you initialize drives, all the data from the drives is cleared. The Storage Command Line Tool supports the
following commands to initialize drives:
storcli /cx[/ex]/sx show initialization
storcli /cx[/ex]/sx start initialization
storcli /cx[/ex]/sx stop initialization
The detailed description for each command follows.
storcli /c
x[/ex]/sx show initialization
This command shows the current progress of the initialization progress in percentage.
The estimated time (in minutes) left to complete the operation is also shown.
Input example:
storcli /c0/e31/s4 show initialization
storcli /c
x[/ex]/sx start initialization
This command starts the initialization process on a drive.
Input example:
storcli /c0/e31/s4 start initialization
storcli /c
x[/ex]/sx stop initialization
This command stops an initialization process running on the specified drive. A stopped initialization process cannot
be resumed.