'Determine if the specified path is in a gpfs file system.
If not part of a gpfs file system, raise ProcessExecutionError.'

def _is_gpfs_path(self, directory):

    try:
        self.gpfs_execute((self.GPFS_PATH + 'mmlsattr'), directory)
    except processutils.ProcessExecutionError as exc:
        LOG.error('Failed    to    issue    mmlsattr    command    for    path    %(path)s,    error:    %(error)s.', {'path': directory, 'error': exc.stderr})
        raise exception.VolumeBackendAPIException(data=exc.stderr)
