'Create a copy of the specified LDEV on the storage.'

def copy_on_storage(self, pvol, size, metadata, sync):

    is_thin = (self.get_copy_method(metadata) == 'THIN')
    svol = self.create_ldev(size, is_vvol=is_thin)
    try:
        self.create_pair_on_storage(pvol, svol, is_thin)
        if sync:
            self.wait_full_copy_completion(pvol, svol)
    except exception.VSPError:
        with excutils.save_and_reraise_exception():
            try:
                self._delete_ldev(svol)
            except exception.VSPError:
                utils.output_log(MSG.DELETE_LDEV_FAILED, ldev=svol)
    return svol
