Re: [Linux-PowerEdge] PE r710 - MegaCli not working

2018-01-22 Thread Stephen Dowdy
On 01/22/2018 10:11 AM, George Machitidze wrote:
> megacli/storcli won't work, use perccli instead

As i said, early storcli versions work fine. Also, MegaCLI has worked just 
fine, as well. but i haven't updated since 8.07.10, so maybe they did the same 
disablement on SubVendorID to later version (but LSI/Avago stopped updating 
MegaCLI a while back in favor of storcli)

Change to storcli made sometime between 1.03.11 and 1.04.07.

finds my PERC in 1.03.11
# storcli64-1.03.11 help | grep Ver
 Storage Command Line Tool  Ver 1.03.11 Jan 30, 2013
# storcli64-1.03.11 show ctrlcount | grep Count
Controller Count = 1

doesn't in 1.04.07
# storcli64-1.04.07 help | grep Ver  
 Storage Command Line Tool  Ver 1.04.07 Apr 2, 2013

# storcli64-1.04.07 show ctrlcount | grep Count
Controller Count = 0

Example of much older MegaCLI using a relatively recent PERC H730 Mini :

# /usr/local/LSI-Tools/megacli -V | grep Ver
  MegaCLI SAS RAID Management Tool  Ver 8.07.10 May 28, 2013

