multipath: Received an indication that the LUN assignments on this target have changed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 everyone
This is a fateful problems then what you are talking about first. That
is the bug Hannes is talking about.
Warning! Received an indication that the LUN assignments on this target have changed. 
The Linux SCSI layer does not automatically remap LUN assignments.
logged in /var/log/syslog. 

Details:
there will be corruption while dm-1 is accessing/dev/sdc which it thinks is LUN3 but is now LUN 2. 
Because we do not handle the sense indicating the LUNS changed, dm-1 will not change.
So right now you should do what Hannes suggests and use 'rescan-scsi-bus.sh -r'.
This will delete old mappings and setup /dev/sdXs for new ones,
or restart multipath-tool daemon.
 
but the corruption may have been caused.
so I think /dev/sdc,/dev/sdg should be not added the dm-1 while scsi_id have different.
but Now I don't have a right way to deal with the case. Thanks for your advise.

root@cvknode98:~# /lib/udev/scsi_id --whitelisted /dev/dm-1
36001438009b051b90000a000003d0000
root@cvknode98:~# udevadm info --query=all --name=/dev/dm-1
P: /devices/virtual/block/dm-1
N: dm-1
L: -100
S: disk/by-id/dm-name-36001438009b051b90000900000fe0000
S: disk/by-id/dm-uuid-mpath-36001438009b051b90000900000fe0000
S: mapper/36001438009b051b90000900000fe0000
E: DEVLINKS=/dev/disk/by-id/dm-name-36001438009b051b90000900000fe0000 /dev/disk/by-id/dm-uuid-mpath-36001438009b051b90000900000fe0000 /dev/mapper/36001438009b051b90000900000fe0000
E: DEVNAME=/dev/dm-1
E: DEVPATH=/devices/virtual/block/dm-1
E: DEVTYPE=disk
E: DM_NAME=36001438009b051b90000900000fe0000
E: DM_SUSPENDED=0
E: DM_UDEV_DISABLE_DISK_RULES_FLAG=1
E: DM_UDEV_DISABLE_OTHER_RULES_FLAG=1
E: DM_UDEV_RULES=1
E: DM_UUID=mpath-36001438009b051b90000900000fe0000
E: MAJOR=252
E: MINOR=1
E: SUBSYSTEM=block
E: UDEV_LOG=3
E: USEC_INITIALIZED=17779274 

36001438009b051b90000900000fe0000 dm-1 HP,HSV340
size=10G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| `- 1:0:0:2 sdc 8:32 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
`- 2:0:0:2 sdg 8:96 active ready running 



zhangguanghui
-------------------------------------------------------------------------------------------------------------------------------------
本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
邮件!
This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux