Skip to content

Instantly share code, notes, and snippets.

@jshen28
Created May 14, 2018 06:25
Show Gist options
  • Save jshen28/187e38c0af3dd040d7f7498a1cc88360 to your computer and use it in GitHub Desktop.
Save jshen28/187e38c0af3dd040d7f7498a1cc88360 to your computer and use it in GitHub Desktop.
#
## Count number of pyhsical/virtual drives
```
MegaCli64 -PDGetNum -aN
MegaCli64 -LDGetNum -aN
```
## List all existent physical/virtual drives
```
MegaCli64 -PDList -aN
MegaCli64 -LDList -aN
```
## Display Drive Information
```
MegaCli64 -LDInfo -LN -aN
```
## Delete Virtual Drive
```
MegaCli64 -CfgLDDel -LN -aN
```
## Add RAID 0,1,5 Configurations
```
MegaCli64 -cfgLDAdd -R0|-R1|-R5[[Ex]:Sx] -aX
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment