- 由 虚拟的现实创建于10月 12, 2023 需要 3 分钟阅读时间
LSI 阵列卡的工作模式
MR - MegaRAID 模式
使用 RoC 芯片硬件实现 RAID 功能,常见的带缓存的阵列卡工作在此模式,如 ServeRAID M5210、RAID720ix、9260-8i等
iMR - Integrated MegaRAID 模式
通过软件(驱动)实现高级 RAID 功能(如 RAID5 ),常见的不带缓存的阵列卡工作在此模式,如 ServeRAID M1215 及移除缓存模块的 ServeRAID M5210、9240-8i等
IR - Integrated RAID 模式
提供最简单 RAID 功能(RAID0/1/1E)的 SAS 卡工作在此模式,如 ServeRAID H1110 等
IT - Initiator and Target模式
即直通模式,无任何 RAID 功能,SAS HBA 卡工作在此模式,如N2215、N2225等
规格汇总
LSI芯片 | ThinkSystem | System x | ThinkServer | LSI型号 | 类型 | 缓存 | 接口 | 驱动 |
---|---|---|---|---|---|---|---|---|
SAS3516 | RAID 930-16i RAID 930-8e | MegaRAID 9460-16i MegaRAID 9480-8i8e | MR (RoC) | 4GB | SAS12G | megasas35 | ||
SAS3508 | RAID 930-8i RAID 930-24i | MegaRAID 9460-8i MegaRAID 9365-28i | MR (RoC) | 2GB 4GB | SAS12G | megasas35 | ||
SAS3416 | 430-16i 430-16e | HBA 9400-16i HBA 9400-16e | I/T (IOC) | 无 | SAS12G | mpt35sas | ||
SAS3408 | RAID 530-8i | MegaRAID 9440-8i | iMR (IOC) | 无 | SAS12G | megasas35 | ||
SAS3408 | 430-8i 430-8e | HBA 9400-8i HBA 9400-8e | I/T (IOC) | 无 | SAS12G | mpt35sas | ||
SAS3108 | RAID 730-8i | ServeRAID M5210 ServeRAID M5215 ServeRAID M5225 | RAID 720i AnyRAID 720i AnyRAID 720ix | MegaRAID 9361-8i MegaRAID 9364-8i MegaRAID 9380-8e | MR (RoC) | 1GB 2GB 4GB | SAS12G | megasas2 |
SAS3008 | ServeRAID M1215 | RAID 520i | MegaRAID 9340-8i | iMR (IOC) | 无 | SAS12G | megasas2 | |
SAS3008 | N2215 N2225 N2226 | 9300-8i 9300-8e 9300-16e | I/T (IOC) | 无 | SAS12G | mpt3sas | ||
SAS2308 | N2115 N2125 | 9207-8i 9207-8e | I/T (IOC) | 无 | SAS6G | mpt2sas | ||
SAS2208 | ServeRAID M5110 ServeRAID M5115 ServeRAID M5120 ServeRAID M5016 | RAID 710 | MegaRAID 9270CV-8i MegaRAID 9286CV-8e MegaRAID 9265CV-8i | MR (RoC) | 512MB 1GB 2GB | SAS6G | megasas2 | |
SAS2108 | ServeRAID M5015 ServeRAID M5014 ServeRAID M5025 | RAID 700 | MegaRAID 9260-8i MegaRAID 9280-8e | MR (RoC) | 512MB 256MB | SAS6G | megasas2 |
JBOD 配置
JBOD 原理
JBOD ( Just a Bunch Of Disks )不是标准的 RAID 等级,它通常用来表示一个没有控制软件提供协调控制的磁盘集合。 JBOD 将多个物理磁盘串联起来,提供一个巨大的逻辑磁盘。 JBOD 的数据存放机制是由第一块磁盘开始按顺序往后存储,当前磁盘存储空间用完后,再依次往后面的磁盘存储数据。 JBOD 存储性能完全等同于单块磁盘,而且也不提供数据安全保护。它只是简单提供一种扩展存储空间的机制, JBOD 可用存储容量等于所有成员磁盘的存储空间之和。目前 JBOD 常指磁盘柜,而不论其是否提供 RAID 功能。
StorCLI_RefMan_revf
https://www.broadcom.com/support/download-search/?dk=StorCLI
StorCLI (Command Line) Utility for Storage Management v1.07.07 on Linux
https://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5092950
使用方式
# 查询硬件 RAID 卡信息 [root@localhost Linux]# cat /proc/scsi/scsi |more Attached devices: Host: scsi0 Channel: 02 Id: 00 Lun: 00 Vendor: IBM Model: ServeRAID M5210 Rev: 4.62 Type: Direct-Access ANSI SCSI revision: 05 # 解压安装 storcli unzip ibm_utl_sraidmr_storcli-1.07.07_linux_32-64.zip rpm -Uvh storcli-1.07.07-1.noarch.rpm # 设置软连接 ln -s /opt/MegaRAID/storcli/storcli64 /bin/storcli ln -s /opt/MegaRAID/storcli/storcli64 /sbin/storcli #Raid 数量及当前状态 [root@localhost Linux]# storcli show ctrlcount Status Code = 0 Status = Success Description = None Controller Count = 2 # 查询虚拟磁盘大小,raid 结构等 [root@localhost Linux]# storcli /c0 /v0 show Controller = 0 Status = Success Description = None Virtual Drives : ============== ----------------------------------------------------------- DG/VD TYPE State Access Consist Cache sCC Size Name ----------------------------------------------------------- 0/0 RAID1 Optl RW Yes RWTD - 278.465 GB ----------------------------------------------------------- Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|dgrd=Degraded Optl=Optimal|RO=Read Only|RW=Read Write|B=Blocked|Consist=Consistent| R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack| AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled Check Consistency # 可以看出此为 RAID1,一个虚拟磁盘,大小为 278.465 GB # 查看 control0 的物理硬盘 [root@localhost Linux]# storcli /c0 /eall /sall show Controller = 0 Status = Success Description = Show Drive Information Succeeded. Drive Information : ================= ------------------------------------------------------------------------- EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp ------------------------------------------------------------------------- 252:16 8 Onln 0 278.465 GB SAS HDD N Y 512B ST300MP0035 X U 252:17 9 Onln 0 278.465 GB SAS HDD N Y 512B ST300MP0035 X U ------------------------------------------------------------------------- EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info SeSz-Sector Size|Sp-Spun|U-Up|D-Down|T-Transition|F-Foreign UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded CFShld-Configured shielded # 可以看到总计有两颗硬盘,每一颗大小 278.465GB,是否在线等 # 查看 control1 的物理硬盘 [root@localhost Linux]# storcli /c1 /eall /sall show Controller = 1 Status = Success Description = Show Drive Information Succeeded. Drive Information : ================= ------------------------------------------------------------------------ EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp ------------------------------------------------------------------------ 8:0 23 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U 8:1 24 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U 8:2 22 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U 8:3 19 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U 8:4 13 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U 8:5 14 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U 8:6 18 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U 8:7 12 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U 8:8 10 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U 8:9 16 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U 8:10 11 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U 8:11 21 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U 8:12 15 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U 8:13 9 JBOD - 1.0810 TB SAS HDD N Y 512B ST1200MM0018 X U ------------------------------------------------------------------------ EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroup DHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global Hotspare UBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-Interface Med-Media Type|SED-Self Encryptive Drive|PI-Protection Info SeSz-Sector Size|Sp-Spun|U-Up|D-Down|T-Transition|F-Foreign UGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shielded CFShld-Configured shielded # 可以看到总计有两颗硬盘,每一颗大小 1.0810 TB,是否在线等 # 设置硬盘状态 storcli /c1/e8/s0 show all storcli /c1/e8/s0 start locate storcli /c1/e8/s0 set offline storcli /c1/e8/s0 set online storcli /c1/e8/s0 set jbod
- 无标签
添加评论