MegaCli命令使用指南Word文件下载.docx
- 文档编号:13395394
- 上传时间:2022-10-10
- 格式:DOCX
- 页数:10
- 大小:172.64KB
MegaCli命令使用指南Word文件下载.docx
《MegaCli命令使用指南Word文件下载.docx》由会员分享,可在线阅读,更多相关《MegaCli命令使用指南Word文件下载.docx(10页珍藏版)》请在冰豆网上搜索。
-adpCount【显示适配器个数】
8.#/opt/MegaRAID/MegaCli/MegaCli64
-AdpGetTime–aALL【显示适配器时间】
9.#/opt/MegaRAID/MegaCli/MegaCli64
-aAll【显示所有适配器信息】
10.#/opt/MegaRAID/MegaCli/MegaCli64
-LALL
-aAll【显示所有逻辑磁盘组信息】
11.#/opt/MegaRAID/MegaCli/MegaCli64
-aAll【显示所有的物理信息】
12.#/opt/MegaRAID/MegaCli/MegaCli64
-GetBbuStatus
-aALL
|grep'
ChargerStatus'
【查看充电状态】
13.#/opt/MegaRAID/MegaCli/MegaCli64
-aALL【显示BBU状态信息】
14.#/opt/MegaRAID/MegaCli/MegaCli64
-GetBbuCapacityInfo
-aALL【显示BBU容量信息】
15.#/opt/MegaRAID/MegaCli/MegaCli64
-GetBbuDesignInfo
-aALL【显示BBU设计参数】
16.#/opt/MegaRAID/MegaCli/MegaCli64
-GetBbuProperties
-aALL【显示当前BBU属性】
17.#/opt/MegaRAID/MegaCli/MegaCli64
-cfgdsply
-aALL【显示Raid卡型号,Raid设置,Disk相关信息】
18.3.磁带状态的变化,从拔盘,到插盘的过程中。
19.Device
|Normal|Damage|Rebuild|Normal
20.VirtualDrive
|Optimal|Degraded|Degraded|Optimal
21.PhysicalDrive
|Online|Failed–>
Unconfigured|Rebuild|Online
22.4.查看磁盘缓存策略
23.#/opt/MegaRAID/MegaCli/MegaCli64
-LDGetProp
-Cache
-L0
-a0
24.or
25.#/opt/MegaRAID/MegaCli/MegaCli64
-L1
26.or
27.#/opt/MegaRAID/MegaCli/MegaCli64
28.ro
29.#/opt/MegaRAID/MegaCli/MegaCli64
-aALL
30.ro
31.#/opt/MegaRAID/MegaCli/MegaCli64
-DskCache
32.5.设置磁盘缓存策略
33.缓存策略解释:
34.
35.WT
(Writethrough
36.WB
(Writeback)
37.NORA
(Noreadahead)
38.RA
(Readahead)
39.ADRA
(Adaptivereadahead)
40.Cached
41.Direct
42.例子:
43.#/opt/MegaRAID/MegaCli/MegaCli64
-LDSetPropWT|WB|NORA|RA|ADRA
44.or
45.#/opt/MegaRAID/MegaCli/MegaCli64
-LDSetProp
-Cached|-Direct
46.or
47.enable
/
disablediskcache
48.#/opt/MegaRAID/MegaCli/MegaCli64
-EnDskCache|-DisDskCache
49.6.创建一个raid5阵列,由物理盘2,3,4构成,该阵列的热备盘是物理盘5
50.#/opt/MegaRAID/MegaCli/MegaCli64
-CfgLdAdd
-r5
[1:
2,1:
3,1:
4]
WBDirect
-Hsp[1:
5]
51.7.创建阵列,不指定热备
52.#/opt/MegaRAID/MegaCli/MegaCli64
53.8.删除阵列
54.#/opt/MegaRAID/MegaCli/MegaCli64
-CfgLdDel
55.9.在线添加磁盘
56.#/opt/MegaRAID/MegaCli/MegaCli64
-LDRecon
-Start
-Add
-PhysDrv[1:
57.10.阵列创建完后,会有一个初始化同步块的过程,可以看看其进度。
58.#/opt/MegaRAID/MegaCli/MegaCli64
-LDInit
-ShowProg
59.或者以动态可视化文字界面显示
60.#/opt/MegaRAID/MegaCli/MegaCli64
-ProgDsply
61.11.查看阵列后台初始化进度
62.#/opt/MegaRAID/MegaCli/MegaCli64
-LDBI
63.或者以动态可视化文字界面显示
64.#/opt/MegaRAID/MegaCli/MegaCli64
65.12.指定第5块盘作为全局热备
66.#/opt/MegaRAID/MegaCli/MegaCli64
-PDHSP
-Set
[-EnclAffinity]
[-nonRevertible]
67.13.指定为某个阵列的专用热备
68.#/opt/MegaRAID/MegaCli/MegaCli64
[-Dedicated
[-Array1]]
69.14.删除全局热备
70.#/opt/MegaRAID/MegaCli/MegaCli64
-Rmv
71.15.将某块物理盘下线/上线
72.#/opt/MegaRAID/MegaCli/MegaCli64
-PDOffline
-PhysDrv
73.#/opt/MegaRAID/MegaCli/MegaCli64
-PDOnline
74.16.查看物理磁盘重建进度
75.#/opt/MegaRAID/MegaCli/MegaCli64
-PDRbld
76.或者以动态可视化文字界面显示
77.#/opt/MegaRAID/MegaCli/MegaCli64
78.
79.磁带状态的变化,从拔盘,到插盘的过程中:
80.Device
81.VirtualDrive
82.PhysicalDrive
83.1、
查看RAID级别
84.
85.2、
查看RAID卡信息,主要输出RAID卡的一些配置信息
86.
87.
88.RAIDLevel:
Primary-1,Secondary-0,RAIDLevelQualifier-0
Size:
1.086TB
State:
Optimal
StripSize:
128KB
NumberOfDrivesperspan:
4//表示每4个物理盘做成一个RAID1盘组
SpanDepth:
2//表示共2个RAID1盘组做成了RAID10
89.
90.3、
查看所有硬盘的信息
91./opt/MegaCli64
-pdlist
–aALL
92.
93.4、
查看当前raid缓存状态,raid缓存状态设置为wb的话要注意电池放电事宜,设置电池放电模式为自动学习模式
94./opt/MegaRAID/MegaCli/MegaCli64
-ldgetprop
-dskcache-lall
-aall
95.
96.5、
raid
电池设置相关
97.查看电池状态信息(Display
BBU
Status
Information)
MegaCli
-aN|-a0,1,2|-aALL
98.查看电池容量(Display
Capacity
99.查看电池设计参数(Display
Design
Parameters)
100.查看电池属性(Display
Current
Properties)
–a
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- MegaCli 命令 使用指南