# /usr/local/LSI-Tools/megacli-overview
[Adapter 0]
ADP[0]=( PERC H730 Mini),FWPkg( 25.5.0.0018),FWVer( 4.270.00-8112)
BBU[0]=(Learning?=No, charge=93 %, status=Complete, isSOHGood=Yes)
PD[32:0]=(SEAGATE/ST300MM0006/LS0B/S0KX) ME=0,OE=0,PF=0,FW=Online, Spun 
Up,F=None
PD[32:1]=(SEAGATE/ST300MM0006/LS0B/S0KX) ME=0,OE=0,PF=0,FW=Online, Spun 
Up,F=None
PD[32:2]=(SEAGATE/ST300MM0006/LS0B/S0KX) ME=0,OE=0,PF=0,FW=Online, Spun 
Up,F=None
PD[32:3]=(SEAGATE/ST300MM0006/LS0B/S0KX) ME=0,OE=0,PF=0,FW=Online, Spun 
Up,F=None
PD[32:4]=(SEAGATE/ST300MM0006/LS0B/S0KX) ME=0,OE=0,PF=0,FW=Online, Spun 
Up,F=None
PD[32:5]=(SEAGATE/ST300MM0006/LS0B/S0KX) ME=0,OE=0,PF=0,FW=Online, Spun 
Up,F=None
PD[32:6]=(SEAGATE/ST300MM0006/LS0B/S0KX) ME=0,OE=0,PF=0,FW=Online, Spun 
Up,F=None
PD[32:7]=(SEAGATE/ST300MM0006/LS0B/S0KX) ME=0,OE=0,PF=0,FW=Online, Spun 
Up,F=None
VD[0:0]=("OpSys",R(6,0,3),SZ= 249.999 GB,SS=128 
KB,CP=(W=WriteBack,R=RANone,IO=D),# 8,Optimal)
VD[0:1]=("Exports",R(6,0,3),SZ= 1.389 TB,SS=128 
KB,CP=(W=WriteBack,R=RANone,IO=D),# 8,Optimal)

If you can't get your head around 'storcli/perccli' syntax or have existing 
scripts that parse MegaCLI (so much fun), realize it has the entire MegaCLI 
parser secretly hidden inside ;)
(oh, i actually just noticed, it *IS* "documented" with:
storcli/perccli help legacy
)

(not super current version, but haven't needed newer)
# /usr/local/LSI-Tools/perccli version   
 Storage Command Line Tool  Ver 1.17.10 October 21, 2015

 (c)Copyright 2015, AVAGO Corporation, All Rights Reserved.
 
storcli/perccli command format   
# /usr/local/LSI-Tools/perccli /c0 show termlog | head -5
Firmware Term Log Information on controller 0:
ateChannelBankInfo: Available Channels: 1 
T4: C0:onfiUpdateChannelBankInfo: Available Banks   : 1 
T4: C0:**DEBUG:LUN Interleave: 0x11 
T4: C0:onfiDeviceInfo[0].mainAreaSize:8192

MegaCli format:
# /usr/local/LSI-Tools/perccli fwtermlog dsply a0 | head -5
Firmware Term Log Information on controller 0:
ateChannelBankInfo: Available Channels: 1 
T4: C0:onfiUpdateChannelBankInfo: Available Banks   : 1 
T4: C0:**DEBUG:LUN Interleave: 0x11 
T4: C0:onfiDeviceInfo[0].mainAreaSize:8192 

--stephen
-- 
Stephen Dowdy  -  Systems Administrator  -  NCAR/RAL
303.497.2869   -  sdo...@ucar.edu-  http://www.ral.ucar.edu/~sdowdy/

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge


Re: [Linux-PowerEdge] PE r710 - MegaCli not working

2018-01-22 Thread George Machitidze
megacli/storcli won't work, use perccli instead

*George Machitidze*



On Mon, Jan 22, 2018 at 9:03 PM, Stephen Dowdy  wrote:

> On 01/22/2018 09:53 AM, Howard, Chris wrote:
> > I don't use it often but I think it was working.
> > Now it is not working.  It always says there are no controllers.
>
> FWIW, sometimes the MegaRAID kernel drivers get wonked (esp when something
> is quite screwed up on the RAID itself), requiring a reboot for megacli to
> work, if you haven't done that.
>
> There was also a split a few years back in LSI/Avago/Broadcom/whatever
> land where 'storcli' and 'perccli' split functionality depending upon
> whether it was a pure LSI device or Dell/other sub-brand.  ('storcli' used
> to work for Dell controllers but then LSI/Ava... switched it to (i presume)
> look at the PCI SubVendor ID and will report "No Controller" if it was a
> Dell model.
>
> I continue to use MegaCli64-8.07.10  for all my PERC controllers and
> haven't had an issue with anything even current. (It Works For Me)
>
> --stepehn
> --
> Stephen Dowdy  -  Systems Administrator  -  NCAR/RAL
> 303.497.2869   -  sdo...@ucar.edu-  http://www.ral.ucar.edu/~
> sdowdy/
>
> ___
> Linux-PowerEdge mailing list
> Linux-PowerEdge@dell.com
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
>
___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge


Re: [Linux-PowerEdge] PE r710 - MegaCli not working

2018-01-22 Thread Cameron Smith
Alternating green/amber is a predictive failure.


Cameron

On Mon, Jan 22, 2018 at 8:53 AM, Howard, Chris  wrote:

>
> Hi,
>
> We have a PE R710 which is running Scientific Linux (A respin of RedHat).
> I have the MegaCli tool installed.
> I don't use it often but I think it was working.
> Now it is not working.  It always says there are no controllers.
>
> I have a link here to a video I took.
> We are getting a funny green/amber sequence on one of the drives.
> I don't know if that means a bad drive or maybe is telling
> us the controller is bad.
>
> We have two drives which are mirrored.
>
> The system seems to be running OK otherwise.
>
> https://photos.app.goo.gl/K4ojETOwedbeiIvu1[photos.app.goo.gl]
>
> Chris Howard
>
>
>
> ___
> Linux-PowerEdge mailing list
> Linux-PowerEdge@dell.com
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
>
___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge


Re: [Linux-PowerEdge] PE r710 - MegaCli not working

2018-01-22 Thread Stephen Dowdy
On 01/22/2018 09:53 AM, Howard, Chris wrote:
> I don't use it often but I think it was working.
> Now it is not working.  It always says there are no controllers.

FWIW, sometimes the MegaRAID kernel drivers get wonked (esp when something is 
quite screwed up on the RAID itself), requiring a reboot for megacli to work, 
if you haven't done that.

There was also a split a few years back in LSI/Avago/Broadcom/whatever land 
where 'storcli' and 'perccli' split functionality depending upon whether it was 
a pure LSI device or Dell/other sub-brand.  ('storcli' used to work for Dell 
controllers but then LSI/Ava... switched it to (i presume) look at the PCI 
SubVendor ID and will report "No Controller" if it was a Dell model.

I continue to use MegaCli64-8.07.10  for all my PERC controllers and haven't 
had an issue with anything even current. (It Works For Me)

--stepehn
-- 
Stephen Dowdy  -  Systems Administrator  -  NCAR/RAL
303.497.2869   -  sdo...@ucar.edu-  http://www.ral.ucar.edu/~sdowdy/

___
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge