LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-09-2015, 03:45 AM   #1
manhte1
LQ Newbie
 
Registered: Mar 2012
Posts: 5

Rep: Reputation: Disabled
Multipathd fail


Hi there,
I installed multipath in redhat 6.6 in Dell R730XD with 02 FC Emulex card.

My SAN storage is Hitachi. I mapped SAN successfuly but got error as bellow, and could not record data smothly.

This is the first time I work with multipath and don't know reason of issue.

Thank you for your support,

Oct 9 12:50:02 vaspro05 multipathd: mpathh: sdc - tur checker reports path is up

Oct 9 12:50:02 vaspro05 multipathd: 8:32: reinstated

Oct 9 12:50:02 vaspro05 multipathd: mpathh: remaining active paths: 2

Oct 9 12:50:02 vaspro05 multipathd: mpathh: switch to path group #1

Oct 9 12:50:16 vaspro05 kernel: scsi 2:0:1:0: rejecting I/O to offline device

Oct 9 12:50:16 vaspro05 kernel: scsi 2:0:1:0: rejecting I/O to offline device

Oct 9 12:50:16 vaspro05 kernel: scsi 2:0:1:0: rejecting I/O to offline device

Oct 9 12:50:19 vaspro05 multipathd: 8:32: mark as failed

Oct 9 12:50:19 vaspro05 multipathd: mpathh: remaining active paths: 1

Oct 9 12:50:19 vaspro05 kernel: sd 2:0:0:2: [sdc] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE

Oct 9 12:50:19 vaspro05 kernel: sd 2:0:0:2: [sdc] Sense Key : Aborted Command [current]

Oct 9 12:50:19 vaspro05 kernel: sd 2:0:0:2: [sdc] <<vendor>> ASC=0xc0 ASCQ=0x1ASC=0xc0 ASCQ=0x1

Oct 9 12:50:19 vaspro05 kernel: sd 2:0:0:2: [sdc] CDB: Write(10): 2a 00 00 01 98 60 00 00 20 00

Oct 9 12:50:19 vaspro05 kernel: end_request: I/O error, dev sdc, sector 104544

Oct 9 12:50:19 vaspro05 kernel: device-mapper: multipath: Failing path 8:32.

Oct 9 12:50:20 vaspro05 multipathd: mpathh: sdc - tur checker reports path is up

Oct 9 12:50:20 vaspro05 multipathd: 8:32: reinstated

Oct 9 12:50:20 vaspro05 multipathd: mpathh: remaining active paths: 2

Oct 9 12:50:20 vaspro05 multipathd: mpathh: switch to path group #1
 
Old 10-09-2015, 09:13 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
I'd suggest you install lsscsi (yum install) then run that command to see what SCSI disks (including SAN attached) are seen by the OS.

I'd also suggest you install Hitachi's HORCM software for Linux and run "inqraid -CLI -fxng" command to see what disks it thinks are assigned to the host.

Often you have to rescan the fiber HBAs to make them take notice of drives you've mapped in. The two tools mentioned will let you know for sure that the disks you think are mapped are in fact seen and accessible by the host.

You didn't mention fiber switches for your SAN. Are you using any? Did you update zoning there to pass the disks through? Here we have map the drives both in our SAN switches and in our Hitachi array.

For RHEL6 make sure you've updated to the most recent device-mapper-multipath and device-mapper-multipath-libs packages.

For RHEL6 multipath.conf we typically:

Locate the line that starts "#blacklist {"
Insert comments just above that similar to the following:

# Uncommented blacklist and added DELL PERC and FusionIO to blacklist. Left default comments.

Uncomment the line so it starts just as "blacklist {"

Leave the commented out wwid and devnode lines below that commented then below those insert rules for DELL and Fusion:

device {
vendor “DELL”
product “PERC*”
}
devnode "^fio[a-z]" #Fusion IO

Uncomment the "#}" at end of the blacklist so it closes the open bracket at start.

• Verify user_friendly names section is uncommented and is set to yes:

defaults {
user_friendly_names yes
}

We also Enable multipath daemon:
Run "chkconfig --list multipathd" which should show:
multipathd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Run "chkconfig multipathd on"

Run "service multipathd start" which should output:
Starting multipathd daemon: [ OK ]

Run "ps -ef |grep multipath" which should show the multipathd now running similar to the following:
root 23225 1 0 17:19 ? 00:00:00 /sbin/multipathd

NOTE:
Every time multipath.conf is changed you must run command to bounce the daemon "service multipathd restart" for it to see the changes.

You can run "multipath -l -v2" to see what multipath thinks is configured.

"Friendly names" are "mpath*" but change on each boot. There is more setup you can do in multipath.conf to give each device a persistent name but that's an advanced topic.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multipathd and RDAC J Martin Rushton Linux - Server 2 02-04-2015 04:08 PM
root is on a multipathed device multipathd can not be stopped techux Red Hat 2 04-17-2013 07:43 AM
IBM RDAC or multipathd? exodius Linux - Server 3 02-17-2013 11:34 PM
practicing to configure multipathd on virtual malayo Linux - Networking 1 07-24-2011 10:02 PM
[SOLVED] how to increase the size of LVM which used by multipathd... vbharath01 Linux - Enterprise 9 09-14-2009 08:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration