'Create a copy of the specified LDEV via host.'

def _copy_on_host(self, src_ldev, size):

    dest_ldev = self.create_ldev(size)
    try:
        self._copy_with_dd(src_ldev, dest_ldev, size)
    except Exception:
        with excutils.save_and_reraise_exception():
            try:
                self._delete_ldev(dest_ldev)
            except exception.VSPError:
                utils.output_log(MSG.DELETE_LDEV_FAILED, ldev=dest_ldev)
    return dest_ldev
