'Returns remote GPFS path for the given volume.'

def _get_volume_path(self, volume):

    export_path = self.configuration.gpfs_mount_point_base
    if (volume.group_id is not None):
        if volume_utils.is_group_a_cg_snapshot_type(volume.group):
            cgname = ('consisgroup-%s' % volume.group_id)
            return os.path.join(export_path, cgname, volume.name)
    return os.path.join(export_path, volume.name)
