<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>body { line-height: 1.5; }body { font-size: 16pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style>
</head>
<body>
<div><font face="Verdana, sans-serif" size="4"><i><span></span></i></font>
<pre style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-size: 18px;"><font face="Verdana, sans-serif"><i>Hi,</i></font></span></pre>
<pre style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-size: 18px;"><font face="Verdana, sans-serif"><i> everyone</i></font></span></pre>
<pre style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US"><pre style="line-height: 32px;"><font face="Verdana, sans-serif"><span style="font-size: 18px;"><i><font>This is a </font><span class="op_dict3_highlight" style="line-height: 20px; white-space: normal; widows: 1;">fateful problems</span><span style="line-height: 20px; white-space: normal; widows: 1;"> </span></i></span></font><font face="Verdana, sans-serif" style="font-size: 18px;"><i>then what you are talking about first. That
is the bug Hannes is talking about.</i></font></pre></span></pre>
<pre style="margin: 0cm 0cm 0.0001pt;"><font face="Verdana, sans-serif"><span style="font-size: 18px;"><i><span lang="EN-US">Warning! Received an indication that the </span><span style="line-height: 1.5;"><span lang="EN-US">LUN assignments on this target have </span></span><span style="line-height: 1.5;"><span lang="EN-US">changed. </span></span></i></span></font></pre>
<pre style="margin: 0cm 0cm 0.0001pt;"><font face="Verdana, sans-serif"><span style="font-size: 18px;"><i><span style="line-height: 1.5;"><span lang="EN-US">The Linux SCSI layer does not </span></span><span style="line-height: 1.5;"><span lang="EN-US">automatically remap LUN assignments.</span></span></i></span></font></pre>
</div>
<div>
<pre style="margin: 0cm 0cm 0.0001pt;"><span lang="EN-US" style="font-size: 18px;"><font face="Verdana, sans-serif"><i>logged in /var/log/syslog. </i></font></span></pre>
<pre style="margin: 0cm 0cm 0.0001pt;"><br></pre>
<pre style="margin: 0cm 0cm 0.0001pt;"><font face="Verdana, sans-serif"><span style="font-size: 18px;"><i>Details:</i></span></font></pre>
<pre style="margin: 0cm 0cm 0.0001pt;"><pre style="margin: 0cm 0cm 0.0001pt;"><font face="Verdana, sans-serif"><span style="font-size: 18px;"><i><span style="line-height: 1.5;">there will be corruption while </span></i></span></font><i style="font-size: 18px; font-family: Verdana, sans-serif; line-height: 1.5; background-color: window;"><span style="line-height: 1.5;">dm-1 is accessing</span><span style="line-height: 1.5;">/dev/sdc which it thinks is LUN3 but is now LUN 2. </span></i></pre><pre style="margin: 0cm 0cm 0.0001pt;"><font face="Verdana, sans-serif"><span style="font-size: 18px;"><i><span style="line-height: 1.5;">Because we do not </span><span style="line-height: 1.5;">handle the sense indicating the LUNS changed, dm-1 will not change.</span></i></span></font></pre><pre style="margin: 0cm 0cm 0.0001pt;"><pre style="margin: 0cm 0cm 0.0001pt;"><font style="line-height: 1.5; font-size: 18px;" face="Verdana, sans-serif"><i>So right now you should do what Hannes suggests and use 'rescan-scsi-bus.sh -r'.</i></font></pre><pre style="margin: 0cm 0cm 0.0001pt;"><span style="line-height: 1.5; font-size: 18px;"><font face="Verdana, sans-serif"><i><span style="line-height: 1.5;">This will delete old mappings and setup</span><span style="line-height: 1.5;"> /dev/sdXs for new ones,</span></i></font></span></pre><pre style="margin: 0cm 0cm 0.0001pt;"><span style="line-height: 1.5;"><font><i><span style="line-height: 1.5;"><font face="Verdana, sans-serif"><span style="font-size: 18px;">or restart multipath-tool daemon.</span></font></span></i></font></span></pre><pre style="margin: 0cm 0cm 0.0001pt;"><span style="line-height: 1.5;"><font><i><span style="line-height: 1.5;"><font face="Verdana, sans-serif"><span style="font-size: 18px;"> </span></font></span></i></font></span></pre><pre style="margin: 0cm 0cm 0.0001pt;"><font face="Verdana, sans-serif"><span style="font-size: 18px;"><i><span style="line-height: 1.5;"><font><span style="line-height: 1.5;">but the </span></font></span><span style="line-height: 1.5;">corruption </span><span style="line-height: 1.5;"><span style="line-height: 1.5;">may </span></span><span style="white-space: normal; widows: 1;"><font><span style="line-height: 20px;">have been caused.</span></font></span></i></span></font></pre><pre style="margin: 0cm 0cm 0.0001pt;"><span style="white-space: normal; widows: 1; font-size: 18px;"><font face="Verdana, sans-serif"><i><font><span style="line-height: 20px;">so I think /de</span></font><font>v/sdc,/dev/sdg should be not added the dm-1 while scsi_id have different.</font></i></font></span></pre><pre style="margin: 0cm 0cm 0.0001pt;"><span style="white-space: normal; widows: 1; font-size: 18px;"><font face="Verdana, sans-serif"><i><font>but Now I don't have a right way to deal with the case. Thanks for your advise.</font></i></font></span></pre><pre style="margin: 0cm 0cm 0.0001pt;"><br></pre></pre></pre>
</div>
<div><span style="background-color: rgba(0, 0, 0, 0);"><span style="font-size: 16px;">root@cvknode98:~# /lib/udev/scsi_id --whitelisted /dev/dm-1
</span><br style="font-size: 16px;">
<span style="font-size: 16px;">36001438009b051b90000a000003d0000 </span><br style="font-size: 16px;">
<span style="font-size: 16px;">root@cvknode98:~# udevadm info --query=all --name=/dev/dm-1
</span><br style="font-size: 16px;">
<span style="font-size: 16px;">P: /devices/virtual/block/dm-1 </span><br style="font-size: 16px;">
<span style="font-size: 16px;">N: dm-1 </span><br style="font-size: 16px;">
<span style="font-size: 16px;">L: -100 </span><br style="font-size: 16px;">
<span style="font-size: 16px;">S: disk/by-id/dm-name-36001438009b051b90000900000fe0000
</span><br style="font-size: 16px;">
<span style="font-size: 16px;">S: disk/by-id/dm-uuid-mpath-36001438009b051b90000900000fe0000
</span><br style="font-size: 16px;">
<span style="font-size: 16px;">S: mapper/36001438009b051b90000900000fe0000 </span>
<br style="font-size: 16px;">
<span style="font-size: 16px;">E: DEVLINKS=/dev/disk/by-id/dm-name-36001438009b051b90000900000fe0000 /dev/disk/by-id/dm-uuid-mpath-36001438009b051b90000900000fe0000 /dev/mapper/36001438009b051b90000900000fe0000
</span><br style="font-size: 16px;">
<span style="font-size: 16px;">E: DEVNAME=/dev/dm-1 </span><br style="font-size: 16px;">
<span style="font-size: 16px;">E: DEVPATH=/devices/virtual/block/dm-1 </span><br style="font-size: 16px;">
<span style="font-size: 16px;">E: DEVTYPE=disk </span><br style="font-size: 16px;">
<span style="font-size: 16px;">E: DM_NAME=36001438009b051b90000900000fe0000 </span>
<br style="font-size: 16px;">
<span style="font-size: 16px;">E: DM_SUSPENDED=0 </span><br style="font-size: 16px;">
<span style="font-size: 16px;">E: DM_UDEV_DISABLE_DISK_RULES_FLAG=1 </span><br style="font-size: 16px;">
<span style="font-size: 16px;">E: DM_UDEV_DISABLE_OTHER_RULES_FLAG=1 </span><br style="font-size: 16px;">
<span style="font-size: 16px;">E: DM_UDEV_RULES=1 </span><br style="font-size: 16px;">
<span style="font-size: 16px;">E: DM_UUID=mpath-36001438009b051b90000900000fe0000
</span><br style="font-size: 16px;">
<span style="font-size: 16px;">E: MAJOR=252 </span><br style="font-size: 16px;">
<span style="font-size: 16px;">E: MINOR=1 </span><br style="font-size: 16px;">
<span style="font-size: 16px;">E: SUBSYSTEM=block </span><br style="font-size: 16px;">
<span style="font-size: 16px;">E: UDEV_LOG=3 </span><br style="font-size: 16px;">
<span style="font-size: 16px;">E: USEC_INITIALIZED=17779274 </span><br>
</span></div>
<div><span style="background-color: rgba(0, 0, 0, 0);"><span style="font-size: 16px;"><br>
</span></span></div>
<div><span style="font-size: 16px; background-color: rgba(0, 0, 0, 0);">36001438009b051b90000900000fe0000 dm-1 HP,HSV340
<br>
size=10G features='1 queue_if_no_path' hwhandler='0' wp=rw <br>
|-+- policy='round-robin 0' prio=50 status=active <br>
| `- 1:0:0:2 sdc 8:32 active ready running <br>
`-+- policy='round-robin 0' prio=10 status=enabled <br>
`- 2:0:0:2 sdg 8:96 active ready running <br>
</span></div>
<div><br>
</div>
<div><span style="font-size: 16px; background-color: rgba(0, 0, 0, 0);"><br>
</span></div>
<hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span>
<div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<div style="font-size: 16px;"><i><font color="#993300">zhangguanghui</font></i></div>
</div>
</span></div>
<span style="font-size:7.5pt;font-family:华文细黑;color:gray"><span lang="EN-US">-------------------------------------------------------------------------------------------------------------------------------------<br>
</span>本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出<span lang="EN-US"><br>
</span>的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、<span lang="EN-US"><br>
</span>或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本<span lang="EN-US"><br>
</span>邮件!<span lang="EN-US"><br>
</span></span><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray">This e-mail and its attachments contain confidential information from H3C, which is
<br>
intended only for the person or entity whose address is listed above. Any use of the
<br>
information contained herein in any way (including, but not limited to, total or partial
<br>
disclosure, reproduction, or dissemination) by persons other than the intended <br>
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
<br>
by phone or email immediately and delete it!</span>
</body>
</html>