dell omsa管理工具

dell服务器raid管理工具

lsiutil dell sas6i/r
MegaCli dell prec

omsa管理raid分区
显示物理硬盘信息

omreport storage pdisk controller=0 

显示虚拟硬盘信息

omreport storage vdisk controller=0

配置物理硬盘为raid模式(查看物理硬盘信息,如果非raid模式,使用以下命令)

omconfig storage pdisk controller=0 action=convertnonraidtoraid pdisk=0:1:0
omconfig storage pdisk controller=0 action=convertnonraidtoraid pdisk=0:1:1
.....

配置物理硬盘为raid10模式

omconfig storage controller action=createvdisk controller=0 raid=r10 size=max pdisk=0:1:0,0:1:1,0:1:2,0:1:3,0:1:4,0:1:5,0:1:6,0:1:7,0:1:8,0:1:9,0:1:10,0:1:11

删除虚拟硬盘

omconfig storage vdisk action=deletevdisk vdisk=1 controller=0

清除硬盘Foreign状态

mconfig storage controller action=clearforeignconfig controller=0

How-To : Replace dead / faulty drive in Dell PERC RAID array
http://cavepopo.hd.free.fr/wordpress/how-to/how-to-replace-dead-faulty-drive-in-dell-perc-raid-array/

# raidcfg controller
      Controller_ID/Slot_ID: 4
          Controller_PCI_ID: 2:0:0
            Controller_Name: PERC H200 Integrated
                   Channels: 2
        No.of Virtual_Disks: 2
                Array_Disks: 0:0:2,0:1:2,0:2:2,0:3:2,0:4:2,0:5:2,0:6:2,0:7:2,
			0:8:2,0:9:2,0:12:2,0:13:2
           Firmware Version: 07.03.05.00
            Preserved Cache: Not Available
T10 Protection Info Capable: No
         Encryption Capable: No
     Encryption Key Present: Not Applicable

# raidcfg controller controllerid=4
# raidcfg pdisk controllerid=4
          Controller: PERC H200 Integrated
**************** Physical Drive ****************
                     Vendor:  DELL(tm)
                      Model:  WDC WD2003FYYS-18W0B0
                   Protocol:  SATA 
                      Media:  HDD
                   NegSpeed:  3072 Mbps
                   CapSpeed:  UNKNOWN
                  Certified:  YES
                   Location:  0:0:2
                       Size:  1907200 MB (1862 GB)
                      Avail:  0 MB 
                 SMARTState:  No Error
                  DiskState:  Online
         Encryption Capable:  No
                    Secured:  Not Applicable
                Sector Size:  512B
T10 Protection Info Capable:  No


**************** Physical Drive ****************
                     Vendor:  DELL(tm)
                      Model:  WDC WD2003FYYS-18W0B0
                   Protocol:  SATA 
                      Media:  HDD
                   NegSpeed:  3072 Mbps
                   CapSpeed:  UNKNOWN
                  Certified:  YES
                   Location:  0:1:2
                       Size:  1907200 MB (1862 GB)
                      Avail:  0 MB 
                 SMARTState:  No Error
                  DiskState:  Online
         Encryption Capable:  No
                    Secured:  Not Applicable
                Sector Size:  512B
T10 Protection Info Capable:  No

# raidcfg vdisk controllerid=4
          Controller: PERC H200 Integrated
            VDisk ID: 1
   Virtual Disk Name: Virtual Disk 1
                Size: 9536000 MB (9312 GB)
                Type: RAID 10 
         Read Policy: Not Applicable
        Write Policy: Not Applicable
        Cache Policy: Disabled
         Stripe Size: 64
         Span Length: 10
              Drives: 0:0:2,0:1:2,0:2:2,0:3:2,0:4:2,0:5:2,0:6:2,0:7:2,
			0:8:2,0:9:2
              BootVD: No
 T10 Protection Info: Disabled
           Encrypted: No


            VDisk ID: 0
   Virtual Disk Name: Virtual Disk 0
                Size: 476416 MB (465 GB)
                Type: RAID 1 
         Read Policy: Not Applicable
        Write Policy: Not Applicable
        Cache Policy: Disabled
         Stripe Size: 64
              Drives: 0:12:2,0:13:2
              BootVD: No
 T10 Protection Info: Disabled
           Encrypted: No

raidcfg vdisk action=deletevdisk controllerid=4 vdisk=1
raidcfg controller action=createvdisk controllerid=4 pdisk=0:0:2,0:1:2,0:2:2,0:3:2,0:4:2,0:5:2,0:6:2,0:7:2,0:8:2,0:9:2 raid=5
原文地址:https://www.cnblogs.com/liujitao79/p/4241313.html