このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
01_linux:12_ツール:13_hpssacli [2016/04/21 04:58] – 作成 matsui | 01_linux:12_ツール:13_hpssacli [2020/04/03 13:04] (現在) – matsui | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== 13 hpssacli(hpacucli, | ||
+ | |||
+ | ===== Slot の確認 ===== | ||
+ | |||
+ | < | ||
+ | # hpssacli ctrl all show | ||
+ | |||
+ | Smart HBA H240 in Slot 2 (RAID Mode) (sn: PDNNK0BRH9O0OE) | ||
+ | </ | ||
+ | |||
+ | ===== nobatteryでもWriteキャッシュ有効 ===== | ||
+ | |||
+ | < | ||
+ | # hpssacli ctrl slot=0 modify nobatterywritecache=enable | ||
+ | </ | ||
+ | |||
+ | ===== 物理ドライブライトキャッシュ有効 ===== | ||
+ | |||
+ | < | ||
+ | # hpssacli ctrl slot=0 modify drivewritecache=enable | ||
+ | </ | ||
+ | |||
+ | ===== キャッシュのread/ | ||
+ | |||
+ | < | ||
+ | # hpssacli ctrl slot=0 modify cacheratio=10/ | ||
+ | </ | ||
+ | |||
+ | |||
+ | ====== hpssacli hpcucli ssacli ====== | ||
+ | |||
+ | < | ||
+ | hpssacli | ||
+ | Posted on December 6, 2018 by Alwin | ||
+ | Show configuration: | ||
+ | / | ||
+ | |||
+ | Controller status | ||
+ | / | ||
+ | |||
+ | Show detailed controller information for all controllers | ||
+ | / | ||
+ | |||
+ | Show detailed controller information for controller in slot 0 | ||
+ | / | ||
+ | |||
+ | Rescan for New Devices | ||
+ | / | ||
+ | |||
+ | Physical disk status | ||
+ | / | ||
+ | |||
+ | Show detailed physical disk information | ||
+ | / | ||
+ | |||
+ | Logical disk status | ||
+ | / | ||
+ | |||
+ | View Detailed Logical Drive Status | ||
+ | / | ||
+ | |||
+ | Create New RAID 0 Logical Drive | ||
+ | / | ||
+ | |||
+ | Create New RAID 1 Logical Drive | ||
+ | / | ||
+ | |||
+ | Create New RAID 5 Logical Drive | ||
+ | / | ||
+ | |||
+ | Delete Logical Drive | ||
+ | / | ||
+ | |||
+ | Add New Physical Drive to Logical Volume | ||
+ | / | ||
+ | |||
+ | Add Spare Disks | ||
+ | / | ||
+ | |||
+ | Enable Drive Write Cache | ||
+ | / | ||
+ | |||
+ | Disable Drive Write Cache | ||
+ | / | ||
+ | |||
+ | Erase Physical Drive | ||
+ | / | ||
+ | |||
+ | Turn on Blink Physical Disk LED | ||
+ | / | ||
+ | |||
+ | Turn off Blink Physical Disk LED | ||
+ | / | ||
+ | |||
+ | Modify smart array cache read and write ratio (cacheratio=readratio/ | ||
+ | / | ||
+ | |||
+ | Enable smart array write cache when no battery is present (No-Battery Write Cache option) | ||
+ | / | ||
+ | |||
+ | Disable smart array cache for certain Logical Volume | ||
+ | / | ||
+ | |||
+ | Enable smart array cache for certain Logical Volume | ||
+ | / | ||
+ | |||
+ | Enable SSD Smart Path | ||
+ | / | ||
+ | |||
+ | Disable SSD Smart Path | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | |||
+ | ====== 障害テスト ====== | ||
+ | |||
+ | hpssacli ctrl slot=0 physicaldrive 1I:1:2 modify disablepd | ||
+ | |||
+ | 再確認 | ||
+ | < | ||
+ | hpssacli ctrl slot=0 show config | ||
+ | |||
+ | Smart Array P420i in Slot 0 (Embedded) | ||
+ | |||
+ | |||
+ | Port Name: 1I | ||
+ | |||
+ | Port Name: 2I | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | array A (SAS, Unused Space: 0 MB) | ||
+ | |||
+ | |||
+ | logicaldrive 1 (136.7 GB, RAID 1, Interim Recovery Mode) | ||
+ | |||
+ | physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK) | ||
+ | physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, Failed) | ||
+ | |||
+ | SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 380 (WWID: 50014380282E0CBF) | ||
+ | </ | ||
+ | |||
+ | |||
+ | {{tag> |