首页 > 学院 > 操作系统 > 正文

RAID卡

2024-06-28 16:01:31
字体:
来源:转载
供稿:网友

RAID卡

简介

RAID模式介绍

linux下raid卡工具

安装

使用

进入/opt/MegaRAID/storcli,只有在这个目录下,才能执行(因为没有加入系统path)。 Raid数量及当前状态

[root@seg1 storcli]# pwd/opt/MegaRAID/storcli[root@seg1 storcli]# ./storcli64 show ctrlcountStatus Code = 0Status = SuccessDescription = NoneController Count = 1

查看基础信息

[root@seg1 storcli]# ./storcli64 /c0 showGenerating detailed summary of the adapter, it may take a while to complete.Controller = 0Status = SuccessDescription = NonePRoduct Name = LSI MegaRAID SAS 9271-8iSerial Number = SV45208424SAS Address = 500605b009e8c730PCI Address = 00:03:00:00System Time = 02/08/2017 11:10:11Mfg. Date = 12/22/14Controller Time = 02/08/2017 03:10:33FW Package Build = 23.12.0-0011BIOS Version = 5.38.00_4.12.05.00_0x05270000FW Version = 3.240.05-2282Driver Name = megaraid_sasDriver Version = 06.807.10.00-rh1Vendor Id = 0x1000Device Id = 0x5BSubVendor Id = 0x1000SubDevice Id = 0x9271Host Interface = PCIEDevice Interface = SAS-6GBus Number = 3Device Number = 0Function Number = 0Drive Groups = 2TOPOLOGY :========--------------------------------------------------------------------------DG Arr Row EID:Slot DID Type State BT Size PDC PI SED DS3 FSpace -------------------------------------------------------------------------- 0 - - - - RAID1 Optl N 744.687 GB enbl N N none N 0 0 - - - RAID1 Optl N 744.687 GB enbl N N none N 0 0 0 8:0 11 DRIVE Onln N 744.687 GB enbl N N none - 0 0 1 8:1 12 DRIVE Onln N 744.687 GB enbl N N none - 1 - - - - RAID5 Optl N 6.544 TB enbl N N none N 1 0 - - - RAID5 Optl N 6.544 TB enbl N N none N 1 0 0 8:2 9 DRIVE Onln N 744.687 GB enbl N N none - 1 0 1 8:3 18 DRIVE Onln N 744.687 GB enbl N N none - 1 0 2 8:4 10 DRIVE Onln N 744.687 GB enbl N N none - 1 0 3 8:5 14 DRIVE Onln N 744.687 GB enbl N N none - 1 0 4 8:6 16 DRIVE Onln N 744.687 GB enbl N N none - 1 0 5 8:7 13 DRIVE Onln N 744.687 GB enbl N N none - 1 0 6 8:8 17 DRIVE Onln N 744.687 GB enbl N N none - 1 0 7 8:9 15 DRIVE Onln N 744.687 GB enbl N N none - 1 0 8 8:10 20 DRIVE Onln N 744.687 GB enbl N N none - 1 0 9 8:11 19 DRIVE Onln N 744.687 GB enbl N N none - --------------------------------------------------------------------------DG=Disk Group Index|Arr=Array Index|Row=Row Index|EID=Enclosure Device IDDID=Device ID|Type=Drive Type|Onln=Online|Rbld=Rebuild|Dgrd=DegradedPdgd=Partially degraded|Offln=Offline|BT=Background Task ActivePDC=PD Cache|PI=Protection Info|SED=Self Encrypting Drive|Frgn=ForeignDS3=Dimmer Switch 3|dflt=Default|Msng=Missing|FSpace=Free Space PresentVirtual Drives = 2VD LIST :=======-----------------------------------------------------------DG/VD TYPE State access Consist Cache sCC Size Name -----------------------------------------------------------0/0 RAID1 Optl RW Yes RWBD - 744.687 GB 1/1 RAID5 Optl RW Yes RWBD - 6.544 TB -----------------------------------------------------------Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|dgrd=DegradedOptl=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=ScheduledCheck ConsistencyPhysical Drives = 12PD LIST :=======----------------------------------------------------------------------------EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp ----------------------------------------------------------------------------8:0 11 Onln 0 744.687 GB SATA SSD N N 512B INTEL SSDSC2BB800G4 U 8:1 12 Onln 0 744.687 GB SATA SSD N N 512B INTEL SSDSC2BB800G4 U 8:2 9 Onln 1 744.687 GB SATA SSD N N 512B INTEL SSDSC2BB800G4 U 8:3 18 Onln 1 744.687 GB SATA SSD N N 512B INTEL SSDSC2BB800G4 U 8:4 10 Onln 1 744.687 GB SATA SSD N N 512B INTEL SSDSC2BB800G4 U 8:5 14 Onln 1 744.687 GB SATA SSD N N 512B INTEL SSDSC2BB800G4 U 8:6 16 Onln 1 744.687 GB SATA SSD N N 512B INTEL SSDSC2BB800G4 U 8:7 13 Onln 1 744.687 GB SATA SSD N N 512B INTEL SSDSC2BB800G4 U 8:8 17 Onln 1 744.687 GB SATA SSD N N 512B INTEL SSDSC2BB800G4 U 8:9 15 Onln 1 744.687 GB SATA SSD N N 512B INTEL SSDSC2BB800G4 U 8:10 20 Onln 1 744.687 GB SATA SSD N N 512B INTEL SSDSC2BB800G4 U 8:11 19 Onln 1 744.687 GB SATA SSD N N 512B INTEL SSDSC2BB800G4 U ----------------------------------------------------------------------------EID-Enclosure Device ID|Slt-Slot No.|DID-Device ID|DG-DriveGroupDHS-Dedicated Hot Spare|UGood-Unconfigured Good|GHS-Global HotspareUBad-Unconfigured Bad|Onln-Online|Offln-Offline|Intf-InterfaceMed-Media Type|SED-Self Encryptive Drive|PI-Protection InfoSeSz-Sector Size|Sp-Spun|U-Up|D-Down|T-Transition|F-ForeignUGUnsp-Unsupported|UGShld-UnConfigured shielded|HSPShld-Hotspare shieldedCFShld-Configured shieldedCachevault_Info :===============------------------------------------Model State Temp Mode MfgDate ------------------------------------CVPM02 Optimal 24C - 2014/10/20 ------------------------------------

查询虚拟磁盘大小,raid结构等. 因为有2个raid配置,分别执行v0和v1来看,发现第一个做的是RAID1,第二个做的是RAID5

[root@seg1 storcli]# ./storcli64 /c0 /v0 showController = 0Status = SuccessDescription = NoneVirtual Drives :==============-----------------------------------------------------------DG/VD TYPE State Access Consist Cache sCC Size Name -----------------------------------------------------------0/0 RAID1 Optl RW Yes RWBD - 744.687 GB -----------------------------------------------------------Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|dgrd=DegradedOptl=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=ScheduledCheck Consistency[root@seg1 storcli]# ./storcli64 /c0 /v1 showController = 0Status = SuccessDescription = NoneVirtual Drives :==============---------------------------------------------------------DG/VD TYPE State Access Consist Cache sCC Size Name ---------------------------------------------------------1/1 RAID5 Optl RW Yes RWBD - 6.544 TB ---------------------------------------------------------Cac=CacheCade|Rec=Recovery|OfLn=OffLine|Pdgd=Partially Degraded|dgrd=DegradedOptl=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=ScheduledCheck Consistency
上一篇:nodejs项目的部署

下一篇:hadoop源码查看

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表