'Disconnect the volume.'

@utils.synchronized('connect_qb_volume')
def disconnect_volume(self, connection_info, disk_dev, instance):

    quobyte_volume = self._normalize_export(connection_info['data']['export'])
    mount_path = self._get_mount_path(connection_info)
    if libvirt_utils.is_mounted(mount_path, ('quobyte@' + quobyte_volume)):
        umount_volume(mount_path)
    else:
        LOG.info('Trying    to    disconnected    unmounted    volume    at    %s', mount_path)
