[dm-devel] Multipath device gone
doug wandell
pankakekid at yahoo.com
Wed Dec 18 18:49:56 UTC 2013
SOLVED.
While I do not pretend to understand the underlying mechanics of why this worked, the following
cd /etc
mv multipath.conf multipath.conf.hold
touch multipath.conf
service multipathd restart
mv multipath.conf.hold multipath.conf
service multipathd restart
multipath -v2
resolved the issue for me.
root at oracle-flash ~>ls -l /dev/mapper |grep mpath
brw-rw---- 1 root disk 253, 2 Dec 18 11:17 mpath1
brw-rw---- 1 root disk 253, 3 Dec 18 11:17 mpath1p1
brw-rw---- 1 root disk 253, 4 Dec 18 11:17 mpath1p2
brw-rw---- 1 root disk 253, 5 Dec 18 11:17 mpath1p3
brw-rw---- 1 root disk 253, 6 Dec 18 11:17 mpath1p4
brw-rw---- 1 root disk 253, 7 Dec 18 11:17 mpath1p5
brw-rw---- 1 root disk 253, 8 Dec 18 11:17 mpath1p6
brw-rw---- 1 root disk 253, 9 Dec 18 11:17 mpath1p7
brw-rw---- 1 root disk 253, 10 Dec 18 11:17 mpath1p8
On Tuesday, December 17, 2013 3:36 PM, doug wandell <pankakekid at yahoo.com> wrote:
Hello,
I have a RHEL5.10 Server (x86_64) system connected to a storage array via iscsi. After configuring iscsi and multipathd and installing the database, all seemed well. One reboot, the 8 iscsi sessions were established and appear to be correct:
root at oracle-flash ~>iscsiadm -m session
tcp: [1] 192.168.42.1:3260,1 iqn.2010-06.com.purestorage:flasharray.1d8d233897606807
tcp: [2] 192.168.41.1:3260,1 iqn.2010-06.com.purestorage:flasharray.1d8d233897606807
tcp: [3] 192.168.41.1:3260,1 iqn.2010-06.com.purestorage:flasharray.1d8d233897606807
tcp: [4] 192.168.41.1:3260,1 iqn.2010-06.com.purestorage:flasharray.1d8d233897606807
tcp: [5] 192.168.41.1:3260,1 iqn.2010-06.com.purestorage:flasharray.1d8d233897606807
tcp: [6] 192.168.42.1:3260,1 iqn.2010-06.com.purestorage:flasharray.1d8d233897606807
tcp: [7] 192.168.42.1:3260,1 iqn.2010-06.com.purestorage:flasharray.1d8d233897606807
tcp: [8] 192.168.42.1:3260,1 iqn.2010-06.com.purestorage:flasharray.1d8d233897606807
No multipath device (mpath1) however:
root at oracle-flash ~>multipath -d
failed to find rport_id for target8:0:0
create: mpath1 (3624a9370266083988b6c502f00010002) PURE,FlashArray
[size=3.0T][features=0][hwhandler=0][n/a]
\_ [prio=1][undef]
\_ 8:0:0:10 sdb 8:16 [undef][ready]
\_ 7:0:0:10 sdc 8:32 [undef][ready]
\_ 13:0:0:10 sdd 8:48 [undef][ready]
\_ 14:0:0:10 sde 8:64 [undef][ready]
\_ 10:0:0:10 sdf 8:80 [undef][ready]
\_ 12:0:0:10 sdg 8:96 [undef][ready]
\_ 11:0:0:10 sdh 8:112 [undef][ready]
\_ 9:0:0:10 sdi 8:128 [undef][ready]
root at oracle-flash ~>multipath -ll
root at oracle-flash ~>multipath -F
root at oracle-flash ~>multipath -r
failed to find rport_id for target8:0:0
failed to find rport_id for target8:0:0
failed to find rport_id for target8:0:0
failed to find rport_id for target8:0:0
failed to find rport_id for target8:0:0
failed to find rport_id for target8:0:0
failed to find rport_id for target8:0:0
failed to find rport_id for target8:0:0
root at oracle-flash ~>ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root 9 Dec 16 15:57 ata-TSSTcorp_DVD-ROM_SN-108BB_R8TB6GMCC00333 -> ../../hda
lrwxrwxrwx 1 root root 9 Dec 16 15:57 scsi-3600508e000000000ca1771980431ca00 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 16 15:57 scsi-3600508e000000000ca1771980431ca00-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 16 15:57 scsi-3600508e000000000ca1771980431ca00-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Dec 16 15:58 scsi-3624a9370266083988b6c502f00010002 -> ../../sdg
lrwxrwxrwx 1 root root 10 Dec 16 15:58 scsi-3624a9370266083988b6c502f00010002-part1 -> ../../sdi1
lrwxrwxrwx 1 root root 10 Dec 16 15:58 scsi-3624a9370266083988b6c502f00010002-part2 -> ../../sdg2
lrwxrwxrwx 1 root root 10 Dec 16 15:58 scsi-3624a9370266083988b6c502f00010002-part3 -> ../../sdg3
lrwxrwxrwx 1 root root 10 Dec 16 15:58 scsi-3624a9370266083988b6c502f00010002-part4 -> ../../sde4
lrwxrwxrwx 1 root root 10 Dec 16 15:58 scsi-3624a9370266083988b6c502f00010002-part5 -> ../../sdg5
lrwxrwxrwx 1 root root 10 Dec 16 15:58 scsi-3624a9370266083988b6c502f00010002-part6 -> ../../sdg6
lrwxrwxrwx 1 root root 10 Dec 16 15:58 scsi-3624a9370266083988b6c502f00010002-part7 -> ../../sdg7
lrwxrwxrwx 1 root root 10 Dec 16 15:58 scsi-3624a9370266083988b6c502f00010002-part8 -> ../../sdg8
root at oracle-flash ~>cat /var/lib/multipath/bindings
# Multipath bindings, Version : 1.0
# NOTE: this file is automatically maintained by the multipath program.
# You should not need to edit this file in normal circumstances.
#
# Format:
# alias wwid
#
mpath0 3600508e000000000ca1771980431ca00
mpath1 3624a9370266083988b6c502f00010002
root at oracle-flash ~>grep -v ^# /etc/multipath.conf
devices {
device {
vendor "PURE"
path_selector "round-robin 0.
path_grouping_policy multi bus
rr_min_io 1
path_checker tur
fast_io_fail_tmo 10
dev_loss_tmo 30
}
}
defaults {
udev_dir /dev
user_friendly_names yes
polling_interval 10
selector "round-robin 0"
path_grouping_policy multibus
path_checker tur
rr_min_io 1
no_path_retry 0
fast_io_fail_tmo 3
}
blacklist {
devnode "^sda"
}
multipaths {
multipath {
wwid 3624a9370266083988b6c502f00010002
alias mpath1
}
}
I've looked around a bit but I don't see this problem addressed. Any ideas where I can take this next? Thanks,
DW
More information about the dm-devel
mailing list