GPFS v3.4 PTF 15
Verify if a directory is based/located on a GPFS or not.
For this task the mmlsattr command is used.
In case the GPFS is mounted ro i get an error message.
$ mmlsattr /gpfs/tmp ... /tcc1/db2/tmp: Read-only file system
and error code is 1. The answer Read-only is fine but the return code 1 gives me problems.
Is this working as designed ? If yes the man page should be updated to reflect this behavior
In any case - Does somebody knows a nice way to determine if a directory is based/located on a GPFS or not ?
tia & cheers