Questions tagged [megacli]

Command line tool for configuring LSI MegaRAID cards in Linux.

Command line tool for configuring LSI MegaRAID cards in Linux.

63 questions
1
vote
1 answer

MegaCLI RAID1 - Can't Replace Missing Disk

I have a RAID1 where I've replaced a disk with errors, however it will not automatically or allow me to manually replace the "missing" disk with the new one. Here are the physical disks per my controller: # MegaCli64 -PDList -aALL | grep -E…
azurepancake
  • 31
  • 1
  • 6
1
vote
2 answers

megacli commands return exit code: 0x00 with PERC H200

Megacli does not want to talk to a PERC H200 adapter on one of our systems. This is what happens (all commands run as "root"): megacli -AdpAllInfo -aAll Exit Code: 0x00 System description (I did not configure this system): CentOS release…
mathog
  • 111
  • 1
  • 3
1
vote
2 answers

lsi megaraid migrate raid 6 to raid 5 without data loss?

I'm using a LSI MegaRAID SAS 9260-8i controller, firmware version 12.15.0-0189 with 8 physical drives. I currently have the main array running on RAID6 with 5 disks and second array on RAID1 with 2 disks. Last one disk slot is hot spare for…
1
vote
1 answer

Duplicate Slot Numbers for MegaRAID SAS 2108 [Liberator]

Why are duplicate Slot Numbers shown in storcli/Megacli output? # lspci -nn | grep -i mega 01:00.0 RAID bus controller [0104]: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] [1000:0079] (rev 03) # /opt/MegaRAID/MegaCli/MegaCli -AdpAllInfo…
Jiri B
  • 497
  • 2
  • 11
1
vote
0 answers

megacli all the Disks in a VD(RAID 6) are missing

I have a server with LSI MegaRAID SAS 9286CV-8e. After an incident, this server which 4 VDs(RAID 6) only 2 are back. When I scan for foreign configurations it says 3 foreign configurations found. But none can be imported. All the disks which belong…
1
vote
1 answer

MegaCli reports an inconsistent number of physical disks

First, here's the abridged version of my question. I have a blinking red light on a drive in a RAID array and although MegaCli doesn't report any disk failures or warnings, some MegaCli commands show 24 disks while others show only 23. I also see…
igal
  • 144
  • 1
  • 10
1
vote
1 answer

LSI Megaraid add a disk in RAID 0 besides a configured RAID 10 array

We have an active RAID 10 with four disks. Now we want to add one disk in RAID 0 to the adapter. This is the current configuration: # megacli -LDInfo -Lall -Aall Adapter 0 -- Virtual Drive Information: Virtual Drive: 0 (Target Id: 0) Name …
seobility
  • 35
  • 4
1
vote
0 answers

VMWare ESXi 5.x - Megaraid controller and SMIS - correct way to monitor/manage controller?

I found some information online: How to Enable RAID Monitoring and Configuration under ESXi 5.x as well as here on ServerFault here: How can I get an email alert when RAID array is degraded? VMware ESXi 5.0, MegaRAID SAS 9260-4i My question is…
TheCleaner
  • 32,352
  • 26
  • 126
  • 188
1
vote
1 answer

How can I reduce LSI raid array without data loss

I have a server with 8x SAS drives attached to hardware LSI RAID controller (MegaCli64) and all 8 drives are configured as single RAID 10 array. I now want to remove 2 drives and replace them with bigger drives. Result should be one RAID 10 array…
Jai
  • 141
  • 3
  • 14
1
vote
1 answer

How to properly use the the MegaCli command for a LSI Megaraid Secure erase for an SSD?

I tried the following commands but I keep getting a invalid command error. It seems to properly pick up the correct controller, drive slot, and adapter though. I currently don't have a screenshot of the exact error but it says it can not start the…
Damainman
  • 995
  • 5
  • 14
  • 26
1
vote
2 answers

LSI MegaRAID SAS 9261-8i: Disk isn't recognized after replacement

I've got a Supermicro Server with an LSI MegaRAID SAS 9261-8i Raid Controller inside. There were 3 Disks attached to the controller which were configured as RAID5 array. One of the disks failed recently (RAID displayed as degraded) and after…
morten.c
  • 161
  • 1
  • 1
  • 8
1
vote
0 answers

running commands on physical drives on different backplane with megacli

So when I run "MegaCli64 -PDlist -aALL -NoLog | egrep 'Slot|state|Inquiry|Enclosure'" to grab a list of disks and their status. I can see a total of 36 disks. The issue is that they have the same slot number and the megacli says to reference the…
Lookcrabs
  • 21
  • 6
1
vote
0 answers

Expand Raid 10 set on MegaRAID LSI 9261-8i

I have an existing Raid 10 drive with 8 drives. 4 in each span. I can't figure out how to expand the set by adding two more drives, one to each span. I'm using the MegaCLI command line tool. I would like to keep the data on the drives if possible.…
Jim Yates
  • 21
  • 3
1
vote
1 answer

MegaRAID - changing cache policy online

I would like to perform some tests with WriteThrough and WriteBack. Is it safe to change these settings on a production system? The RAID controller doesn't have a BBU so I would like to enable WriteBack just for the duration of the test…
HTF
  • 3,050
  • 14
  • 49
  • 78
1
vote
0 answers

MegaCli refuses to configure new disk

A drive went bad on one of my nodes (actually 3 went bad, but there was no problem replacing the first one). following replacement of the drive, [root@ MegaCli]# ./MegaCli64 -PDList -aALL | egrep -i "Slot|State" Slot Number: 0 Firmware state:…