beautypg.com

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

Page 24

background image

LSI Corporation

- 24 -

StorCLI Reference Manual

January 2013

Chapter 4: Working with the Storage Command Line Tool

Drive Commands

The detailed description for each command follows.

storcli /cx[/ex]/sx set jbod

This command sets the drive state to JBOD.

Input example:

storcli /c1/e56/s3 set jbod

storcli /cx[/ex]/sx 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.

Input example:

storcli /c1/e56/s3 set good

storcli /cx[/ex]/sx set offline

This command changes the drive state to offline.

Input example:

storcli /c1/e56/s3 set offline

storcli /cx[/ex]/sx set online

This command changes the drive state to online.

Input example:

storcli /c1/e56/s3 set online

4.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 /cx[/ex]/sx show initialization

This command shows the current progress of the initialization progress in percentage.

Input example:

storcli /c0/e31/s4 show initialization

storcli /cx[/ex]/sx start initialization

This command starts the initialization process on a drive.

Input example:

storcli /c0/e31/s4 start initialization