<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div><br></div><div>What does the /var/mmfs/gen/mmsdrfs file show?<br><div><br></div><div>[root@service5 ~]# grep SG_DISK /var/mmfs/gen/mmsdrfs | cut -f 15 -d ':'<br>dmm<br>dmm<br>dmm<br>dmm<br><br><br></div></div>
            <div><br></div><div><br></div>
            
            <div id="yahoo_quoted_7228513798" class="yahoo_quoted">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        On Thursday, January 18, 2018, 10:49:32 AM EST, Bryan Banister <bbanister@jumptrading.com> wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div><div id="yiv4648160129"><style>#yiv4648160129 #yiv4648160129 --
 
 _filtered #yiv4648160129 {panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv4648160129 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv4648160129 {font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;}
 _filtered #yiv4648160129 {}
#yiv4648160129  
#yiv4648160129 p.yiv4648160129MsoNormal, #yiv4648160129 li.yiv4648160129MsoNormal, #yiv4648160129 div.yiv4648160129MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}
#yiv4648160129 a:link, #yiv4648160129 span.yiv4648160129MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv4648160129 a:visited, #yiv4648160129 span.yiv4648160129MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv4648160129 p.yiv4648160129msonormal, #yiv4648160129 li.yiv4648160129msonormal, #yiv4648160129 div.yiv4648160129msonormal
        {margin-right:0in;margin-left:0in;font-size:12.0pt;}
#yiv4648160129 p.yiv4648160129msochpdefault, #yiv4648160129 li.yiv4648160129msochpdefault, #yiv4648160129 div.yiv4648160129msochpdefault
        {margin-right:0in;margin-left:0in;font-size:12.0pt;}
#yiv4648160129 span.yiv4648160129msohyperlink
        {}
#yiv4648160129 span.yiv4648160129msohyperlinkfollowed
        {}
#yiv4648160129 span.yiv4648160129emailstyle17
        {}
