[dm-devel] multipath + raid software

Ignatius, Gianni Gianni.Ignatius at innovianet.it
Tue Feb 20 14:27:02 UTC 2007


Hi all,
I've a sun storedge 3120 with 4 disks. I've implemented device mapper multipath on 4 disks. 
I want to know if is possible to implement and raid 1 configuration with multipath because when i try i obtain this error

b 20 13:03:35 itcnagiosnd1 kernel: mptscsi: ioc2: attempting task abort! (sc=ee112dc0)
Feb 20 13:03:35 itcnagiosnd1 kernel: scsi2 : destination target 10, lun 0
Feb 20 13:03:35 itcnagiosnd1 kernel:         command = Write (10) 00 03 f1 8c 3f 00 00 80 00 
Feb 20 13:03:37 itcnagiosnd1 kernel: mptbase: Initiating ioc2 recovery
Feb 20 13:03:42 itcnagiosnd1 kernel: mptscsi: ioc2: task abort: SUCCESS (sc=ee112dc0)
Feb 20 13:03:42 itcnagiosnd1 kernel: SCSI error : <2 0 10 0> return code = 0x6000000
Feb 20 13:03:42 itcnagiosnd1 kernel: end_request: I/O error, dev sdc, sector 66161855
Feb 20 13:03:42 itcnagiosnd1 kernel: end_request: I/O error, dev sdc, sector 66161863
Feb 20 13:03:42 itcnagiosnd1 kernel: device-mapper: dm-multipath: Failing path 8:32.
Feb 20 13:03:42 itcnagiosnd1 kernel: SCSI error : <2 0 10 0> return code = 0x6000000
Feb 20 13:03:42 itcnagiosnd1 kernel: end_request: I/O error, dev sdc, sector 66161983
Feb 20 13:03:42 itcnagiosnd1 kernel: end_request: I/O error, dev sdc, sector 66161991
Feb 20 13:03:42 itcnagiosnd1 kernel: raid1: Disk failure on dm-14, disabling device. 
Feb 20 13:03:42 itcnagiosnd1 kernel:    Operation continuing on 1 devices

if anyone have implemented multipath + mirror configuration please write me

this is my chain scsi
[root at itcnagiosnd1 ~]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 13 Lun: 00
  Vendor: QUANTUM  Model: SDLT320          Rev: 5E5E
  Type:   Sequential-Access                ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 08 Lun: 00
  Vendor: SEAGATE  Model: ST330000LSUN300G Rev: 045A
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 09 Lun: 00
  Vendor: SEAGATE  Model: ST330000LSUN300G Rev: 045A
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi2 Channel: 00 Id: 05 Lun: 00
  Vendor: SUN      Model: StorEdge 3120  D Rev: 1180
  Type:   Processor                        ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 10 Lun: 00
  Vendor: SEAGATE  Model: ST330000LSUN300G Rev: 045A
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi2 Channel: 00 Id: 11 Lun: 00
  Vendor: SEAGATE  Model: ST330000LSUN300G Rev: 045A
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi3 Channel: 00 Id: 00 Lun: 00
  Vendor: LSILOGIC Model: Logical Volume   Rev: 3000
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi4 Channel: 00 Id: 00 Lun: 00
  Vendor: AMI      Model: Virtual CDROM    Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi5 Channel: 00 Id: 00 Lun: 00
  Vendor: AMI      Model: Virtual Floppy   Rev: 1.00
  Type:   Direct-Access                    ANSI SCSI revision: 02

and this is my multipath configuration

