Hello,
I'm unable to connect our Promise Vtrak E630fD on Linux via Multipath.
Has anybody had success with this or further ideas?
Background: Both Vtrak controllers are connected directly to the server via fibre channel links.
The server (HP ProLiant DL 380 Gen9) runs on Ubuntu Linux:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"
$ uname -a
Linux gandalf 4.4.0-51-generic #72-Ubuntu SMP Thu Nov 24 18:29:54 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
I see both fibre channel connections are up:
$ cat /sys/class/fc_host/host?/port_state
Online
Online
But by default only one device (/dev/sdb) appears.
This was fixed by enabling ALUA on the controllers - big thanks to Promise Support.
After the other device /dev/sdc comes up, which gets multiple times reported as "Not Ready" via dmesg:
[ 5.933339] scsi 1:0:0:0: Direct-Access Promise VTrak E630f 1017 PQ: 0 ANSI: 5
[ 5.951674] sd 1:0:0:0: Attached scsi generic sg2 type 0
[ 5.954112] sd 1:0:0:0: [sdb] 54687497984 512-byte logical blocks: (28.0 TB/25.5 TiB)
[ 5.954874] sd 1:0:0:0: [sdb] Write Protect is off
[ 5.954886] sd 1:0:0:0: [sdb] Mode Sense: 97 00 10 08
[ 5.955309] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 5.965887] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 6.228751] scsi 2:0:0:0: Direct-Access Promise VTrak E630f 1017 PQ: 0 ANSI: 5
[ 6.244989] sd 2:0:0:0: Attached scsi generic sg3 type 0
[ 6.245454] sd 2:0:0:0: [sdc] 54687497984 512-byte logical blocks: (28.0 TB/25.5 TiB)
[ 6.246795] sd 2:0:0:0: [sdc] Write Protect is off
[ 6.246796] sd 2:0:0:0: [sdc] Mode Sense: 97 00 10 08
[ 6.247416] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 6.257116] sd 2:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 6.257118] sd 2:0:0:0: [sdc] tag#0 Sense Key : Not Ready [current]
[ 6.257131] sd 2:0:0:0: [sdc] tag#0 Add. Sense: Logical unit not accessible, target port in standby state
[ 6.257146] sd 2:0:0:0: [sdc] tag#0 CDB: Read(16) 88 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00
[ 6.257149] blk_update_request: I/O error, dev sdc, sector 0
I think here lies the problem.
Why makes the second connection trouble?
Therefore one path is always marked as "failed":
$ sudo multipath -l
vtrak (222c30001552d2e42) dm-2 Promise,VTrak E630f
size=25T features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
`-+- policy='round-robin 0' prio=0 status=active
|- 1:0:0:0 sdb 8:16 failed undef running
`- 2:0:0:0 sdc 8:32 active undef running
Thanks for your help in advance!
Björn