beautypg.com

8 drive security commands, 9 drive secure erase commands, Drive secure erase commands – Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 26

background image

LSI Corporation

- 26 -

StorCLI Reference Manual

January 2013

Chapter 4: Working with the Storage Command Line Tool

Drive Commands

storcli /cx[/ex]/sx spindown

This command spins down an unconfigured drive and prepares it for removal. The drive state is unaffiliated and it is
marked offline.

Input example:

storcli /cx/e34/s4 spindown

storcli /cx[/ex]/sx spinup

This command spins up a spun-down drive and the drive state is unconfigured good.

Input example:

storcli /cx/e34/s4 spinup

4.3.8

Drive Security Commands

The Storage Command Line supports the following drive security command:

storcli /cx[/ex]/sx show securitykey keyid

This command shows the security key and key ID of the controller.

Input example:

storcli /c0/s4 show securityKey keyid

4.3.9

Drive Secure Erase Commands

The Storage Command Line supports the following drive erase commands:

storcli /cx[/ex]/sx secureerase [force]

storcli /cx[/ex]/sx start erase [simple|normal|thorough] [erasepatternA=]

[erasepatternB=]

storcli /cx[/ex]/sx stop erase

The detailed description for each command follows.

storcli /cx[/ex]/sx secureerase [force]

This command erases the drive's security configuration and securely erases data on a drive. You can use the force
option as a confirmation to erase the data on the drive and the security information.

Input example:

storcli /c0/e25/s1 secureerase

NOTE This command deletes data on the drive and the security configuration and this data is no longer
accessible. This command is used for SED drives only.