<div dir="ltr">Disk replacement with multipathd + zfs is somewhat not convenient.<div><br></div><div>step1: mark offline the disk you should replace with zpool command</div><div>step2: remove disk from multipathd table with multipath -f &lt;mpath id&gt;</div><div>step3: replace disk</div><div>step4: add disk to multipath table with multipath -ll &lt;mpath id&gt;</div><div>step5:  replace disk in zpool with zpool replace</div><div><br></div><div>try this in your test environment and tell us if you have found anything interesting in the syslog.</div><div>In my case replacing single disk in multipathd+zfs pool triggerd massive udevd partition scan. </div><div><br></div><div>Thanks</div><div>Jongwoo Han</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2019\ub144 4\uc6d4 26\uc77c (\uae08) \uc624\uc804 3:44, Kurt Strosahl &lt;<a href="mailto:strosahl@jlab.org">strosahl@jlab.org</a>&gt;\ub2d8\uc774 \uc791\uc131:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div id="gmail-m_-296173503153998559divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,EmojiFont,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,NotoColorEmoji,&quot;Segoe UI Symbol&quot;,&quot;Android Emoji&quot;,EmojiSymbols">
<p style="margin-top:0px;margin-bottom:0px">Good Afternoon,</p>
<p style="margin-top:0px;margin-bottom:0px"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px">    As part of a new lustre deployment I&#39;ve now got two disk shelves connected redundantly to two servers.  Since each disk has two paths to the server I&#39;d like to use multipathing for both redundancy and improved performance. 
 I haven&#39;t found examples or discussion about such a setup, and was wondering if there are any resources out there that I could consult.</p>
<p style="margin-top:0px;margin-bottom:0px"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px">Of particular interest would be examples of the /etc/zfs/vdev_id.conf and any tuning that was done.  I&#39;m also wondering about extra steps that may have to be taken when doing a disk replacement to account for the multipathing. 
 I&#39;ve got plenty of time to experiment with this process, but I&#39;d rather not reinvent the wheel if I don&#39;t have to.</p>
<p style="margin-top:0px;margin-bottom:0px"><br>
</p>
<p style="margin-top:0px;margin-bottom:0px">w/r,</p>
<div id="gmail-m_-296173503153998559Signature">
<div id="gmail-m_-296173503153998559divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,EmojiFont,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,NotoColorEmoji,&quot;Segoe UI Symbol&quot;,&quot;Android Emoji&quot;,EmojiSymbols">
<p style="margin-top:0px;margin-bottom:0px"><span id="gmail-m_-296173503153998559ms-rterangepaste-start"></span><span style="color:rgb(51,51,51);font-family:monospace;font-size:14.16px">Kurt J. Strosahl</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:14.16px">
<span style="color:rgb(51,51,51);font-family:monospace;font-size:14.16px">System Administrator: Lustre, HPC</span><br style="color:rgb(51,51,51);font-family:monospace;font-size:14.16px">
<span style="color:rgb(51,51,51);font-family:monospace;font-size:14.16px">Scientific Computing Group, Thomas Jefferson National Accelerator Facility</span><span id="gmail-m_-296173503153998559ms-rterangepaste-end"></span><br>
</p>
</div>
</div>
</div>
</div>

_______________________________________________<br>
lustre-discuss mailing list<br>
<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><font face="&#39;courier new&#39;, monospace">Jongwoo Han</font><div><font face="&#39;courier new&#39;, monospace">+82-505-227-6108</font></div></div>