All of lore.kernel.org
 help / color / mirror / Atom feed
* restart multipathd automatically
@ 2008-01-21 14:54 Stephen Mike
  2008-01-29 10:04 ` Luca Berra
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Mike @ 2008-01-21 14:54 UTC (permalink / raw)
  To: dm-devel

Hi,

To restart multipathd automatically after it dies, is it ok to put, in
/etc/inittab, a line like this? 

# run multipathd at level 4 (restart)
mphd:4:respawn:/etc/rc.d/init.d/multipathd start

I am not sure whether the daemon has any dependencies to make it not OK
to start/restart this way.

Thanks
Mike

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: restart multipathd automatically
  2008-01-21 14:54 restart multipathd automatically Stephen Mike
@ 2008-01-29 10:04 ` Luca Berra
  2008-01-29 19:39   ` Mike Anderson
  0 siblings, 1 reply; 3+ messages in thread
From: Luca Berra @ 2008-01-29 10:04 UTC (permalink / raw)
  To: dm-devel

On Mon, Jan 21, 2008 at 03:54:02PM +0100, Stephen Mike wrote:
>Hi,
>
>To restart multipathd automatically after it dies, is it ok to put, in
>/etc/inittab, a line like this? 
>
># run multipathd at level 4 (restart)
>mphd:4:respawn:/etc/rc.d/init.d/multipathd start
>
no, it is not.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: restart multipathd automatically
  2008-01-29 10:04 ` Luca Berra
@ 2008-01-29 19:39   ` Mike Anderson
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Anderson @ 2008-01-29 19:39 UTC (permalink / raw)
  To: dm-devel

Luca Berra <bluca@comedia.it> wrote:
> On Mon, Jan 21, 2008 at 03:54:02PM +0100, Stephen Mike wrote:
>> Hi,
>>
>> To restart multipathd automatically after it dies, is it ok to put, in
>> /etc/inittab, a line like this? 
>> # run multipathd at level 4 (restart)
>> mphd:4:respawn:/etc/rc.d/init.d/multipathd start
>>
> no, it is not.

To add a little (hopefully)...

If multipathd is dieing it is better to determine why it is dieing.

Running multipathd in foreground mode with verbosity may provide info.
"/sbin/multipathd -d -v4"

If the issue is multipathd causing a segfault you would need to build a
non-strip version and then use ulimit -c unlimited to allow creation of a
core file.

You could then use gdb post getting a segfault to run "bt full" on the
core file to hopefully determine the area of the problem.

-andmike
--
Michael Anderson
andmike@linux.vnet.ibm.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-29 19:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-21 14:54 restart multipathd automatically Stephen Mike
2008-01-29 10:04 ` Luca Berra
2008-01-29 19:39   ` Mike Anderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.