We ran into this back in mid February. Never really got a satisfactory answer how it got this way, the thought was that a bunch of nodes were expelled during an mmchconfig, and the files ended up with the wrong permissions. — ddj
On Aug 30, 2017, at 3:26 PM, Buterbaugh, Kevin L <Kevin.Buterbaugh@Vanderbilt.Edu> wrote:
Hi All,
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:
awk: cmd. line:11: fatal: cannot open file `/var/mmfs/gen/mmfs.cfg.show' for reading (Permission denied) mmlsfs: Unexpected error from awk. Return code: 2 awk: cmd. line:11: fatal: cannot open file `/var/mmfs/gen/mmfs.cfg.show' for reading (Permission denied) mmlsfs: Unexpected error from awk. Return code: 2 Home (user): 11.82G 30G 40G 10807 200000 300000 awk: cmd. line:11: fatal: cannot open file `/var/mmfs/gen/mmfs.cfg.show' for reading (Permission denied) mmlsquota: Unexpected error from awk. Return code: 2
It didn’t take long to track down that the mmfs.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.
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! ;-)
Thanks…
Kevin — Kevin Buterbaugh - Senior System Administrator Vanderbilt University - Advanced Computing Center for Research and Education Kevin.Buterbaugh@vanderbilt.edu <mailto:Kevin.Buterbaugh@vanderbilt.edu> - (615)875-9633
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
