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
8
votes
6 answers

How to create Raid 10 with megacli

I have OpenFiler storage server. Without installing Windows and MSM, I want to create raid10 array from disks 2 to 21. I have already successfully installed MegaCli to OpenFiler but I'm stuck in figuring out the correct command line for creating a…
Henno
  • 1,046
  • 5
  • 19
  • 33
7
votes
0 answers

PERC MegaRAID S.M.A.R.T. Status is not matching smartctl's - looking for clues what's wrong with the HDD

I'm getting strange SMART error from MegaCli on Dell R720xd and PERC H710P with five 4Tb SATA drives in RAID5 /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL gives me some "Failure Seq Event Number" Slot Number: 4 ... Last Predictive Failure Event…
kuz8
  • 423
  • 1
  • 6
  • 9
7
votes
4 answers

How to interpret this output from MegaCli?

/opt/MegaCli -CfgDsply -a0 | less RAID Level : Primary-1, Secondary-3, RAID Level Qualifier-0 Almost positive this is not running a RAID3, my guess is a RAID 10, where "Primary" means what is being done in the "spans" (span being Mega…
cat pants
  • 2,139
  • 10
  • 33
  • 44
6
votes
1 answer

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 let the OS access them directly (as opposed to…
Phil Regnauld
  • 61
  • 1
  • 1
  • 3
6
votes
3 answers

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 devices in the PDList output also have a Device Id…
lmz
  • 379
  • 2
  • 4
  • 17
6
votes
5 answers

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 running in RAID-10. Searching around for some hints…
Erathiel
  • 711
  • 3
  • 10
  • 21
6
votes
1 answer

Reset MegaCLI error count

I have a system where MegaCli64 -PdList -a0 shows media errors on one disk. After investigating the errors, I've decided not to take any action for now. I'd like to reset the error count, so that MegaCli will show 0 media errors unless there is…
sciurus
  • 12,493
  • 2
  • 30
  • 49
4
votes
1 answer

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, howerver, my boss tells me that the drives are…
TuturuJones
  • 41
  • 1
  • 2
4
votes
1 answer

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. I tried rebuilding manually in megacli but it…
3
votes
2 answers

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. # ./MegaCli64 -LDInfo -Lall -aAll | grep 'Cache…
screwuphead
  • 51
  • 1
  • 1
  • 6
3
votes
0 answers

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) Physical drives two and three (labeled a0e32s2 and…
3
votes
3 answers

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 = Failure Description = Unsupported RAID level In the…
ispirto
  • 499
  • 9
  • 21
3
votes
1 answer

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 made up of contiguous data segments on the drives.…
agshe
  • 31
  • 2
3
votes
1 answer

Should I enable "Patrol Read" on SSD drives?

LSI, Intel and Dell RAID controllers (perhaps others) have a "Patrol Read" feature to try to spot when a drive is failing before it completely fails. LSI seems to disable patrol read on SSD by default but allows you to turn it on if desired via…
ck_
  • 429
  • 7
  • 19
3
votes
1 answer

Added drive to PERC6/i raid5 array instead of replacing - is there a way to fix this?

This is a 3 drive RAID5. The disk in slot 1 failed. After the disk was replaced, I ran: MegaCli64 -LDRecon -Start -r5 -Add -PhysDrv[32:1] -L0 -a0 Obviously that was not the correct command as now I have a degraded 4 disk raid5 instead of a good 3…
Chris
  • 31
  • 2
1
2 3 4 5