Questions tagged [megacli]

Command line tool for configuring LSI MegaRAID cards in Linux.

Filter by
Sorted by
Tagged with
3 votes
1 answer
358 views

Adding a disk to an existing RAID fails with "disk doesn't have enough capacity"

I have a very old physical server using many disks in a number of RAID6 group. Those disks are not in the same chassis, instead is a JBOD system connected through the RAID controller on this server. ...
Heelara's user avatar
  • 131
0 votes
1 answer
1k views

How to securely erase drives on PERC H710 mini in Dell

The controller doesn't let me convert drives to JBOD for some reason, so I can't reach them with hdparm to send --security-erase-enhanced ATA command. So I decided to use MegaCli for which I found two ...
Ren's user avatar
  • 45
0 votes
0 answers
217 views

megacli cant configure jbod slot num all the same

I am trying to add a bunch of JBOD disks to my home server, I have a SAS expanded card and have added 4 x 2TB disks which can be seen as separate devices (37-40); but I can't set them to JBOD using. ...
Adam's user avatar
  • 101
0 votes
1 answer
204 views

What's the safest way to swap an SSD (RAID 10)?

I have machines (4x 2 TB SSDs, Hardware RAID 10 via LSI 9265-8i cards) and occasionally need to swap an SSD - for example if it fails. I'm curious to hear what people consider to be the safest ...
user12207241's user avatar
0 votes
1 answer
329 views

LSI Megaraid beeping after disk replacement

On my ESXi server, I had to replace a physical disk of my RAID. Now that disk is replaced and rebuild finished, alarm continue beeping, and I don't understand by why, because everything seems to be ...
cyanat's user avatar
  • 41
1 vote
0 answers
258 views

nagios check_raid, megacli reporting wrong disk capacity, volume info on C240M5 Cisco 12G Modular Raid Controller [SAS3516]. TOSHIBA MG06SCA800A

nagios raid_check for new CiscoC240M5 with Cisco 12G Modular Raid Controller SAS3516 was failing. For now I've modified check_raid to skip over the volume check part, checking only the physical drives ...
Johan Hoeke's user avatar
0 votes
1 answer
220 views

Hardware RAID Level [duplicate]

I believe I may have set up wrongfully using RAID-1 instead of RAID-10. Can anyone advise from this output? [root@banjo ~]# ./lsi.sh drives Slot Number: 0 - Online, Spun Up Slot Number: 1 - Online, ...
user12207241's user avatar
2 votes
0 answers
1k views

MegaCLI not seeing RAID card (LSI 9271-4i)

I have a server with LSI 9271-4i card and 4 HDDs. One day the server started malfunctioning and it wouldn't list any drive information. I rebooted the server and it never came up, so I have been using ...
ipruthi's user avatar
  • 61
3 votes
0 answers
2k views

MegaCLI Doesn't allow configured and unconfigured drives with no foreign configs found

I'm fairly new to MegaCLI and I've been having this one issue, after running megacli -CfgLdAdd -r1 [252:0,252:1,252:2,252:3,252:6,252:7] -a0 I get the error Mix of configured and unconfigured ...
Jeremiah Payne's user avatar
2 votes
0 answers
379 views

LSI RAID confusion

I've got a Cisco UCS server with a LSI Logic / Symbios Logic MegaRAID SAS 2008 [Falcon] (rev 03). This has 2 disks configured as RAID1. controller. One of the disks was reporting a very high failure ...
symcbean's user avatar
  • 22.4k
0 votes
0 answers
197 views

Does MegaRAID support creation of initially degraded RAID array?

I want to make a RAID5 array out of 3 disks, copy data from the one disk I have then clear it and add as a spare to the array. A similar magic I can do in linux with mdadm utility (mdadm --create drv1 ...
ZAB's user avatar
  • 109
4 votes
1 answer
128 views

Oracle Exalytics X4-4 server - RAID 1 volume corrupted while data sync was going on

We replaced a failed drive in Oracle Exalytics X4-4 machine. Failed drive was replaced fine and rebuild started. But when rebuild reached at 70%, the main disk got a bad sector and the rebuild failed....
Nikhil Patwardhan's user avatar
0 votes
1 answer
3k views

How to make a 'unconfigured' and 'ready' RAID drive 'online'?

I have 2 drives in RAID 1 configuration, as Ubuntu 16 boot drives. One of the drives failed and recovered by itself and I now have the following output: root@server:/home/admin/megacli/Linux# ...
Yoga's user avatar
  • 151
1 vote
1 answer
2k views

MegaRAID reset "Other Error Count"

After an un-planned power-cycle of a megaraid controller, 23 of its disks show a single "Other Error Count". I've extracted the log, and these seems to correspond to the same number of Unexpected ...
SiHa's user avatar
  • 148
2 votes
0 answers
276 views

System slowdown by RAID controller fading away?

May system runs on a RAID 5 on a RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] (rev 05) Since about a week the system becomes very slow. I get messages on the commant ...
Timothy Truckle's user avatar
1 vote
1 answer
2k views

