[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Problem adding iSCSI path to existing FC multipath



In preparation for an upcoming FC SAN downtime, I'm trying to add an iSCSI path so that the host/service sees no downtime. Our Compellent SAN allows simultaneous FC/iSCSI views of the same LUN.

I can see the iSCSI lun as /dev/sdd and can verify with both multipath -v3 and dd if=/dev/sdc count=20|md5sum that it's the same data as the existing /dev/sde and /dev/sdj. But I'm getting odd errors. There is no /dev/mpath/mpath3, but one is complained about, and there's another complaint about mpath6 and mpath7 overlapping. Can this be fixed surgically without downtime?

[root mail2 ~]# multipath -v2
remove: mpath7 (dup of mpath3)
mpath7: map in use
remove: mpath6 (dup of mpath7)
mpath6: map in use

[root mail2 ~]# multipath -ll
mpath7 (36000d3100008f2000000000000000003)
[size=1000 GB][features="1 queue_if_no_path"][hwhandler="0"]
\_ round-robin 0 [prio=1][active]
 \_ 2:0:3:0     sdj 8:144 [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ 1:0:1:0     sde 8:64  [active][ready]

mpath6 (3600039300001a83b01000000dd87fb19)
[size=2794 GB][features="1 queue_if_no_path"][hwhandler="0"]
\_ round-robin 0 [prio=1][active]
 \_ 2:0:0:0     sdh 8:112 [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ 1:0:2:0     sdf 8:80  [active][ready]

[root mail2 ~]# multipath -v3
load path identifiers cache
#
# all paths in cache :
#
  #:#:#:#  hda 3:0   //
36000d3100008f2000000000000000003  1:0:1:0 sde 8:64 1 [active] COMPELNT/Compel
3600039300001a83b01000000dd87fb19  1:0:2:0 sdf 8:80 1 [active] APPLE   /Xserve
3600039300001a83b01000000dd87fb19  2:0:0:0 sdh 8:112 1 [active] APPLE   /Xserv
36000d3100008f2000000000000000003  2:0:3:0 sdj 8:144 1 [active] COMPELNT/Compe
36000d3100008f2000000000000000003  8:0:0:0 sdd 8:48 1  COMPELNT/Compellent Vol
===== path info hda (mask 0x1f) =====
bus = 2
dev_t = 3:0
size = 8388604
sda blacklisted
sdb blacklisted
===== path info sdd (mask 0x1f) =====
bus = 1
dev_t = 8:48
size = 2097152000
vendor = COMPELNT
product = Compellent Vol  
rev = 0306
h:b:t:l = 8:0:0:0
tgt_node_name = 
serial = 000008f2-00000003
path checker = readsector0 (internal default)
state = 2
getprio = (null) (internal default)
prio = 1
uid = 36000d3100008f2000000000000000003 (cache)
===== path info sde (mask 0x1f) =====
bus = 1
dev_t = 8:64
size = 2097152000
vendor = COMPELNT
product = Compellent Vol  
rev = 0306
h:b:t:l = 1:0:1:0
tgt_node_name = 0x5000d3100008f201
serial = 000008f2-00000003
path checker = readsector0 (internal default)
state = 2
getprio = (null) (internal default)
prio = 1
uid = 36000d3100008f2000000000000000003 (cache)
===== path info sdf (mask 0x1f) =====
bus = 1
dev_t = 8:80
size = 5860573184
vendor = APPLE   
product = Xserve RAID
rev = 1.50
h:b:t:l = 1:0:2:0
tgt_node_name = 0x500039300001a83b
serial = KC633006ZQ8GB0  
path checker = readsector0 (internal default)
state = 2
getprio = (null) (internal default)
prio = 1
uid = 3600039300001a83b01000000dd87fb19 (cache)
===== path info sdh (mask 0x1f) =====
bus = 1
dev_t = 8:112
size = 5860573184
vendor = APPLE   
product = Xserve RAID
rev = 1.50
h:b:t:l = 2:0:0:0
tgt_node_name = 0x500039300001a83b
serial = KC633006ZQ8GB0  
path checker = readsector0 (internal default)
state = 2
getprio = (null) (internal default)
prio = 1
uid = 3600039300001a83b01000000dd87fb19 (cache)
===== path info sdj (mask 0x1f) =====
bus = 1
dev_t = 8:144
size = 2097152000
vendor = COMPELNT
product = Compellent Vol  
rev = 0306
h:b:t:l = 2:0:3:0
tgt_node_name = 0x5000d3100008f201
serial = 000008f2-00000003
path checker = readsector0 (internal default)
state = 2
getprio = (null) (internal default)
prio = 1
uid = 36000d3100008f2000000000000000003 (cache)
#
# all paths :
#
  #:#:#:#  hda 3:0  [faulty] //
36000d3100008f2000000000000000003  1:0:1:0 sde 8:64 1 [active][ready] COMPELNT
3600039300001a83b01000000dd87fb19  1:0:2:0 sdf 8:80 1 [active][ready] APPLE   
3600039300001a83b01000000dd87fb19  2:0:0:0 sdh 8:112 1 [active][ready] APPLE  
36000d3100008f2000000000000000003  2:0:3:0 sdj 8:144 1 [active][ready] COMPELN
36000d3100008f2000000000000000003  8:0:0:0 sdd 8:48 1 [ready] COMPELNT/Compell
params = 1 queue_if_no_path 0 2 1 round-robin 0 1 1 8:144 1000 round-robin 0 1 1 8:64 1000 
status = 1 0 0 2 1 A 0 1 0 8:144 A 9 E 0 1 0 8:64 A 1 
params = 1 queue_if_no_path 0 2 1 round-robin 0 1 1 8:112 1000 round-robin 0 1 1 8:80 1000 
status = 1 0 0 2 1 A 0 1 0 8:112 A 132 E 0 1 0 8:80 A 69 
Found matching wwid [36000d3100008f2000000000000000003] in bindings file.
Setting alias to mpath3
pgpolicy = failover (internal default)
selector = round-robin 0 (internal default)
features = 0 (internal default)
hwhandler = 0 (internal default)
rr_weight = 1 (internal default)
rr_min_io = 1000 (config file default)
no_path_retry = 300 (config file default)
pg_timeout = NONE (internal default)
0 2097152000 multipath 0 0 3 1 round-robin 0 1 1 8:64 1000 round-robin 0 1 1 8:144 1000 round-robin 0 1 1 8:48 1000
remove: mpath7 (dup of mpath3)
mpath7: map in use
set ACT_CREATE: map does not exists
Found matching wwid [3600039300001a83b01000000dd87fb19] in bindings file.
Setting alias to mpath7
pgpolicy = failover (internal default)
selector = round-robin 0 (internal default)
features = 0 (internal default)
hwhandler = 0 (internal default)
rr_weight = 1 (internal default)
rr_min_io = 1000 (config file default)
no_path_retry = 300 (config file default)
pg_timeout = NONE (internal default)
0 5860573184 multipath 0 0 2 1 round-robin 0 1 1 8:80 1000 round-robin 0 1 1 8:112 1000
remove: mpath6 (dup of mpath7)
mpath6: map in use
set ACT_CREATE: map does not exists
[root mail2 ~]# ls -l /de
default/ dev/     

[root mail2 ~]# ls -l /dev/mpath/mpath
mpath6    mpath7    mpath7p1  

[root mail2 ~]# dmsetup ls --tree
vgLocal-lvVar (253:1)
 └─ (9:3)
vgLocal-lvHome (253:2)
 └─ (9:3)
vgZimOffsite-lvZimbraBackup1 (253:11)
 └─mpath6 (253:5)
    ├─ (8:80)
    └─ (8:112)
vgLocal-lvOptZimbra (253:0)
 └─ (9:3)
sdc1 (253:8)
 └─ (8:32)
vgMail-lvShare1 (253:10)
 └─mpath7p1 (253:7)
    └─mpath7 (253:6)
       ├─ (8:64)
       └─ (8:144)
vgLocal-lvInc (253:4)
 └─ (9:3)
vgLocal-lvSrc (253:3)
 └─ (9:3)
-- 
Rich Graves http://claimid.com/rcgraves
Carleton.edu Sr UNIX and Security Admin
CMC135: 507-646-7079 Cell: 952-292-6529



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]