[root at itcnagiosnd1 ~]# multipath -v3
load path identifiers cache
ux_socket_connect error
#
# all paths in cache :
#
dm-0 blacklisted
dm-10 blacklisted
dm-11 blacklisted
dm-12 blacklisted
dm-13 blacklisted
dm-14 blacklisted
dm-15 blacklisted
dm-1 blacklisted
dm-2 blacklisted
dm-3 blacklisted
dm-4 blacklisted
dm-5 blacklisted
dm-6 blacklisted
dm-7 blacklisted
dm-8 blacklisted
dm-9 blacklisted
hda blacklisted
md0 blacklisted
ram0 blacklisted
ram10 blacklisted
ram11 blacklisted
ram12 blacklisted
ram13 blacklisted
ram14 blacklisted
ram15 blacklisted
ram1 blacklisted
ram2 blacklisted
ram3 blacklisted
ram4 blacklisted
ram5 blacklisted
ram6 blacklisted
ram7 blacklisted
ram8 blacklisted
ram9 blacklisted
path sda not found in pathvec

===== path info sda (mask 0x1f) =====
bus = 1
dev_t = 8:0
size = 585937500
vendor = SEAGATE 
product = ST330000LSUN300G
rev = 045A
h:b:t:l = 1:0:8:0
tgt_node_name = 
serial = 20527F8H            3KR27F8H
path checker = readsector0 (internal default)
state = 2
getprio = (null) (internal default)
prio = 1
getuid = /sbin/scsi_id -g -u -s /block/%n (internal default)
uid = SSEAGATE_ST330000LSUN30020527F8H____________3KR27F8H (callout)
path sdb not found in pathvec

===== path info sdb (mask 0x1f) =====
bus = 1
dev_t = 8:16
size = 585937500
vendor = SEAGATE 
product = ST330000LSUN300G
rev = 045A
h:b:t:l = 1:0:9:0
tgt_node_name = 
serial = 20526Y8S            3KR26Y8S
path checker = readsector0 (internal default)
state = 2
getprio = (null) (internal default)
prio = 1
getuid = /sbin/scsi_id -g -u -s /block/%n (internal default)
uid = SSEAGATE_ST330000LSUN30020526Y8S____________3KR26Y8S (callout)
path sdc not found in pathvec

===== path info sdc (mask 0x1f) =====
bus = 1
dev_t = 8:32
size = 585937500
vendor = SEAGATE 
product = ST330000LSUN300G
rev = 045A
h:b:t:l = 2:0:10:0
tgt_node_name = 
serial = 205263GA            3KR263GA
path checker = readsector0 (internal default)
state = 2
getprio = (null) (internal default)
prio = 1
getuid = /sbin/scsi_id -g -u -s /block/%n (internal default)
uid = SSEAGATE_ST330000LSUN300205263GA____________3KR263GA (callout)
path sdd not found in pathvec

===== path info sdd (mask 0x1f) =====
bus = 1
dev_t = 8:48
size = 585937500
vendor = SEAGATE 
product = ST330000LSUN300G
rev = 045A
h:b:t:l = 2:0:11:0
tgt_node_name = 
serial = 20526WQK            3KR26WQK
path checker = readsector0 (internal default)
state = 2
getprio = (null) (internal default)
prio = 1
getuid = /sbin/scsi_id -g -u -s /block/%n (internal default)
uid = SSEAGATE_ST330000LSUN30020526WQK____________3KR26WQK (callout)
path sde not found in pathvec

===== path info sde (mask 0x1f) =====
bus = 1
dev_t = 8:64
size = 142577664
vendor = LSILOGIC
product = Logical Volume  
rev = 3000
h:b:t:l = 3:0:0:0
tgt_node_name = 
serial = 
path checker = readsector0 (internal default)
state = 2
getprio = (null) (internal default)
prio = 1
getuid = /sbin/scsi_id -g -u -s /block/%n (internal default)
uid = 3600508e0000000001d1979b4e1f32803 (callout)
path sdf not found in pathvec

