'Return filesystem for specified path.'

def _get_filesystem_from_path(self, path):

    try:
        (out, err) = self.gpfs_execute('df', path)
        lines = out.splitlines()
        filesystem = lines[1].split()[0]
        return filesystem
    except processutils.ProcessExecutionError as exc:
        LOG.error('Failed    to    issue    df    command    for    path    %(path)s,    error:    %(error)s.', {'path': path, 'error': exc.stderr})
        raise exception.VolumeBackendAPIException(data=exc.stderr)