Disabling JBOD mode from command line for LSI (Dell H330)

I'm unable to disable JBOD mode on H330 (dell): I've tried: megacli -AdpSetProp -EnableJBOD -0 -a0 Adapter 0: Failed to Set Adapter Properties. megacli -CfgClr -a0 Adapter 0: Failed to Clear ...
George Shuklin's user avatar
1 vote
0 answers
629 views

MegaRAID not accepting two out of four new identical drives

I've added four new drives (same model, HUH721010AL4200) to a server using a (supermicro) server with a LSI MegaRAID 3108 controller. I want to make a new RAID10 array with them, but I'm having ...
Marlies's user avatar
  • 111
3 votes
1 answer
6k views

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 ...
azurepancake's user avatar
1 vote
2 answers
5k views

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 ...
mathog's user avatar
  • 111
1 vote
2 answers
3k views

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 ...
Vladimir Sokolov's user avatar
1 vote
1 answer
2k views

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 ...
Jiri B's user avatar
  • 587
1 vote
2 answers
10k views

megacli unconfigured(bad) disk status

megacli tell me, there is an issue with one of my disk. Howerver, I am not sure that this disk actually exist. Here is megaclisas-status info : -- Controller information -- -- ID | H/W Model ...
Inglebard's user avatar
  • 163
0 votes
0 answers
2k views

MegaRAID Controller HDD Not Supported

I'm used to have a LSI MegaRAID Controller with 2 SSDs and 8 Western Digital HDDs. Recently I decided to add another 8 Western Digital HDDs - all 8 TB each - to create a new RAID 5 array. I hot-...
iLLogical's user avatar
1 vote
0 answers
424 views

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 ...
user3536147's user avatar
0 votes
1 answer
2k views

MegaCli won't rebuild when set to hotspare

I recently inserted a new drive and marked it as Good. When I then set it to be a Hot Spare, it refuses to rebuild. [root]# MegaCli -PDList -aALL| grep Firm Firmware state: Online, Spun Up Firmware ...
Alby's user avatar
  • 135
1 vote
1 answer
3k views

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 ...
igal's user avatar
  • 144
2 votes
1 answer
1k views

MegaRAID: what does "Is VD emulated: No" mean

When executing "MegaCLI -LdInfo -LdAll -a0", some of my servers report a property "Is VD emulated: No", and some report "Is VD emulated: Yes". I could not find an explanation for this setting, or how ...
nn4l's user avatar
  • 1,336
7 votes
1 answer
12k views

Does enabling JBOD mode on LSI based controllers affect existing logical disks/arrays?

I've got an LSI2208 integrated raid controller on a Supermicro X9DRH server board. It currently has a Logical Drive (LD) composed of 4 spinning disks. Now I want to add some more drives in JBOD, to ...
Phil Regnauld's user avatar
1 vote
1 answer
1k views

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 ...
seobility's user avatar
2 votes
1 answer
1k views

How to create degraded raid6 array using megacli

There is a server with few disks. And - a new server with PERC controller. I would like to migrate existing data into a new server to raid6 which uses 6 disks(4+2). Unfortunly - i don't have enought ...
undefine's user avatar
  • 1,076
4 votes
1 answer
11k views

Finding the serial number of hard disk drives on a SuperMicro server running MegaRAID SAS 8708ELP

As the title says, I have under my care a SuperMicro server running a hardware RAID 6 with a MegaRAID SAS 8708ELP on Linux. I have two failed disks that I have identified as the drives in slot 2 and 4,...
TuturuJones's user avatar
1 vote
0 answers
297 views

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 ...
TheCleaner's user avatar
  • 32.8k
0 votes
2 answers
3k views

MegaCli create virtual drive from new disk (is it dangerous for the existing array?)

This is a linux system with a MegaRaid controller. MegaCli is installed. I currently have: Virtual Drive: 0 (Target Id: 0) Name : RAID Level : Primary-6, Secondary-0, RAID ...
Viko's user avatar
  • 35