===== path info sdf (mask 0x1f) =====
bus = 1
dev_t = 8:80
size = 0
vendor = AMI     
product = Virtual Floppy  
rev = 1.00
h:b:t:l = 5:0:0:0
tgt_node_name = 
sr0 blacklisted
#
# all paths :
#
SSEAGATE_ST330000LSUN30020527F8H____________3KR27F8H  1:0:8:0 sda 8:0 1 [ready
SSEAGATE_ST330000LSUN30020526Y8S____________3KR26Y8S  1:0:9:0 sdb 8:16 1 [read
SSEAGATE_ST330000LSUN300205263GA____________3KR263GA  2:0:10:0 sdc 8:32 1 [rea
SSEAGATE_ST330000LSUN30020526WQK____________3KR26WQK  2:0:11:0 sdd 8:48 1 [rea
3600508e0000000001d1979b4e1f32803  3:0:0:0 sde 8:64 1 [ready] LSILOGIC/Logical
  5:0:0:0 sdf 8:80  [faulty] AMI     /Virtual Floppy  /1.00
params = 0 0 1 1 round-robin 0 1 1 8:32 1000 
status = 1 0 0 1 1 A 0 1 0 8:32 A 0 
params = 0 0 1 1 round-robin 0 1 1 8:16 1000 
status = 1 0 0 1 1 A 0 1 0 8:16 A 0 
params = 0 0 1 1 round-robin 0 1 1 8:0 1000 
status = 1 0 0 1 1 A 0 1 0 8:0 A 0 
params = 0 0 1 1 round-robin 0 1 1 8:48 1000 
status = 1 0 0 1 1 A 0 1 0 8:48 A 0 
Found matching wwid [SSEAGATE_ST330000LSUN30020527F8H____________3KR27F8H] in bindings file.
Setting alias to mpath0
pgpolicy = failover (internal default)
selector = round-robin 0 (internal default)
features = 0 (internal default)
hwhandler = 0 (internal default)
rr_weight = 1 (internal default)
no_path_retry = NONE (internal default)
pg_timeout = NONE (internal default)
0 585937500 multipath 0 0 1 1 round-robin 0 1 1 8:0 1000
set ACT_NOTHING: map unchanged
Found matching wwid [SSEAGATE_ST330000LSUN30020526Y8S____________3KR26Y8S] in bindings file.
Setting alias to mpath1
pgpolicy = failover (internal default)
selector = round-robin 0 (internal default)
features = 0 (internal default)
hwhandler = 0 (internal default)
rr_weight = 1 (internal default)
no_path_retry = NONE (internal default)
pg_timeout = NONE (internal default)
0 585937500 multipath 0 0 1 1 round-robin 0 1 1 8:16 1000
set ACT_NOTHING: map unchanged
Found matching wwid [SSEAGATE_ST330000LSUN300205263GA____________3KR263GA] in bindings file.
Setting alias to mpath2
pgpolicy = failover (internal default)
selector = round-robin 0 (internal default)
features = 0 (internal default)
hwhandler = 0 (internal default)
rr_weight = 1 (internal default)
no_path_retry = NONE (internal default)
pg_timeout = NONE (internal default)
0 585937500 multipath 0 0 1 1 round-robin 0 1 1 8:32 1000
set ACT_NOTHING: map unchanged
Found matching wwid [SSEAGATE_ST330000LSUN30020526WQK____________3KR26WQK] 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)
no_path_retry = NONE (internal default)
pg_timeout = NONE (internal default)
0 585937500 multipath 0 0 1 1 round-robin 0 1 1 8:48 1000
set ACT_NOTHING: map unchanged
Found matching wwid [3600508e0000000001d1979b4e1f32803] in bindings file.
Setting alias to mpath4
pgpolicy = failover (internal default)
selector = round-robin 0 (internal default)
features = 0 (internal default)
hwhandler = 0 (internal default)
rr_weight = 1 (internal default)
no_path_retry = NONE (internal default)
pg_timeout = NONE (internal default)
0 142577664 multipath 0 0 1 1 round-robin 0 1 1 8:64 1000
set ACT_CREATE: map does not exists

best regards

Gianni Ignatius


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20070220/39e014c2/attachment.htm>


More information about the dm-devel mailing list