Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

HP hpssacli common commands

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

View raid card information (including controller status, Cache status, Battery status) # hpssacli ctrl all show status View raid details # hpssacli ctrl slot=0 show config detail View raid status # hpssacli ctrl slot=0 ld all show View slot 0 Array An all logical Drive Information # hpssacli ctrl slot=0 array A ld all show View slot 0 Array An all physical Drive Information # hpssacli ctrl slot=0 array A pd all show View hard disk # hpssacli ctrl slot=0 pd all show status / / View physical hard disk status # hpssacli ctrl slot=0 pd all show / / View the physical hard disk to create raid10# hpssacli ctrl slot=0 create type=ld drives=1I:1:3,1I:1:4,2I:1:5,2I:1:6 raid=1+0 with 3 four, Disk 5 create a raid5 array # hpssacli ctrl slot=0 create type=ld drives=1I:1:3,1I:1:4,2I:1:5 raid=5 create raid1# hpssacli ctrl slot=1 create type=ld drives=1I:1:1-1I:1:2 raid=1 delete raid# hpssacli ctrl slot=1 array B delete forced cache: view cache information: # hpssacli ctrl all show config detail | grep-ic ache turn off physical disk cache# hpssacli ctrl slot=0 modify drivewritecache=disable open logical disk cache # hpssacli ctrl slot=0 logicaldrive 2 modify caching=enable in the case of no battery Turn on raid write cache # hpssacli ctrl slot=0 modify nobatterywritecache=enable set the percentage of read and write # hpssacli ctrl slot=0 modify cacheratio=10/90 indicator: turn on the led light of disk array B # hpssacli ctrl slot=0 array B modify led=on turn on the led light of disk 3 # hpssacli ctrl slot=0 pd 1I:1:3 modify led=on collect log AhsIlo web storage page screenshot / var/log/messages and / var/log/dmesg execute the following 5 commands Send me 5 compressed packages starting with logs.

Hpssacli ctrl all diag file=logs_logs.zip logs=on

Hpssacli ctrl all diag file=logs_xml.zip xml=on

Hpssacli ctrl all diag file=logs_ris.zip ris=on

Hpssacli ctrl all diag file=logs_zip.zip zip=on

Hpssacli ctrl all diag file=logs.zip

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report