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

RE: [dm-devel] Multipathd not starting up properly



Hey Seth,

Forewarning: While I've done multipathing for quite some time I am new
to dm, so I'm going on multipathing / SCSI knowledge more than dm
knowledge.  It is possible I may be leading you down the wrong path (no
pun intended).

That being said, I have to assume that /sbin/mpath_prio_alua is issuing
a report target ports groups (SCSI cmd) to determine ALUA priority.  You
may want to issue the "sg_rtpg" command to each of your paths and see if
that is failing anywhere.  That seems to be the rough equivalent of
sending sg_inq when a path seems to be down.

Usually path tests are done with inquiry and/or TUR.  ALUA preference
must be determined from report target port groups.  That will at least
tell you if it's something obvious like old firmware that doesn't
support ALUA (how HP does their new A/A) or a check condition.  -- not
suggesting that's the problem, just giving an example --

FWIW,
Brian

-----Original Message-----
From: dm-devel-bounces redhat com [mailto:dm-devel-bounces redhat com]
On Behalf Of seth vidal
Sent: Wednesday, August 30, 2006 8:25 AM
To: device-mapper development
Subject: Re: [dm-devel] Multipathd not starting up properly

On Wed, 2006-08-30 at 09:42 +0200, Hannes Reinecke wrote:
> Adam Huffman wrote:
> > I'm seeing the following messages when I start multipathd:
> > 
> > Aug 29 19:00:21 multipathd: error calling out /sbin/scsi_id -g -u -s

> > /block/sda
> > Aug 29 19:00:21 multipathd: error calling out /sbin/scsi_id -g -u -s

> > /block/sdb
> > 
> > Here is the output of multipath -v 3:
> > 
> > 
> [ .. ]
> > path checker = readsector0 (internal default)
> > state = 2
> > getprio = (null) (internal default)
> > prio = 1
> > getuid = /sbin/scsi_id -g -u -s /block/%n (internal default)
> > error calling out /sbin/scsi_id -g -u -s /block/sda
> 
> This is your problem. Somehow 'scsi_id' cannot talk to the drive.
> Try 'sg_inq /dev/sda' to find out where the problem is.
> 

And this:
 error calling out /sbin/mpath_prio_alua 65:16

Any suggestions on what to look for for that?

-sv


--
dm-devel mailing list
dm-devel redhat com
https://www.redhat.com/mailman/listinfo/dm-devel


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