0 votes
0 answers
2k views

LSI Raid controller: identifying failing hard disk (MegaCLI)

Info: I have a LSI 9265-8i controller. It's been running pretty well for two years. More recently it looks like a drive may be failing - no errors reported and no media issues reported when viewing "...
RGI's user avatar
  • 159
2 votes
1 answer
7k views

Xenserver 6.5 LSI MegaRAID

Is there a package available to install the MegaCLI on XenServer6.5? For 6.5 there is this [1] but 6.5 has another kernel. XenServer 6.5 is based on CentOS6.5 (right?), so I also tried the kmod-...
Dirk's user avatar
  • 241
0 votes
1 answer
1k views

megacli: Failed to alloc kernel SGL buffer for IOCTL

Today one of my servers started sending me alerts about non-optimal RAID state. These were triggered by a very simple script run by cron -- if it detects that not all of the disks report 'Optimal' ...
Erathiel's user avatar
  • 711
2 votes
2 answers
9k views

megacli lost virtual disk raid configuration

I've been running centos on x64 with an LSI raid controller description: RAID bus controller product: MegaRAID SAS 1078 vendor: LSI Logic / Symbios Logic i was ...
ramrunner's user avatar
  • 161
2 votes
1 answer
4k views

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 ...
Jai's user avatar
  • 151
3 votes
2 answers
12k views

MegaCli Using write through instead of write back

My DB server is a dell r710 with megacli. Recently was getting poor performance from the database and stumbled across that the current cache policy is WT but the default cache policy is WB. # ./...
screwuphead's user avatar
6 votes
3 answers
28k views

smartctl & megaraid: how to find the right device node for an adapter #

I can list physical drives on all megaraid adapters using: megacli -PDList -aALL This will display an adapter # for each adapter, and then list the physical drives attached to them. The individual ...
lmz's user avatar
  • 379
0 votes
1 answer
215 views

Is it possible to use megacli to copy from one partition to another?

Except "dd" and "rsync", is it possible to directly use the megacli command to copy one partition to another? I am using h310 raid controller, and it seems not working well using "dd" or "rsync", ...
user180574's user avatar
2 votes
1 answer
5k views

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 ...
Damainman's user avatar
  • 1,055
3 votes
0 answers
3k views

Dell PERC 6 - virtual drive goes offline because a drive went into the "ready" state

I have a Dell PowerEdge 2950 with four drives, and this raid controller (Dell Perc 6/i): lspci -nn RAID bus controller [0104]: LSI Logic / Symbios Logic MegaRAID SAS 1078 [1000:0060] (rev 04) ...
raid question's user avatar
6 votes
5 answers
12k views

RAID level confusion (MegaCli vs megasasctl output)

I'm utterly new to working with LSI MegaRAID controllers and I'm confused as to what RAID level I am actually running. My server is equipped with 4 disks, 4TB each and I would like to have them ...
Erathiel's user avatar
  • 711
1 vote
2 answers
13k views

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 ...
morten.c's user avatar
  • 161
1 vote
0 answers
2k views

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 ...
Lookcrabs's user avatar
0 votes
1 answer
6k views

MegaCli64 -PDInfo shows drive but other commands says device does not exist

A drive recently went missing on our IBM server. It has happened on other servers in the past and I usually just replace them with out a problem. On one it is not automatically adding the new drive. ...
user3221510's user avatar
3 votes
3 answers
2k views

LSI Cachecade Pro 2.0 with RAID10 SSD Cache?

I'm trying to add a RAID10 SSD Cache to a VD by this command: [root@livecd storcli]# ./storcli64 /c0 add vd cachecade type=r10 drives=252:4,252:5,252:6,252:7 assignvds=0 Controller = 0 Status = ...
ispirto's user avatar
  • 529
3 votes
1 answer
3k views

MegaCLI / MegaRAID Drive Groups

In the MegaRAID SAS Software User Guide it is stated that a Drive Group includes one or more virtual drives. An excerpt from the document is: "A virtual drive is a partition in a drive group that is ...
agshe's user avatar
  • 31
3 votes
1 answer
3k views

MegaCli: when did a drive fail?

Using MegaCli64, is there a way to find out when a hard disk failed? I.e., /opt/MegaRAID/MegaCli/MegaCli64 -ShowSummary -aALL shows Connector : Int.Ports 0-3<Internal><...
xebtl's user avatar
  • 133