From: Rudy Gevaert <Rudy.Gevaert@UGent.be>
To: dm-devel@redhat.com
Subject: unmapping luns doesn't work (good)
Date: Mon, 18 Oct 2010 17:24:19 +0200 [thread overview]
Message-ID: <4CBC66A3.7020207@UGent.be> (raw)
Hello list,
This is my first real experience with device mapper and multipath-tools.
I have several luns exported on an IBM 3400 to one host.
I have several problems when I unmap a lun:
1) If I don't remove the multipath (before I unmap) I can not remove (by
force too) the multipath for that lun. (Note the lun is not mounted.)
2) Removing the multipath and then unmapping the lun works, but then
doing a rescan of the bus **sometimes** gives me a new lun with name '1'.
Case 1:
-------
multipath -l
mail17r-ds3400-1 (3600a0b80005a67b6000004764cac4912) dm-2 IBM,1726-4xx
FAStT
size=550G features='1 queue_if_no_path' hwhandler='1 rdac' wp=rw
|-+- policy='round-robin 0' prio=-1 status=active
| `- 0:0:0:6 sde 8:64 active undef running
`-+- policy='round-robin 0' prio=-1 status=enabled
`- 5:0:0:6 sdj 8:144 active undef running
root@cyrprd1:~# dmsetup table
mail17r-ds3400-1: 0 1153433600 multipath 1 queue_if_no_path 1 rdac 2 1
round-robin 0 1 1 8:64 1000 round-robin 0 1 1 8:144 1000
I now remove mapping through the storage software.
root@cyrprd1:~# multipath -f mail14r-ds3400-1
Oct 18 17:07:09 | mail14r-ds3400-1: map in use
root@cyrprd1:~# multipath -l mail14r-ds3400-1
mail14r-ds3400-1 (3600a0b80005a591a000004294cac468b) dm-0 IBM,1726-4xx
FAStT
size=550G features='1 queue_if_no_path' hwhandler='1 rdac' wp=rw
|-+- policy='round-robin 0' prio=-1 status=enabled
| `- 5:0:0:2 sdg 8:96 failed undef running
`-+- policy='round-robin 0' prio=-1 status=enabled
`- 0:0:0:2 sdb 8:16 failed undef running
root@cyrprd1:~#
Case 2:
--------
Sorry couldn't reproduce at the moment...
I'm running
kernel 2.6.32-5
multipath-tools 0.4.9-1
os: Debian Squeeze
Thanks!
Rudy
next reply other threads:[~2010-10-18 15:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-18 15:24 Rudy Gevaert [this message]
2010-10-21 7:28 ` unmapping luns doesn't work (good) Chauhan, Vijay
2010-10-21 14:52 ` Rudy Gevaert
2010-10-22 8:35 ` Chauhan, Vijay
2010-10-27 13:26 ` Rudy Gevaert
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=4CBC66A3.7020207@UGent.be \
--to=rudy.gevaert@ugent.be \
--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.