Red Hat Bugzilla – Bug 976688
multipath -w does not work as expected
Last modified: 2014-01-21 22:56:22 EST
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
# multipath -ll
mpathb (353333330000007d1) dm-2 Linux ,scsi_debug
size=1.0G features='0' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=1 status=active
| `- 32:0:0:1 sdc 8:32 active ready running
`-+- policy='service-time 0' prio=1 status=enabled
1. > /etc/multipath/wwids
2. multipath -W
successfully reset wwids
3. multipath -w mpathb
wwid '353333330000007d1' not in wwids file
4. cat /etc/multipath/wwids
# Multipath wwids, Version : 1.0
# NOTE: This file is automatically maintained by multipath and multipathd.
# You should not need to edit this file in normal circumstances.
# Valid WWIDs:
run multipath -W again, then multipath -w mpathb will work.
multipath -w fails to remove the wwid
Multipath wasn't seeking back to the start of the file after it truncated it. I'll have a package with a fix shortly.
This has been fixed now
It's verified by /kernel/storage/multipath/wwids in RHEL7.0 snap2/snap3 testing: