<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 <mpath id></div><div>step3: replace disk</div><div>step4: add disk to multipath table with multipath -ll <mpath id></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년 4월 26일 (금) 오전 3:44, Kurt Strosahl <<a href="mailto:strosahl@jlab.org">strosahl@jlab.org</a>>님이 작성:<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,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",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've now got two disk shelves connected redundantly to two servers.  Since each disk has two paths to the server I'd like to use multipathing for both redundancy and improved performance. 
 I haven'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'm also wondering about extra steps that may have to be taken when doing a disk replacement to account for the multipathing. 
 I've got plenty of time to experiment with this process, but I'd rather not reinvent the wheel if I don'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,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",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="'courier new', monospace">Jongwoo Han</font><div><font face="'courier new', monospace">+82-505-227-6108</font></div></div>