11 drive copyback commands – Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 28

Advertising
background image

LSI Corporation

- 28 -

StorCLI Reference Manual

January 2013

Chapter 4: Working with the Storage Command Line Tool

Drive Commands

storcli /cx[/ex]/sx start rebuild

This command starts a rebuild operation for a drive.

Input example:

storcli /c0/s4 start rebuild

storcli /cx[/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

4.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

The detailed description for each command follows.

storcli /cx[/ex]/sx pause copyback

This command pauses a copyback operation. You can run this command only when there is a copyback
operation running.

Input example:

storcli /c0/e25/s4 pause copyback

storcli /cx[/ex]/sx resume copyback

This command resumes a paused copyback operation. You can run this command only when there is a paused
copyback process for the drive.

Input example:

storcli /c0/e25/s4 resume copyback

storcli /cx[/ex]/sx show copyback

This command shows the progress of the copyback operation in percentage.

Input example:

storcli /c0/e25/s4 show copyback

storcli /cx[/ex]/sx start copyback target=eid:sid

This command starts a copyback operation for a drive.

Input example:

storcli /c0/e25/s4 start copyback target=25:8

NOTE In the copyback commands, cx[/ex]/sx indicates the source drive and eid:sid indicates the
target drive.

Advertising