<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body 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>
</body>
</html>