'Return GPFS state information.'

def _get_gpfs_state(self):

    try:
        (out, err) = self.gpfs_execute((self.GPFS_PATH + 'mmgetstate'), '-Y')
        return out
    except processutils.ProcessExecutionError as exc:
        LOG.error('Failed    to    issue    mmgetstate    command,    error:    %s.', exc.stderr)
        raise exception.VolumeBackendAPIException(data=exc.stderr)
