'Returns the local path for the specified volume.'

def local_path(self, volume):

    remotefs_share = volume['provider_location']
    base_local_path = self._get_mount_point_for_share(remotefs_share)
    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(base_local_path, cgname, volume.name)
    return os.path.join(base_local_path, volume.name)
