
If you have identified a failed, or failing disk, it is possible to replace it using the MegaCli utility. In the example below we will cover replacing a failed disk from a raid 5 that has three disks total. The first thing we want to check is the status of our raid 5. root@raid log# MegaCli64.
Pd Missing Backplane Slot 0
- root@ceph-aio-1:/home/campgareth# megacli -AdpAllInfo -aAll
- Adapter #0
- Serial No : SP03017026
- Rework Date : 00/00/00
- Battery FRU : N/A
- Image Versions in Flash:
- Boot Block Version : R.2.3.15
- MPT Version : MPTFW-01.18.172.00-IT
- WebBIOS Version : 1.1-33j-e_11-Rel
- Preboot CLI Version: 01.00-011:#%00001
- Pending Images in Flash
- None
- PCI Info
- Controller Id : 0000
- Device Id : 0411
- SubDeviceId : 1008
- Host Interface : PCIE
- Link Speed : 0
- Device Interface : PCIE
- Number of Backend Port: 16
- 0 0000000000000000
- 2 0000000000000000
- 4 3f535c157ba86c7e
- 6 3d53471ca1966ba6
- 8 3f535c149a9b6c7e
- 10 0000000000000000
- 12 61695603a6716573
- 14 0000000000000000
- BBU : Absent
- NVRAM : Present
- Memory : Present
- Memory Size : 256MB
- On board Expander: Absent
- Temperature sensor for ROC : Absent
- Predictive Fail Poll Interval : 300sec
- Interrupt Throttle Completion : 50us
- PR Rate : 30%
- Check Consistency Rate : 30%
- Cache Flush Interval : 4s
- Delay Among Spinup Groups : 12s
- Cluster Mode : Disabled
- Auto Rebuild : Enabled
- Ecc Bucket Size : 15
- Restore HotSpare on Insertion : Disabled
- Maintain PD Fail History : Disabled
- Auto Detect BackPlane Enabled : SGPIO/i2c SEP
- Use FDE Only : No
- Security Key Failed : No
- Default LD PowerSave Policy : Controller Defined
- Maximum number of direct attached drives to spin up in 1 min : 0
- Any Offline VD Cache Preserved : No
- Disable Online Controller Reset : No
- Use disk activity for locate : No
- BIOS Error Handling : Pause on Errors
- Capabilities
- RAID Level Supported : RAID0, RAID1, RAID5, RAID6, RAID00, RAID10, RAID50, RAID60, SRL 3 supported
- Mix of SAS/SATA of HDD type in VD Allowed
- Status
- ECC Bucket Count : 0
- Limitations
- Max Arms Per VD : 32
- Max Arrays : 128
- Max Parallel Commands : 1008
- Max Data Transfer Size : 8192 sectors
- Max LD per array : 16
- Max Strip Size : 1.0 MB
- Current Size of CacheCade : 0 GB
- Degraded : 0
- Physical Devices : 7
- Critical Disks : 0
- CC Rate : Yes
- Reconstruct Rate : Yes
- Alarm Control : Yes
- BBU : Yes
- Dedicated Hot Spare : Yes
- Foreign Config Import : Yes
- Allow Mixed Redundancy on Array : No
- Deny SCSI Passthrough : No
- Deny STP Passthrough : No
- Snapshot Enabled : No
- Support PFK : No
- Support Boot Time PFK Change : No
- Support Shield State : No
- Write Policy : Yes
- Access Policy : Yes
- Reconstruction : Yes
- Deny CC : No
- Enable LDBBM : No
- Power Savings : No
- Supported PD Operations
- Force Online : Yes
- Force Rebuild : Yes
- Deny Force Good/Bad : No
- Deny Clear : No
- Support Temperature : No
- Disable Copyback : No
- Enable Copyback on SMART : No
- Enable SSD Patrol Read : No
- Error Counters
- Memory Correctable Errors : 0
- Cluster Active : No
- Default Settings
- Phy Polarity : 0
- Background Rate : 30
- Flush Time : 4 seconds
- Read Policy : None
- Cached IO : Yes
- Alarm Disable : Yes
- ZCR Config : Unknown
- BIOS Continue on Error : 0
- Allowed Device Type : SAS/SATA Mix
- Allow HDD SAS/SATA Mix in VD : Yes
- Allow HDD/SSD Mix in VD : No
- Max Chained Enclosures : 3
- Enable Web BIOS : Yes
- BIOS Enumerate VDs : No
- Expose Enclosure Devices : Yes
- Disable Puncturing : No
- PreBoot CLI Enabled : Yes
- Cluster Disable : Yes
- Auto Detect BackPlane Enable : SGPIO/i2c SEP
- Enable Led Header : No
- EnableCrashDump : No
- EnableLDBBM : No
- Treat Single span R1E as R10 : No
- Power Saving option : All power saving options are enabled
- Enable JBOD : No
- root@ceph-aio-1:/home/campgareth# megacli -PDList -aAll
- Adapter #0
- Enclosure Device ID: 252
- Drive's position: DiskGroup: 0, Span: 0, Arm: 0
- Device Id: 29
- Sequence Number: 2
- Other Error Count: 2
- Last Predictive Failure Event Seq Number: 0
- Non Coerced Size: 1.818 TB [0xe8d088b0 Sectors]
- Sector Size: 0
- Device Firmware Level: ABB0
- Successful diagnostics completion on : N/A
- Connected Port Number: 4(path0)
- Inquiry Data: 15MYB3THSTOSHIBA DT01ACA200 MX4OABB0
- FDE Enable: Disable
- Locked: Unlocked
- Foreign State: None
- Link Speed: Unknown
- Drive Temperature : N/A
- Drive is formatted for PI information: No
- Port-0 :
- Port's Linkspeed: Unknown
- Slot Number: 6
- Enclosure position: N/A
- WWN:
- Media Error Count: 0
- Predictive Failure Count: 0
- PD Type: SATA
- Raw Size: 1.999 TB [0xffffffff Sectors]
- Coerced Size: 1.999 TB [0xffe18000 Sectors]
- Firmware state: Online, Spun Up
- Shield Counter: 0
- SAS Address(0): 0x3d53471ca1966ba6
- Inquiry Data: Y3MDHYBGSTOSHIBA DT01ACA300 MX6OABB0
- FDE Enable: Disable
- Locked: Unlocked
- Foreign State: None
- Link Speed: Unknown
- Drive Temperature : N/A
- Drive is formatted for PI information: No
- Port-0 :
- Port's Linkspeed: Unknown
Comments are closed.