<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">We ran into this back in mid February.<div class="">Never really got a satisfactory answer how it got this way, </div><div class="">the thought was that a bunch of nodes were expelled during an mmchconfig, </div><div class="">and the files ended up with the wrong permissions. </div><div class=""><br class=""></div><div class=""> — ddj</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 30, 2017, at 3:26 PM, Buterbaugh, Kevin L <<a href="mailto:Kevin.Buterbaugh@Vanderbilt.Edu" class="">Kevin.Buterbaugh@Vanderbilt.Edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi All,
<div class=""><br class="">
</div>
<div class="">We have a script that takes the output of mmlsfs and mmlsquota and formats a users’ GPFS quota usage into something a little “nicer” than what mmlsquota displays (and doesn’t display 50 irrelevant lines of output for filesets they don’t have access
to). After upgrading to 4.2.3-4 over the weekend it started throwing errors it hadn’t before:</div>
<div class=""><br class="">
</div>
<div class=""><span style="font-family: arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" class="">awk: cmd. line:11: fatal: cannot open file `/var/mmfs/gen/mmfs.cfg.show' for reading (Permission denied)</span><br style="font-family: arial, helvetica, sans-serif; font-size: 13px;" class="">
<span style="font-family: arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" class="">mmlsfs: Unexpected error from awk. Return code: 2</span><br style="font-family: arial, helvetica, sans-serif; font-size: 13px;" class="">
<span style="font-family: arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" class="">awk: cmd. line:11: fatal: cannot open file `/var/mmfs/gen/mmfs.cfg.show' for reading (Permission denied)</span><br style="font-family: arial, helvetica, sans-serif; font-size: 13px;" class="">
<span style="font-family: arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" class="">mmlsfs: Unexpected error from awk. Return code: 2</span><br style="font-family: arial, helvetica, sans-serif; font-size: 13px;" class="">
<span style="font-family: arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" class="">Home (user): 11.82G 30G 40G 10807 200000 300000 </span><br style="font-family: arial, helvetica, sans-serif; font-size: 13px;" class="">
<span style="font-family: arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" class="">awk: cmd. line:11: fatal: cannot open file `/var/mmfs/gen/mmfs.cfg.show' for reading (Permission denied)</span><br style="font-family: arial, helvetica, sans-serif; font-size: 13px;" class="">
<span style="font-family: arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" class="">mmlsquota: Unexpected error from awk. Return code: 2</span></div>
<div class=""><span style="font-family: arial, helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);" class=""><br class="">
</span></div>
<div class=""><span style="background-color: rgb(255, 255, 255);" class="">It didn’t take long to track down that the m</span>mfs.cfg.show file had permissions of 600 and a chmod 644 of it (on our login gateways only, which is the only place users run that
script anyway) fixed the problem.</div>
<div class=""><br class="">
</div>
<div class="">So I just wanted to see if this was a known issue in 4.2.3-4? Notice that the error appears to be coming from the GPFS commands my script runs, not my script itself … I sure don’t call awk! ;-)</div>
<br class="">
Thanks…
<div class=""><br class="">
</div>
<div class="">Kevin<br class="">
<div class="">
<div class="">—</div>
<div class="">Kevin Buterbaugh - Senior System Administrator</div>
<div class="">Vanderbilt University - Advanced Computing Center for Research and Education</div>
<div class=""><a href="mailto:Kevin.Buterbaugh@vanderbilt.edu" class="">Kevin.Buterbaugh@vanderbilt.edu</a> - (615)875-9633</div>
<div class=""><br class="">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="">
</div>
</div>
_______________________________________________<br class="">gpfsug-discuss mailing list<br class="">gpfsug-discuss at <a href="http://spectrumscale.org" class="">spectrumscale.org</a><br class=""><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" class="">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a><br class=""></div></blockquote></div><br class=""></div></body></html>