From: Hannes Reinecke <hare@suse.de>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: multipath-tools causes path to come back as different block device
Date: Fri, 20 Jul 2007 16:40:11 +0200 [thread overview]
Message-ID: <46A0C94B.4010905@suse.de> (raw)
In-Reply-To: <20070720115315.GA26421@bogon.ms20.nix>
Guido Guenther wrote:
> Hi Hannes,
> On Fri, Jul 20, 2007 at 09:24:15AM +0200, Hannes Reinecke wrote:
>> Hmm. multipathd really should react to the 'remove' events for sdX.
>> Checking ...
>>
>> Looks as if it does. And it even is supposed to stop the path checker.
>>
>> Care to run multipathd with full debugging (ie -v 4) and post the output?
>> My guess is that somehow the path checker is not stopped and the fd is kept
>> open, so that the device is not released properly.
> This even happens with no multipathd running on a Clariion with qla2xx.
> So multipathd can't be at fault here, can it? Also with multipathd
> running the device nodes in /dev/ and the sysfs nodes in /sys/block get
> removed properly (at least it looks like to me). Any hints where else to
> start digging?
Removing from /dev and /sys in not sufficient, sadly.
The memory is only released after the last reference has gone.
So all fd's have to be closed (ie multipathd and the path checkers have
to have this path disabled) and no device-mapper table must reference it.
So easiest way is infact to have multipathd run with -v 4, as this will
tell you exactly if multipathd has stopped the path checker.
The device-mapper tables can be checked manually with dmsetup.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
next prev parent reply other threads:[~2007-07-20 14:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-19 22:54 multipath-tools causes path to come back as different block device Brian De Wolf
2007-07-20 7:24 ` Hannes Reinecke
2007-07-20 11:53 ` Guido Guenther
2007-07-20 14:40 ` Hannes Reinecke [this message]
2007-07-20 17:29 ` Guido Guenther
2007-07-20 20:52 ` [multipath 1/1] cache sysfs_devices -s
[not found] ` <11849647793576-git-send-email--s>
2007-07-20 21:03 ` Guido Guenther
2007-07-20 22:18 ` Christophe Varoqui
2007-07-24 6:35 ` Hannes Reinecke
2007-07-25 16:37 ` Guido Guenther
2007-07-20 17:05 ` multipath-tools causes path to come back as different block device Brian De Wolf
2007-07-20 10:10 ` Guido Guenther
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46A0C94B.4010905@suse.de \
--to=hare@suse.de \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.