IBM Support

Onbar restore fails when the value of BAR_XFER_BUF_SIZE onconfig parameter is different from the value set during the backup.

Troubleshooting


Problem

Onbar restore fails with the message in log after restoring the system reserved pages when the value of BAR_XFER_BUF_SIZE onconfig parameter is different from the value set during the backup.

Symptom

Onbar restore fails with the message in log after restoring the system reserved pages when the value of BAR_XFER_BUF_SIZE onconfig parameter is different from the value set during the backup.

online.log:
========
23:32:00 Dataskip is now OFF for all dbspaces
23:32:00 Restartable Restore has been ENABLED
23:32:00 Recovery Mode
23:32:00 Physical Restore of rootdbs started.
23:32:01 Aborting physical restore of ROOT DBSpace
23:32:01 Aborted by client.
23:32:01 IBM Informix Dynamic Server Stopped.


bar_act.log:
==========
2014-09-30 23:31:35 64946892 45088794 /usr/informix/onbar_d -r
2014-09-30 23:31:35 64946892 45088794 Successfully connected to Storage Manager.
2014-09-30 23:31:36 64946892 45088794 Begin salvage for log 139.
2014-09-30 23:31:36 64946892 45088794 Completed salvage of logical log 139 (Storage Manager copy ID: 22311 0).
2014-09-30 23:31:36 64946892 45088794 Successfully connected to Storage Manager.
2014-09-30 23:31:36 64946892 45088794 Begin reserved pages restore (level 0 of rootdbs, Storage Manager copy ID: 22307 0).
2014-09-30 23:31:36 64946892 45088794 Completed reserved pages restore (level 0 of rootdbs).
2014-09-30 23:31:37 64946892 45088794 Successfully connected to Storage Manager.
2014-09-30 23:31:37 64946892 45088794 Begin cold level 0 restore rootdbs (Storage Manager copy ID:22307 0).
2014-09-30 23:31:40 38470512 6292202 /usr2/support/products/11.50.FC8/bin/onbar_d -m
2014-09-30 23:32:00 64946892 45088794 Unable to write storage space restore data to the database server: The archive backup is corrupted..
2014-09-30 23:32:00 64946892 45088794 (-43391) Skipped backup/restore of space 'rootdbs'.
2014-09-30 23:32:01 64946892 45088794 Unable to close the storage space restore: The archive backup is corrupted..
2014-09-30 23:32:01 64946892 45088794 (-43140) Due to the previous error, logical restore will not be attempted.
2014-09-30 23:32:01 64946892 45088794 /usr2/support/products/11.50.FC8/bin/onbar_d complete, returning 131 (0x83)

bar_debug.log:
=============
2014-09-30 23:32:00 64946892 45088794 do_phys_restore: calling bar_phys_write_restore(buf 0xffffffffffece90, bufnbytes 61440, events, errtxt)
2014-09-30 23:32:00 64946892 45088794 bar_phys_write_restore: enter
2014-09-30 23:32:00 64946892 45088794 bar_phys_write_restore: input buf 0x02391400 bufnbytes 61440
2014-09-30 23:32:00 64946892 45088794 bar_phys_write_restore: output buf 0x02391400 events 0 errtxt The archive backup is corrupted.

Cause

The value of BAR_XFER_BUF_SIZE onconfig parameter in restore is different from the value set during the backup.

Important: This is only one possible cause of the problem.If this document does not provide you with a solution to your problem, you should search for other documents that refer to the same problem. . If problem persists, please save all diagnostic information and contact your local technical support office.

Resolving The Problem

Make sure the value of BAR_XFER_BUF_SIZE onconfig parameter is the same as the value set during the backup when doing restore.

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"11.5;11.7;12.1","Edition":"Developer;Enterprise;Express;Growth;Hypervisor;Innovator;Ultimate;Workgroup","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21685791