This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
hp:ssacli [2019/10/22 12:32] rb created |
hp:ssacli [2020/07/30 10:13] (current) rb ↷ Page moved and renamed from hpe_ssacli to hp:ssacli |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Примеры использования HP Enterprise **ssacli ** | Примеры использования HP Enterprise **ssacli ** | ||
| - | Ссылка на **ssacli** https:// | + | Ссылка на **ssacli** |
| ==== Show configuration ==== | ==== Show configuration ==== | ||
| - | < | + | < |
| - | '' | + | ssacli ctrl all show config |
| - | </ | + | </ |
| - | < | + | ==== Controller status |
| - | '' | + | |
| - | </ | + | |
| - | < | + | < |
| - | '' | + | ssacli ctrl all show status |
| - | </ | + | </ |
| - | < | + | ==== Show detailed controller information |
| - | '' | + | |
| - | </ | + | |
| - | < | + | < |
| - | '' | + | ssacli ctrl all show detail |
| - | </ | + | </ |
| - | < | + | ==== Show detailed |
| - | '' | + | |
| - | </ | + | |
| - | < | + | < |
| - | '' | + | ssacli ctrl slot=0 show detail |
| - | </ | + | </ |
| - | < | + | ==== Rescan for New Devices |
| - | '' | + | |
| - | </ | + | |
| - | < | + | < |
| - | '' | + | ssacli rescan |
| - | </ | + | </ |
| - | < | + | ==== Physical disk status |
| - | '' | + | |
| - | </ | + | |
| - | < | + | < |
| - | '' | + | ssacli ctrl slot=0 |
| - | </ | + | </ |
| - | < | + | ==== Show detailed physical disk information |
| - | '' | + | |
| - | </ | + | |
| - | < | + | < |
| - | '' | + | ssacli ctrl slot=0 |
| - | </ | + | </ |
| - | < | + | ==== Logical disk status |
| - | '' | + | |
| - | </ | + | |
| - | < | + | < |
| - | '' | + | ssacli ctrl slot=0 |
| - | </ | + | </ |
| - | < | + | ==== View Detailed Logical |
| - | '' | + | |
| - | </ | + | |
| - | < | + | < |
| - | '' | + | ssacli ctrl slot=0 |
| - | </ | + | </ |
| - | < | + | ==== Create New RAID 0 Logical Drive ==== |
| - | '' | + | |
| - | </ | + | |
| - | < | + | < |
| - | '' | + | ssacli ctrl slot=0 |
| - | </ | + | </ |
| - | < | + | ==== Create New RAID 1 Logical Drive ==== |
| - | '' | + | |
| - | </ | + | |
| - | < | + | < |
| - | '' | + | ssacli ctrl slot=0 |
| - | </ | + | </ |
| - | < | + | ==== Create New RAID 5 Logical |
| - | '' | + | |
| - | </ | + | |
| - | < | + | < |
| - | '' | + | ssacli ctrl slot=0 |
| - | </ | + | </ |
| - | < | + | ==== Delete Logical Drive ==== |
| - | '' | + | |
| - | </ | + | |
| - | < | + | < |
| - | '' | + | ssacli ctrl slot=0 |
| - | </ | + | </ |
| - | < | + | ==== Add New Physical Drive to Logical Volume ==== |
| + | |||
| + | < | ||
| + | ssacli ctrl slot=0 | ||
| </ | </ | ||
| + | |||
| + | ==== Add Spare Disks ==== | ||
| + | |||
| + | < | ||
| + | ssacli ctrl slot=0 array all add spares=2I: | ||
| + | </ | ||
| + | |||
| + | ==== Enable Drive Write Cache ==== | ||
| + | |||
| + | < | ||
| + | ssacli ctrl slot=0 modify dwc=enable | ||
| + | </ | ||
| + | |||
| + | ==== Disable Drive Write Cache ==== | ||
| + | |||
| + | < | ||
| + | ssacli ctrl slot=0 modify dwc=disable | ||
| + | </ | ||
| + | |||
| + | ==== Erase Physical Drive ==== | ||
| + | |||
| + | < | ||
| + | ssacli ctrl slot=0 pd 2I:1:6 modify erase | ||
| + | </ | ||
| + | |||
| + | ==== Turn on Blink Physical Disk LED ==== | ||
| + | |||
| + | < | ||
| + | ssacli ctrl slot=0 ld 2 modify led=on | ||
| + | </ | ||
| + | |||
| + | ==== Turn off Blink Physical Disk LED ==== | ||
| + | |||
| + | < | ||
| + | ssacli ctrl slot=0 ld 2 modify led=off | ||
| + | </ | ||
| + | |||
| + | ==== Modify smart array cache read and write ratio (cacheratio=readratio/ | ||
| + | |||
| + | < | ||
| + | ssacli ctrl slot=0 modify cacheratio=100/ | ||
| + | </ | ||
| + | |||
| + | ==== Enable smart array write cache when no battery is present (No-Battery Write Cache option) ==== | ||
| + | |||
| + | < | ||
| + | ssacli ctrl slot=0 modify nbwc=enable | ||
| + | </ | ||
| + | |||
| + | ==== Disable smart array cache for certain Logical Volume ==== | ||
| + | |||
| + | < | ||
| + | ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable | ||
| + | </ | ||
| + | |||
| + | ==== Enable smart array cache for certain Logical Volume ==== | ||
| + | |||
| + | < | ||
| + | ssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable | ||
| + | </ | ||
| + | |||
| + | ==== Enable SSD Smart Path ==== | ||
| + | |||
| + | < | ||
| + | ssacli ctrl slot=0 array a modify ssdsmartpath=enable | ||
| + | </ | ||
| + | |||
| + | ==== Disable SSD Smart Path ==== | ||
| + | |||
| + | < | ||
| + | ssacli ctrl slot=0 array a modify ssdsmartpath=disable | ||
| + | </ | ||
| + | |||