Onbar recovery failure Resolution of chunk space mismatch problem

Source: Internet
Author: User





    1. Problem Description:

On the aix5.3 system platform, there was a problem recovering from the informix11.5 database backup and could not be successful. Specific as follows:

$ onbar-r-p-w

Bar_act.log Displays the following error message as "The chunk '/home/db/informix/fcadbs/logchunk2 ' won't fit in the space specified. errno = 2. "


2. Cause Analysis:

View the aix5.3 system platform architecture as a 32 system.

#prtconf | grep ' Kener '

32

It is determined that because the core of the aix5.3 system is not 64 bits, the recovery is limited by the 32-bit system, and the system-managed database chunk file is more than 2G.

The cause of the problem is that the AIX system is restored using backup tapes, and the 32-bit system is used by default when recovering.


3. Workaround

The aix5.3 system core is switched from 32-bit to 64-bit, with the following steps:

To switch from 32-bit mode to 64-bit mode run the following commands, in the given order:

1). Ln-sf/usr/lib/boot/unix_64/unix

2). Ln-sf/usr/lib/boot/unix_64/usr/lib/boot/unix

3). Bosboot-ad/dev/ipldevice

4). shutdown-fr

5). Bootinfo-k (should now show 64)

Note: The 32-bit system cannot use a 64-bit kernel, the 64-bit system can use 32 of the kernel, it is important to note this. The following commands can be used to see if the system is 32-bit or 64-bit.


This article is from the "All the Way" blog, please be sure to keep this source http://702410.blog.51cto.com/692410/1615915

Onbar recovery failure chunk space mismatch resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.