当前位置:网站首页>Megacli common command collation
Megacli common command collation
2022-06-26 00:39:00 【tinychen777】
This paper mainly introduces Megacli Common commands for tools
MegaCli yes LSI It's officially provided by the company SCSI Card management tool software , Later, after a series of mergers and acquisitions , current LSI It is a product of Broadcom , So if you need to download MegaCli You can go to the official website of Broadcom to download .
MegaCli Tools are generally /opt/MegaRAID/MegaCli/MegaCli64
, Of course, it can also be used directly MegaCli
, Generally speaking, the two are the same
/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL
# View all information about all array logical volumes for all array cards
/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -a0 | grep -i "Virtual Disk"
# Look at the first 1 How many cards are there on the array card raid Array group ( The default from the 0 Start counting )
/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -L0 -a0
# Look at the first 1 The... On the array card 0 individual raid Array group information ( The default from the 0 Start counting )
/opt/MegaRAID/MegaCli/MegaCli64 -LDPdInfo -aAll
# View all information about all array logical volumes for all array cards ( Including the physical hard disk corresponding to the array logical volume )
/opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL
# Display all array card information , You can view the total number of array cards on the machine and the details of each card
/opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL
# View all physical hard disk information on all array cards , Including models 、 Interface 、SN code 、 part SMART Information, etc
/opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r5 [32:2,32:3,32:4] WB Direct -Hsp[32:4] -a0
# In the 1 Create an array card raid5 array , By physical disk 1,2,3 constitute , The hot spare of the array is a physical disk 4
# Notice the 32:2 Refers to the use of eID and slot ID Locate the hard disk under an array card ( The default from the 0 Start counting )
/opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r5 [32:2,32:3,32:4] WB Direct -a0
# ditto , Create a raid5 array , But do not specify a hot spare
/opt/MegaRAID/MegaCli/MegaCli64 -LDRecon -Start -r5 -Add -PhysDrv[32:5] -L1 -a0
# Add physical hard disks online to an array
/opt/MegaRAID/MegaCli/MegaCli64 -CfgLdDel -L1 -a0
# Delete the first 1 The... On the array card 2 individual raid array ( The default from the 0 Start counting )
/opt/MegaRAID/MegaCli/MegaCli64 -LDInit -ShowProg -LALL -aALL
# After the array is created , There will be a process to initialize the synchronization block , You can see the progress
/opt/MegaRAID/MegaCli/MegaCli64 -LDInit -ProgDsply -LALL -aALL
# ditto , However, the progress information is displayed in a dynamic visual text interface
/opt/MegaRAID/MegaCli/MegaCli64 -LDBI -ShowProg -LALL -aALL
# View the progress of array background initialization
/opt/MegaRAID/MegaCli/MegaCli64 -LDBI -ProgDsply -LALL -aALL
# ditto , Display with dynamic visual text interface
/opt/MegaRAID/MegaCli/MegaCli64 -PDHSP -Set [-EnclAffinity] [-nonRevertible] -PhysDrv[32:7] -a0
# Designate the 1 Number of array cards 8 Block disk as global hot standby ( The default from the 0 Start counting )
/opt/MegaRAID/MegaCli/MegaCli64 -PDHSP -Set [-Dedicated [-Array1]] [-EnclAffinity] [-nonRevertible] -PhysDrv[32:7] -a0
# ditto , Designated as a dedicated hot standby for an array
/opt/MegaRAID/MegaCli/MegaCli64 -PDHSP -Rmv -PhysDrv[32:7] -a0
# Delete the global hot spare
/opt/MegaRAID/MegaCli/MegaCli64 -PDOffline -PhysDrv [32:2] -a0
# Offline a physical disk (offline)
/opt/MegaRAID/MegaCli/MegaCli64 -PDOnline -PhysDrv [32:2] -a0
# Offline a physical disk (online)
/opt/MegaRAID/MegaCli/MegaCli64 -PDRbld -ShowProg -PhysDrv [32:2] -a0
# Check the physical disk reconstruction progress after disk replacement
/opt/MegaRAID/MegaCli/MegaCli64 -PDRbld -ProgDsply -PhysDrv [32:2] -a0
# View the physical disk reconstruction progress in a dynamic visual interface
/opt/MegaRAID/MegaCli/MegaCli64 -FwTermLog -Dsply -aALL
# see raid Card log , Note that the log output may be large , The details of the operations such as array formation corresponding to the array card can be viewed in the log
/opt/MegaRAID/MegaCli/MegaCli64 -cfgdsply -aALL
# Show Raid Card model ,Raid Set up ,Disk Related information
/opt/MegaRAID/MegaCli/MegaCli64 -adpCount
# Shows the number of adapters , You can only view the total number of array cards on the machine , Can't view details
/opt/MegaRAID/MegaCli/MegaCli64 -AdpGetTime –aALL
# Display adapter time
/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -aAll
# see BBU Details of
/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuStatus - aALL |grep 'Charger Status'
# see BBU The state of charge of the battery
/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuStatus -aALL
# Show BBU State information
/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuCapacityInfo -aALL
# Show BBU Capacity information
/opt/MegaRAID/MegaCli/ MegaCli64 -AdpBbuCmd -GetBbuDesignInfo -aALL
# Show BBU Design parameters
/opt/MegaRAID/MegaCli/MegaCli64 -AdpBbuCmd -GetBbuProperties -aALL
# Show the current BBU attribute
边栏推荐
- Run the test program using rknn-toolkit-lite2 for rk3568 development board
- 快手实时数仓保障体系研发实践
- 使用VS2022編譯Telegram桌面端(tdesktop)
- Multi-Instance Redo Apply
- idea设置mapper映射文件的模板
- When installing PSU /usr/bin/ld:warning: -z lazload ignore
- The development context of Ba Kong Yuan universe industry
- Methods to realize asynchrony
- 【图像检测】基于高斯过程和Radon变换实现血管跟踪和直径估计附matlab代码
- Thrift getting started
猜你喜欢
leetcode.14 --- 最长公共前缀
Camkiia et gcamp6f sont - ils les mêmes?
Ora-01153: incompatible media recovery activated
86. (cesium chapter) cesium overlay surface receiving shadow effect (gltf model)
Daily question brushing record (IV)
Introduction to anchor free decision
【ROS进阶篇】第一讲 常用API介绍
When installing PSU /usr/bin/ld:warning: -z lazload ignore
leetcode. 14 --- longest public prefix
The problem of low video memory in yolov5 accelerated multi GPU training
随机推荐
Analysis and comparison of common test methods for PCBA in SMT chip processing industry
Linux下搭建集群环境(2)-----------linux下安装Mysql
Idea set the template of mapper mapping file
dbca静默安装及建库
Qt优秀开源项目之九:qTox
Solution to SMT grape ball phenomenon
Datetimeformatter and localdatetime
Ora-01153: incompatible media recovery activated
leetcode.14 --- 最长公共前缀
小红书微服务框架及治理等云原生业务架构演进案例
快手实时数仓保障体系研发实践
把控元宇宙产业的发展脉络
Mysql5.7 is in the configuration file my Ini[mysqld] cannot be started after adding skip grant tables
使用VS2022編譯Telegram桌面端(tdesktop)
Should group by be used whenever aggregate functions are used in SQL?
Shenzhen Taipower: the way of "communication" of the United Nations
Tensorrt PB to UF problem
Core ideas of SQL optimization
使用coe_load_sql_profile.sql固定执行计划
用js根据当前季度获取上一季度