PE860 SAS 5/iR - how to view RAID state

Zach Bagnall zach.bagnall at bulletinwireless.com
Mon Nov 20 21:26:55 CST 2006


Yes, definitely loaded:

Module                  Size  Used by
..
mptctl                 35397  0
dm_mirror              31901  0
dm_mod                 60741  1 dm_mirror
..
mptscsih                5569  0
mptsas                 13389  6 mptscsih
mptspi                 13261  1 mptscsih
mptfc                  12489  1 mptscsih
mptscsi                43997  3 mptsas,mptspi,mptfc
mptbase                61345  5 mptctl,mptsas,mptspi,mptfc,mptscsi
sd_mod                 20545  6
scsi_mod              117709  6 sg,mptsas,mptspi,mptfc,mptscsi,sd_mod

I took Giulio's advice and downloaded the 5/iR "driver" from 
support.dell.com under PE860/RHEL4: mptlinux-3.02.63-5.dkms.tgz

# rpm -qi mptlinux
Name        : mptlinux                     Relocations: (not relocatable)
Version     : 3.02.63                           Vendor: LSI
Release     : 5dkms                         Build Date: Wed 13 Sep 2006 
06:23:46 AM NZST
Install Date: Tue 21 Nov 2006 05:49:57 PM NZDT      Build Host: 
localhost.localdomain
Group       : System Environment/Base       Source RPM: 
mptlinux-3.02.63-5dkms.src.rpm
Size        : 12976403                         License: GPL
Signature   : (none)
Packager    : Eric Moore <Eric.Moore at lsil.com>
Summary     : mptlinux dkms package
Description :
This package contains LSI's mptlinux module wrapped for the DKMS framework.

Which installed a source tree to /usr/src/mptlinux-3.02.63

I'm not sure how to build this correctly, so I just ran make in lsiutil/ 
and the resulting tool, lsiutil, works perfectly.

I would still like to know how to perform the monitoring with omsa and 
also how to build and install lsitool correctly. I probably need to 
install the kernel source from RPM (I thought I did - it's in 
/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686).

Thanks for your help. If you could shed any light on monitoring with 
omsa, or alternatively how to install lsitool correctly, I'd really 
appreciate that.

Zach.

On 11/21/06 10:01, Patrick_Boyd at dell.com wrote:
> Can you verify that the mptctl drive is loaded? 
> 
> -----Original Message-----
> From: Zach Bagnall [mailto:zach.bagnall at bulletinwireless.com] 
> Sent: Monday, November 20, 2006 2:10 PM
> To: Boyd, Patrick
> Cc: linux-poweredge-Lists
> Subject: Re: PE860 SAS 5/iR - how to view RAID state
> 
> Hmm.. thanks, but no such luck:
> 
> [root at kea ~]# omreport storage vdisk controller=0 Invalid controller
> value. Read, controller=0 No controllers found.
> 
> [root at kea ~]# omreport storage vdisk
> List of Virtual Disks on Controller  (Slot )
> 
> dmesg:
> SCSI subsystem initialized
> Fusion MPT base driver 3.02.62.01rh
> Copyright (c) 1999-2005 LSI Logic Corporation Fusion MPT FC Host driver
> 3.02.62.01rh Fusion MPT SPI Host driver 3.02.62.01rh Fusion MPT SAS Host
> driver 3.02.62.01rh
> ACPI: PCI interrupt 0000:02:08.0[A] -> GSI 16 (level, low) -> IRQ 169
> mptbase: Initiating ioc0 bringup
> ioc0: SAS1068: Capabilities={Initiator}
> scsi0 : ioc0: LSISAS1068, FwRev=00063200h, Ports=1, MaxQ=267, IRQ=169
>    Vendor: Dell      Model: VIRTUAL DISK      Rev: 1028
>    Type:   Direct-Access                      ANSI SCSI revision: 05
> SCSI device sda: 310546432 512-byte hdwr sectors (159000 MB) SCSI device
> sda: drive cache: write through SCSI device sda: 310546432 512-byte hdwr
> sectors (159000 MB) SCSI device sda: drive cache: write through
>   sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 > Attached scsi disk
> sda at scsi0, channel 0, id 0, lun 0
> 
> 2.6.9-42.ELsmp
> 
> On 11/21/06 04:01, Patrick_Boyd at dell.com wrote:
>> With OMSA you can just type "omreport storage vdisk controller=0" The 
>> LSI packages won't work to monitor this card since it isn't a
> "MegaRAID"
>> card.
>>
>> -----Original Message-----
>> From: linux-poweredge-bounces at dell.com 
>> [mailto:linux-poweredge-bounces at dell.com] On Behalf Of Zach Bagnall
>> Sent: Monday, November 20, 2006 12:08 AM
>> To: linux-poweredge-Lists
>> Subject: PE860 SAS 5/iR - how to view RAID state
>>
>> Hi all.
>>
>> I have one of these here (and another two on the way) and need to 
>> monitor the RAID1 array for failures.
>>
>> I have install OMSA 5.1 from the included CDs but it's unclear where 
>> to begin. Is that all I need? Can someone point me at the command to 
>> execute to get the current state (OK, rebuilding, etc).
>>
>> As a plan B, I downloaded MegaCLI from the LSI site
>> (Linux_MegaCli_1.01.09.zip) and got it installed, but it doesn't see 
>> the
>> controller:
>>
>> # MegaCli -CfgDsply -aALL
>>
>> ERROR:Could not detect controller.
>>
>> # MegaCli -AdpAllInfo -aALL
>>
>> ERROR:Could not detect controller.
>>
>> What's the best way to go about this?
>>
>> Zach.
>>
>> _______________________________________________
>> Linux-PowerEdge mailing list
>> Linux-PowerEdge at dell.com
>> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
>> Please read the FAQ at http://lists.us.dell.com/faq
>>
>> _______________________________________________
>> Linux-PowerEdge mailing list
>> Linux-PowerEdge at dell.com
>> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
>> Please read the FAQ at http://lists.us.dell.com/faq
> 
> --
> Services & Support, Bulletin Wireless (NZ)
> http://docs.bulletinwireless.net/display/public/support
> http://www.bulletinwireless.com/
> Ph +64 9 307 1764  Fax +64 9 307 1148
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq

-- 
Services & Support, Bulletin Wireless (NZ)
http://docs.bulletinwireless.net/display/public/support
http://www.bulletinwireless.com/
Ph +64 9 307 1764  Fax +64 9 307 1148



More information about the Linux-PowerEdge mailing list