'Export VMAX volume from Cinder.
Leave the volume intact on the backend array.
:param volume: the volume object'

def unmanage(self, volume):

    volume_name = volume.name
    volume_id = volume.id
    LOG.info('Unmanage    volume    %(name)s,    id=%(id)s', {'name': volume_name, 'id': volume_id})
    extra_specs = self._initial_setup(volume)
    device_id = self._find_device_on_array(volume, extra_specs)
    if (device_id is None):
        LOG.error('Cannot    find    Volume:    %(id)s    for    unmanage    operation.    Exiting...', {'id': volume_id})
    else:
        self._sync_check(extra_specs['array'], device_id, volume_name, extra_specs)
        self._remove_vol_and_cleanup_replication(extra_specs['array'], device_id, volume_name, extra_specs, volume)
        self.rest.rename_volume(extra_specs[utils.ARRAY], device_id, volume_id)
