Smartd Multiple CISS Controller

Status
Not open for further replies.

chinraam

Dabbler
Joined
Oct 29, 2017
Messages
19
Hi,

I have two HBA controllers installed and two controllers have hard disks. Cam control dev list output shows both the controller ciss0 and ciss1.

In smartd when both the controller is having HDD inserted it takes only ciss1 disks but leaves all ciss0 disks. But if I insert HDD in ciss0 controller alone it takes all ciss0 HDD and if I insert HDD in ciss1 controller it takes ciss1 HDDs.

How to make smartd to work with both the ciss0 and ciss1 controller together? I have HP H240 HBA controller.
Code:
camcontrol devlist -v
scbus0 on ciss0 bus 0:
scbus1 on ciss0 bus 32:
<HP MO000800JWFWP HPD2>			at scbus1 target 3 lun 0 (pass0,da0)
scbus2 on ciss0 bus 33:
scbus3 on ciss1 bus 0:
scbus4 on ciss1 bus 32:
<HP EG1800JEMDB HPD3>			  at scbus4 target 0 lun 0 (pass1,da1)
<HP EG1800JEMDB HPD3>			  at scbus4 target 1 lun 0 (pass2,da2)
<HP EG1800JEMDB HPD3>			  at scbus4 target 2 lun 0 (pass3,da3)
<HP EG000300JWEBF HPD3>			at scbus4 target 3 lun 0 (pass4,da4)
<HP EG1800JEMDB HPD3>			  at scbus4 target 4 lun 0 (pass5,da5)
<HP EG1800JFHMH HPD3>			  at scbus4 target 5 lun 0 (pass6,da6)
<HP EG001800JWFUU HPD1>			at scbus4 target 6 lun 0 (pass7,da7)
<HP EG001800JWFUU HPD1>			at scbus4 target 7 lun 0 (pass8,da8)
scbus5 on ciss1 bus 33:
scbus6 on ahcich4 bus 0:
<hp DVDRW  GUD0N UM01>			 at scbus6 target 0 lun 0 (cd0,pass9)
<>								 at scbus6 target -1 lun ffffffff ()
scbus7 on camsim0 bus 0:
<>								 at scbus7 target -1 lun ffffffff ()
scbus-1 on xpt0 bus 0:
<>								 at scbus-1 target -1 lun ffffffff (xpt0)



smartctl -i /dev/ciss0 -d cciss,0 - HDD in ciss0 controller
smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.1-STABLE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:			   HP
Product:			  MO000800JWFWP
Revision:			 HPD2
Compliance:		   SPC-4
User Capacity:		800,166,076,416 bytes [800 GB]
Logical block size:   512 bytes
LU is resource provisioned, LBPRZ=1
Rotation Rate:		Solid State Device
Form Factor:		  2.5 inches
Logical Unit id:	  0x58ce38ee20164c0d
Serial number:		18C0A0R4TLRE1802
Device type:		  disk
Transport protocol:   SAS (SPL-3)
Local Time is:		Thu Feb 22 14:11:52 2018 IST
SMART support is:	 Available - device has SMART capability.
SMART support is:	 Enabled
Temperature Warning:  Enabled


smartctl -i /dev/ciss1 -d cciss,0 - HDD in ciss1 controller
smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.1-STABLE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:			   HP
Product:			  EG1800JEMDB
Revision:			 HPD3
Compliance:		   SPC-4
User Capacity:		1,800,360,124,416 bytes [1.80 TB]
Logical block size:   512 bytes
Rotation Rate:		10500 rpm
Form Factor:		  2.5 inches
Logical Unit id:	  0x5000c5009fc8ea5f
Serial number:		W3Z0M77B0000E7484ZYE
Device type:		  disk
Transport protocol:   SAS (SPL-3)
Local Time is:		Thu Feb 22 14:12:28 2018 IST
SMART support is:	 Available - device has SMART capability.
SMART support is:	 Enabled
Temperature Warning:  Enabled
 
Last edited by a moderator:

Nick2253

Wizard
Joined
Apr 21, 2014
Messages
1,633
In the future, please use "code" tags to format code output. It makes everything much easier to read.

Just to restate what I think is going on, you're seeing disks on both controllers, but smartd is only seeing disks on one controller at a time. How are you diagnosing that smartd is only seeing one controller at a time? Are you running smartd in debug mode? Looking at the logs?
 

chinraam

Dabbler
Joined
Oct 29, 2017
Messages
19
HI Nick,
I went through smartd.conf file and only found the drives in one controller.

Also I see camcontrol detects wrong target number where in my previous output post camcontrol detects target 3 on ciss0 but it should be target 0 on ciss0
 
Status
Not open for further replies.
Top