LSI Corporation
- 176 -
12Gb/s MegaRAID SAS Software User Guide
March 2014
Chapter 6: StorCLI
Working with the Storage Command Line Tool
6.6.3.10 Rebuild Drives Commands
The following commands rebuild drives in the Storage Command Line Tool:
storcli /cx[/ex]/sx pause rebuild
storcli /cx[/ex]/sx resume rebuild
storcli /cx[/ex]/sx show rebuild
storcli /cx[/ex]/sx start rebuild
storcli /cx[/ex]/sx stop rebuild
NOTE If enclosures are used to connect physical drives to the controller,
specify the enclosure ID in the command.
The detailed description for each command follows.
storcli /c
x[/ex]/sx pause rebuild
This command pauses an ongoing rebuild process. You can run this command only for a drive that is currently rebuilt.
Input example:
storcli /c0/s4 pause rebuild
storcli /c
x[/ex]/sx resume rebuild
This command resumes a paused rebuild process. You can run this command only when a paused rebuild process for
the drive exists.
Input example:
storcli /c0/s4 resume rebuild
storcli /c
x[/ex]/sx show rebuild
This command shows the progress of the rebuild process in percentage.
The estimated time (in minutes) left to complete the operation is also shown.
Input example:
storcli /c0/s5 show rebuild
storcli /c
x[/ex]/sx start rebuild
This command starts a rebuild operation for a drive.
Input example:
storcli /c0/s4 start rebuild
storcli /c
x[/ex]/sx stop rebuild
This command stops a rebuild operation. You can run this command only for a drive that is currently rebuilt.
Input example:
storcli /c0/s4 stop rebuild
6.6.3.11 Drive Copyback Commands
The Storage Command Line Tool supports the following commands for drive copyback:
storcli /cx[/ex]/sx pause copyback
storcli /cx[/ex]/sx resume copyback
storcli /cx[/ex]/sx show copyback
storcli /cx[/ex]/sx start copyback target=eid:sid
storcli /cx[/ex]/sx stop copyback