From: Bryn M. Reeves <bmr@redhat.com>
To: lvm-devel@redhat.com
Subject: iSCSI logout hangs LVM
Date: Fri, 16 Jan 2009 18:30:21 +0000 [thread overview]
Message-ID: <4970D23D.7030303@redhat.com> (raw)
In-Reply-To: <1232128968.14288.33.camel@localhost.localdomain>
Dave Wysochanski wrote:
> On Wed, 2009-01-14 at 22:23 -0700, Ty! Boyack wrote:
>> This is all being done on a Fedora 9 boxes with updated packages:
>> lvm2-2.02.33-11.fc9.x86_64
>> iscsi-initiator-utils-6.2.0.870-1.0.fc9.x86_64
>> device-mapper-1.02.24-11.fc9.x86_64
>> udev-124-2.fc9.x86_64
>> kernel-2.6.27.9-73.fc9.x86_64
>>
>> I would appreciate any thoughts or suggestion on this!
>>
>
> You need to make sure iscsi and multipath are setup properly to
> eventually fail the IO. I believe the README and/or config files in
> these projects describe the settings needed.
Or remove the multipath maps for these devices *before* logging out of
the target. This is a common mistake with multipath - when you're
removing storage, the ordering should normally be:
- unmount file systems / stop applications using the device
- flush multipath map(s) (-f/-F)
- remove underlying path devices (iSCSI logout etc)
If this isn't possible, there's a feature in the RHEL builds of
multipath-tools named "flush_on_last_del" which may help you here. It
will disable queueing for the multipath target when the last path to
it disappears, preventing I/O from hanging forever on the missing devices.
Regards,
Bryn.
next prev parent reply other threads:[~2009-01-16 18:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-15 5:23 iSCSI logout hangs LVM Ty! Boyack
2009-01-16 18:02 ` Dave Wysochanski
2009-01-16 18:30 ` Bryn M. Reeves [this message]
2009-01-16 18:57 ` Ty! Boyack
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=4970D23D.7030303@redhat.com \
--to=bmr@redhat.com \
--cc=lvm-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.