<html><head><META http-equiv="Content-Type" content="text/html;charset=utf-8"></head><body><div id="content" contenteditable="true" spellcheck="true" autocorrect="true" autocapitalize="true" style="font-family: Helvetica;"><font face="-apple-system, Helvetica"><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><i>Valdis wrote:</i></span></font><div><font face="-apple-system, Helvetica"><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961); -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><i>Keep&nbsp;in&nbsp;mind&nbsp;that&nbsp;if&nbsp;you&nbsp;have&nbsp;multiple&nbsp;NSD&nbsp;servers&nbsp;in&nbsp;the&nbsp;cluster,&nbsp;there<br>is&nbsp;*no*&nbsp;guarantee&nbsp;that&nbsp;the&nbsp;names&nbsp;for&nbsp;a&nbsp;device&nbsp;will&nbsp;be&nbsp;consistent&nbsp;across<br>the&nbsp;servers,&nbsp;or&nbsp;across&nbsp;reboots.&nbsp;&nbsp;And&nbsp;when&nbsp;multipath&nbsp;is&nbsp;involved,&nbsp;you&nbsp;may<br>have&nbsp;4&nbsp;or&nbsp;8&nbsp;or&nbsp;even&nbsp;more&nbsp;names&nbsp;for&nbsp;the&nbsp;same&nbsp;device....</i></span></font><br><br>Indeed the is whole greatness about NSDs (and in passing why Lustre can be much more tricky to safely manage.)</div><div>Once a lun is "labelled" as an NSD then that NSD name is all you need to care about as the /dev entries can now freely change on reboot or differ across nodes. Indeed if you connect an arbitrary node to an NSD disk via a SAN cable, gpfs will recognise it and use it as a shortcut to that lun.</div><div><br></div><div>Finally recall that in the NSD stanza file the /dev entry is only matched for on the first of the listed NSD servers; the other NSD servers will discover and learn which NSD this is, ignoring the /dev value in this stanza.</div><div><br>Daniel<br><br>IBM Spectrum Storage Software<br><a dir="ltr" href="tel:+44%207818%20522266" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="0">+44 (0)7818 522266</a><br>Sent from my iPad using IBM Verse<br><br><br><hr>On 17 Dec 2016, 21:43:00, Valdis.Kletnieks@vt.edu wrote:<br><br>From: Valdis.Kletnieks@vt.edu<br>To: gpfsug-discuss@spectrumscale.org<br>Cc: <br>Date: 17 Dec 2016 21:43:00<br>Subject: Re: [gpfsug-discuss] translating /dev device into nsd name<br><br><div id="MaaS360PIMSDKOriginalMessageId">On&nbsp;Fri,&nbsp;16&nbsp;Dec&nbsp;2016&nbsp;23:24:34&nbsp;-0500,&nbsp;Aaron&nbsp;Knister&nbsp;said:<br>&gt;&nbsp;that&nbsp;I&nbsp;can&nbsp;then&nbsp;parse&nbsp;and&nbsp;map&nbsp;the&nbsp;nsd&nbsp;id&nbsp;to&nbsp;the&nbsp;nsd&nbsp;name.&nbsp;I&nbsp;hesitate<br>&gt;&nbsp;calling&nbsp;ts*&nbsp;commands&nbsp;directly&nbsp;and&nbsp;I&nbsp;admit&nbsp;it's&nbsp;perhaps&nbsp;an&nbsp;irrational<br>&gt;&nbsp;fear,&nbsp;but&nbsp;I&nbsp;associate&nbsp;the&nbsp;-D&nbsp;flag&nbsp;with&nbsp;"delete"&nbsp;in&nbsp;my&nbsp;head&nbsp;and&nbsp;am&nbsp;afraid<br>&gt;&nbsp;that&nbsp;some&nbsp;day&nbsp;-D&nbsp;may&nbsp;be&nbsp;just&nbsp;that&nbsp;and&nbsp;*poof*&nbsp;there&nbsp;go&nbsp;my&nbsp;NSD&nbsp;descriptors.<br>Others&nbsp;have&nbsp;mentioned&nbsp;mmlsdnsd&nbsp;-m&nbsp;and&nbsp;-X<br>Keep&nbsp;in&nbsp;mind&nbsp;that&nbsp;if&nbsp;you&nbsp;have&nbsp;multiple&nbsp;NSD&nbsp;servers&nbsp;in&nbsp;the&nbsp;cluster,&nbsp;there<br>is&nbsp;*no*&nbsp;guarantee&nbsp;that&nbsp;the&nbsp;names&nbsp;for&nbsp;a&nbsp;device&nbsp;will&nbsp;be&nbsp;consistent&nbsp;across<br>the&nbsp;servers,&nbsp;or&nbsp;across&nbsp;reboots.&nbsp;&nbsp;And&nbsp;when&nbsp;multipath&nbsp;is&nbsp;involved,&nbsp;you&nbsp;may<br>have&nbsp;4&nbsp;or&nbsp;8&nbsp;or&nbsp;even&nbsp;more&nbsp;names&nbsp;for&nbsp;the&nbsp;same&nbsp;device....<br>_______________________________________________<br>gpfsug-discuss&nbsp;mailing&nbsp;list<br>gpfsug-discuss&nbsp;at&nbsp;spectrumscale.org<br>http://gpfsug.org/mailman/listinfo/gpfsug-discuss<br></div></div></div>Unless stated otherwise above:<BR>
IBM United Kingdom Limited - Registered in England and Wales with number 741598. <BR>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU<BR>
<BR>
</body></html>