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

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.
- MegaRAID SAS 9240-8i MegaRAID SAS 9260-16i MegaRAID SAS 9260-4i MegaRAID SAS 9260-8i MegaRAID SAS 9261-8i MegaRAID SAS 9266-4i MegaRAID SAS 9266-8i MegaRAID SAS 9270-8i MegaRAID SAS 9271-4i MegaRAID SAS 9271-8i MegaRAID SAS 9271-8iCC MegaRAID SAS 9280-16i4e MegaRAID SAS 9280-24i4e MegaRAID SAS 9280-4i4e MegaRAID SAS 9280-8e MegaRAID SAS 9286-8e MegaRAID SAS 9286CV-8e MegaRAID SAS 9286CV-8eCC MegaRAID SAS 9285-8ecv