LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-16-2012, 01:11 AM   #1
stardotstar
Member
 
Registered: Nov 2002
Location: /au/qld/bne/4157
Distribution: Gentoo mactel-linux
Posts: 238

Rep: Reputation: 30
HP ProLiant DL360G5 - RAID controller and scsi nodes missing??!


Hi all,

I have a very strange situation that I am sure is easily explained but here it is.

My HP ProLiant DL360G5 (old but venerable) now has two raid arrays on it attached via the Hardware Raid Controller which is a:

Smart Array P400i

I can get this from the HP cciss_vol_status thus:

Quote:
root@solaris [~]# cciss_vol_status -s /dev/cciss/c0d*
/dev/cciss/c0d0: (Smart Array P400i) RAID 1 Volume 0 status: OK.
/dev/cciss/c0d0: (Smart Array P400i) RAID 5 Volume 1 status: OK.
/dev/cciss/c0d0p1: (Smart Array P400i) RAID 1 Volume 0 status: OK.
/dev/cciss/c0d0p1: (Smart Array P400i) RAID 5 Volume 1 status: OK.
/dev/cciss/c0d0p2: (Smart Array P400i) RAID 1 Volume 0 status: OK.
/dev/cciss/c0d0p2: (Smart Array P400i) RAID 5 Volume 1 status: OK.
/dev/cciss/c0d1: (Smart Array P400i) RAID 1 Volume 0 status: OK.
/dev/cciss/c0d1: (Smart Array P400i) RAID 5 Volume 1 status: OK.
/dev/cciss/c0d1p1: (Smart Array P400i) RAID 1 Volume 0 status: OK.
/dev/cciss/c0d1p1: (Smart Array P400i) RAID 5 Volume 1 status: OK.
The system is setup with a pair of SSDs for the boot and root partitions in RAID 10 and 4 SATA in RAID 5 for home

Now mainly because I have SSD on the main root partiton (they are the best I could buy) I had two hot spares and need to be able to continuously monitor them.

Hence the installation of the HP array daemon:

root@solaris [~]# /etc/init.d/cpqarrayd status
cpqarrayd (pid 21538) is running...

and the install of the

cciss_vol_status

I am reading up on the use of these tools but most point me to ways of finding the various arrays and volumes via scsi tools:

lsscsi or looking in /proc/scsi/scsi

but all I can find is the CD-ROM

Witness:

Quote:
root@solaris [~]# lsscsi
[0:0:0:0] cd/dvd TEAC DV-28E-V C.AB /dev/sr0
root@solaris [~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: TEAC Model: DV-28E-V Rev: C.AB
Type: CD-ROM ANSI SCSI revision: 05
So I'm confused. Clearly the setup is via the cciss dev but with nothing in sg* or other scsi conventions I am not getting much out of the how-tos on the web.

I can't for the life of me untangle what the list I get:

/dev/cciss/c0d0: (Smart Array P400i) RAID 1 Volume 0 status: OK.
/dev/cciss/c0d0: (Smart Array P400i) RAID 5 Volume 1 status: OK.
/dev/cciss/c0d0p1: (Smart Array P400i) RAID 1 Volume 0 status: OK.
/dev/cciss/c0d0p1: (Smart Array P400i) RAID 5 Volume 1 status: OK.
/dev/cciss/c0d0p2: (Smart Array P400i) RAID 1 Volume 0 status: OK.
/dev/cciss/c0d0p2: (Smart Array P400i) RAID 5 Volume 1 status: OK.
/dev/cciss/c0d1: (Smart Array P400i) RAID 1 Volume 0 status: OK.
/dev/cciss/c0d1: (Smart Array P400i) RAID 5 Volume 1 status: OK.
/dev/cciss/c0d1p1: (Smart Array P400i) RAID 1 Volume 0 status: OK.
/dev/cciss/c0d1p1: (Smart Array P400i) RAID 5 Volume 1 status: OK.

I mean there should be 1 2 disk RAID 10 and 1 4 disk RAID 5 and yet most of the nodes there appear to be pairs one of RAID 1 and one of 5... I'm confused about which is which and what is what...

I mean its good though that everything has a status: OK (for now...)



I would love any suggestions anyone can provide me with to help get a daily email of the status of my volumes and alerts when they happen.

Looking forward to any help guys if there is anyone who can interpret this from what I've provided...

Best regards and thanks in advance,
Will
 
Old 11-16-2012, 07:17 AM   #2
bradvan
Member
 
Registered: Mar 2009
Posts: 367

Rep: Reputation: 61
Use the hp array command line utility, hpacucli. With it you can list the status of all of the arrays and disks on your system. Use:
Code:
hpacucli ctrl all show
to list all of the controllers on the system. In your case it should be one. It will respond with a slot number. Then you can list all of the arrays with:
Code:
hpacucli ctrl slot=1 array all show
(where you put in the slot number from the first command). You can show the disks with:
Code:
hpaculci ctrl slot=1 pd all show
There are a lot more options. Hopefully this is what you were after.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give Centos drivers for Embedded SATA Raid controller on HP Proliant bobby953 Linux - Hardware 2 02-06-2010 10:05 AM
Kernal Error on Compaq Proliant SCSI Raid sixvoltsystem Linux - Server 7 03-21-2008 05:26 PM
HP Proliant ML330 SCSI Controller needed csvke Linux - Hardware 2 04-14-2005 01:43 AM
Linux driver for HPs Proliant DL380, G4 Raid Controller nordickiwi Linux - Hardware 6 04-13-2005 05:25 AM
slackware 10.0 Proliant ML330 and CSB6 ATA-RAID controller davidem Slackware 0 10-26-2004 04:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration