LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   HP ProLiant DL360G5 - RAID controller and scsi nodes missing??! (https://www.linuxquestions.org/questions/linux-hardware-18/hp-proliant-dl360g5-raid-controller-and-scsi-nodes-missing-4175437389/)

stardotstar 11-16-2012 01:11 AM

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

bradvan 11-16-2012 07:17 AM

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. :)


All times are GMT -5. The time now is 02:06 PM.