Questions tagged [megacli]
Command line tool for configuring LSI MegaRAID cards in Linux.
65
questions
3
votes
1
answer
140
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. ...
0
votes
1
answer
490
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 ...
0
votes
0
answers
133
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.
...
0
votes
1
answer
127
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 ...
0
votes
1
answer
208
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 ...
1
vote
0
answers
235
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 ...
0
votes
1
answer
196
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, ...
2
votes
0
answers
937
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 ...
3
votes
0
answers
1k
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 ...
2
votes
0
answers
335
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 ...
0
votes
0
answers
171
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 ...
4
votes
1
answer
118
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....
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# ...
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 ...
2
votes
0
answers
259
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 ...
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 ...
1
vote
0
answers
550
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 ...
2
votes
1
answer
5k
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 ...
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 ...
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 ...
1
vote
1
answer
1k
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 ...
0
votes
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 ...
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-...
1
vote
0
answers
386
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 ...
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 ...
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 ...
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 ...
6
votes
1
answer
11k
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 ...
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 ...
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 ...
4
votes
1
answer
10k
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,...
1
vote
0
answers
279
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 ...
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 ...
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 "...
2
votes
1
answer
6k
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-...
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' ...
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 ...
1
vote
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 ...
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.
# ./...
6
votes
3
answers
27k
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 ...
0
votes
1
answer
192
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", ...
2
votes
1
answer
4k
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 ...
3
votes
0
answers
2k
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)
...
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 ...
1
vote
2
answers
12k
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 ...
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 ...
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.
...
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 = ...
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 ...
3
votes
1
answer
2k
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><...