#yiv4648160129 p.yiv4648160129msonormal1, #yiv4648160129 li.yiv4648160129msonormal1, #yiv4648160129 div.yiv4648160129msonormal1
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;}
#yiv4648160129 span.yiv4648160129msohyperlink1
        {color:#0563C1;text-decoration:underline;}
#yiv4648160129 span.yiv4648160129msohyperlinkfollowed1
        {color:#954F72;text-decoration:underline;}
#yiv4648160129 span.yiv4648160129emailstyle171
        {color:windowtext;}
#yiv4648160129 p.yiv4648160129msochpdefault1, #yiv4648160129 li.yiv4648160129msochpdefault1, #yiv4648160129 div.yiv4648160129msochpdefault1
        {margin-right:0in;margin-left:0in;font-size:12.0pt;}
#yiv4648160129 span.yiv4648160129EmailStyle28
        {color:#1F497D;}
#yiv4648160129 .yiv4648160129MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv4648160129 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv4648160129 div.yiv4648160129WordSection1
        {}
#yiv4648160129 </style><div>
<div class="yiv4648160129WordSection1">
<p class="yiv4648160129MsoNormal"><span style="font-size:11.0pt;">Hi Jim,</span></p> 
<p class="yiv4648160129MsoNormal"><span style="font-size:11.0pt;">  </span></p> 
<p class="yiv4648160129MsoNormal"><span style="font-size:11.0pt;">Our NSDs are reporting the /dev/mapper/ devices in the `mmlsnsd -X` output, but due to the nsddevices file configuration they are all configured as ‘generic’
 Devtype.</span></p> 
<p class="yiv4648160129MsoNormal"><span style="font-size:11.0pt;">-Bryan</span></p> 
<p class="yiv4648160129MsoNormal"><span style="font-size:11.0pt;">  </span></p> 
<div class="yiv4648160129yqt4795687214" id="yiv4648160129yqt65493"><div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in;">
<p class="yiv4648160129MsoNormal"><b><span style="font-size:11.0pt;">From:</span></b><span style="font-size:11.0pt;"> gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org]
<b>On Behalf Of </b>Jim Doherty<br clear="none">
<b>Sent:</b> Wednesday, January 17, 2018 6:28 PM<br clear="none">
<b>To:</b> gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br clear="none">
<b>Subject:</b> Re: [gpfsug-discuss] Question about NSD "Devtype" setting, nsddevices file</span></p> 
</div>
</div>
<p class="yiv4648160129MsoNormal">  </p> 
<p class="yiv4648160129MsoNormal"><em><span style="font-size:8.5pt;">Note: External Email</span></em></p> 
<div class="yiv4648160129MsoNormal" style="text-align:center;" align="center">
<hr size="2" align="center" width="100%">
</div>
<div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">  </span></p> 
</div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">Run a mmlsnsd -X   I suspect you will see that GPFS is using one of the /dev/sd* "generic" paths to the LUN,   not the /dev/mapper/ path.   In our case the device is setup as dmm 
</span></p> 
</div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">  </span></p> 
</div>
<div>
<p class="yiv4648160129MsoNormal" style="margin-bottom:12.0pt;"><span style="font-size:10.0pt;">[root@service5 ~]# mmlsnsd -X<br clear="none">
<br clear="none">
 Disk name    NSD volume ID      Device         Devtype  Node name                Remarks          <br clear="none">
---------------------------------------------------------------------------------------------------<br clear="none">
 volume1      0972B6CD587CD8E0   /dev/dm-0      dmm      service5.pok.stglabs.ibm.com server node<br clear="none">
 volume1      0972B6CD587CD8E0   /dev/dm-0      dmm      service6.pok.stglabs.ibm.com server node<br clear="none">
 volume2      0972B6CE587CD8E4   /dev/dm-4      dmm      service5.pok.stglabs.ibm.com server node<br clear="none">
 volume2      0972B6CE587CD8E4   /dev/dm-3      dmm      service6.pok.stglabs.ibm.com server node<br clear="none">
 volume3      0972B6CD587CD8E7   /dev/dm-1      dmm      service5.pok.stglabs.ibm.com server node<br clear="none">
 volume3      0972B6CD587CD8E7   /dev/dm-2      dmm      service6.pok.stglabs.ibm.com server node<br clear="none">
 volume4      0972B6CE587CF625   /dev/dm-3      dmm      service5.pok.stglabs.ibm.com server node<br clear="none">
 volume4      0972B6CE587CF625   /dev/dm-4      dmm      service6.pok.stglabs.ibm.com server node<br clear="none">
<br clear="none">
[root@service5 ~]# grep volume1 /var/mmfs/gen/mmsdrfs | grep SG_DISK<br clear="none">
%%home%%:60_SG_DISKS:gpfs5:1:volume1:0:5001:dataAndMetadata:0972B6CD587CD8E0:nsd:service5.pok.stglabs.ibm.com,service6.pok.stglabs.ibm.com::other::dmm:user:::quorumDisk:ready::system:service5.pok.stglabs.ibm.com,service6.pok.stglabs.ibm.com:::::<br clear="none">
[root@service5 ~]# </span></p> 
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">  </span></p> 
</div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">If you run an tspreparedisk -s  it will show you all of the paths.
</span></p> 
</div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">  </span></p> 
</div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">[root@service5 ~]# tspreparedisk -s | grep 0972B6CD587CD8E0<br clear="none">
0972B6CD587CD8E0 /dev/sda generic  <br clear="none">
0972B6CD587CD8E0 /dev/sdk generic  <br clear="none">
0972B6CD587CD8E0 /dev/sdu generic  <br clear="none">
0972B6CD587CD8E0 /dev/sdah generic  <br clear="none">
0972B6CD587CD8E0 /dev/dm-0 dmm  <br clear="none">
[root@service5 ~]# </span></p> 
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">  </span></p> 
</div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">Jim</span></p> 
</div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">  </span></p> 
</div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">  </span></p> 
</div>
</div>
</div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">  </span></p> 
</div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">Jim</span></p> 
</div>
<div id="yiv4648160129yahoo_quoted_6842880797">
<div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">On Wednesday, January 17, 2018, 5:12:10 PM EST, Bryan Banister <<a rel="nofollow" shape="rect" ymailto="mailto:bbanister@jumptrading.com" target="_blank" href="mailto:bbanister@jumptrading.com">bbanister@jumptrading.com</a>> wrote:
</span></p> 
</div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">  </span></p> 
</div>
<div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">  </span></p> 
</div>
<div>
<div id="yiv4648160129">
<div>
<div>
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">Hi all,</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;"> </span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">We are reviewing some of our configurations and were not sure what to make of the NSD Device Types that GPFS uses and what, if anything, do they change
 about how GPFS accesses/recovers/manages/etc the underlying storage based on this setting.</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;"> </span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">The documentation doesn’t say much about it other than to consult the /usr/lpp/mmfs/bin/mmdevdiscover command (no man page), which has this section:</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;"> </span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;"># Known disk types currently are:</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">#</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">#   powerdisk  - EMC power path disk</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">#   vpath      - IBM virtual path disk</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">#   dmm        - Device-Mapper Multipath (DMM)</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">#   dlmfdrv    - Hitachi dlm</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">#   hdisk      - AIX hard disk</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">#   lv         - AIX logical volume.  Historical usage only.</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">#                Not allowed as a new device to mmcrnsd.</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">#   gpt        - GPFS partition on Windows disk</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">#   generic    - Device having no unique failover or multipathing</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">#                characteristic (predominantly Linux devices).</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">#   dasd       - DASD device (for Linux on z Systems)</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;"> </span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">We have our storage under Linux Device-Mapper Multipath control (two device paths to all storage, active/passive) and are accessible under /dev/mapper,
 but the NSD types are current set to ‘generic’ not ‘dmm’.  This is configured in the /var/mmfs/etc/nsddevices file:</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;"> </span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">if [[ $osName = Linux ]]</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">then</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">  : # Add function to discover disks in the Linux environment.</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">  ls -l /dev/mpath/ 2>/dev/null | awk '{print "mpath/"$9 " generic"}'</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">  ls -l /dev/mapper/ 2>/dev/null | awk '{print "mapper/"$9 "
<span style="background:yellow;">generic</span>"}'</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">  ls -1 /dev/vd* 2>/dev/null | awk -F '/' '{print ""$3 " generic"}'</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">fi</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;"> </span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">Can somebody from IBM explain what the correct setting should be and what differences GPFS does with ‘generic’ vs. ‘dmm’ vs. others?</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;"> </span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">Thanks in advance!</span></p> 
<p class="yiv4648160129msonormal"><span style="font-size:10.0pt;">-Bryan</span></p> 
</div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">  </span></p> 
<div class="yiv4648160129MsoNormal" style="text-align:center;" align="center"><span style="font-size:10.0pt;">
</span><hr size="2" align="center" width="100%">
</div>
<p class="yiv4648160129MsoNormal"><span style="font-size:7.5pt;"><br clear="none">
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this
 email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness
 or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial
 product.</span><span style="font-size:10.0pt;"></span></p> 
</div>
</div>
<p class="yiv4648160129MsoNormal"><span style="font-size:10.0pt;">_______________________________________________<br clear="none">
gpfsug-discuss mailing list<br clear="none">
gpfsug-discuss at spectrumscale.org<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a></span></p> 
</div>
</div>
</div>
</div></div>
</div>
<br clear="none">
<hr>
<font color="Gray" size="1" face="Arial"><br clear="none">
Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this
 email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness
 or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial
 product.<br clear="none">
</font>
</div></div><div class="yqt4795687214" id="yqt41916">_______________________________________________<br clear="none">gpfsug-discuss mailing list<br clear="none">gpfsug-discuss at spectrumscale.org<br clear="none"><a shape="rect" href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br clear="none"></div></div>
                </div>
            </div></div></body></html>