12/02/94 Paging Space Problems with Mksysb Restoration SPECIAL NOTICES Information in this document is correct to the best of our knowledge at the time of this writing. Please send feedback by fax to "AIXServ Information" at (512) 823-4009. Please use this information with care. IBM will not be responsible for damages of any kind resulting from its use. The use of this information is the sole responsibility of the customer and depends on the customer's ability to eval- uate and integrate this information into the customer's operational environment. +----------------------------------------------------------+ | | | NOTE: The information in this document has NOT been | | verified for AIX 4.1. | | | +----------------------------------------------------------+ ABOUT THIS DOCUMENT This document describes how to decrease the amount of paging space that is created during a mksysb restoration. You may wish to use this procedure if there is not enough space on the system for the paging space that mksysb is trying to create. This document applies to all versions of AIX 3.2. OVERVIEW This document describes two methods for changing the amount of paging space that is created. The first involves changing the bosrvg script, which mksysb uses to create the rootvg logical volume. The second involves temporarily removing memory cards from the system. For more information on paging space, order fax 1075 from 1-800-IBM-4FAX (outside the U.S., call 415-855-4FAX from a fax machine phone). METHOD 1 1. On a system other than the one being restored but at the SAME level as the one being restored, do the following: a. Enter the following to save the original bosrvg script so that it can be restored after we tempo- rarily edit it: cp /usr/lpp/bosinst/bosrvg /usr/lpp/bosinst/bosrvg.original b. Change the following line (approximately line 108) in the bosrvg script: Paging Space Problems with Mksysb Restoration 1 12/02/94 mklv -y hd6$hdnum -t paging -a m -b n $VGNAME $pagecount $pagedisk || berror -f "mklv" -e 0 -a 2 -r $? to mklv -y hd6 -t paging -a m -b n rootvg <# of partitions> where "<# of partitions>" is the number of parti- tions that you want the paging space to have. For example: mklv -y hd6 -t paging -a m -b n rootvg 8 NOTE: Paging space must be at least 16 MB, so the number of partitions must be at least four. c. Make bosboot diskettes from the system. 2. On the system that you are restoring: a. Boot the system with the bosboot diskettes made on the other system. b. Insert the mksysb tape and select the "Install from smit backup" option. 3. When the mksysb restoration is complete, copy /usr/lpp/bosinst/bosrvg.original from the machine on which the bosboot diskettes were made to the machine that was restored. You can do this by first copying the file to a diskette and then copying it from the diskette to the restored system. 4. Then on BOTH systems, restore the original bosrvg file with: cp /usr/lpp/bosinst/bosrvg.original /usr/lpp/bosinst/bosrvg METHOD 2 Another option for reducing the paging space created is to temporarily remove some of the memory cards in the system. This will cause mksysb to calculate a smaller amount of paging space because it will detect less memory in the system. Put the memory cards back in the system after the mksysb install is complete. Paging Space Problems with Mksysb Restoration 2 12/02/94 READER'S COMMENTS Please fax this form to (512) 823-4009, attention "AIXServ Informa- tion". You may also e-mail comments to: elizabet@austin.ibm.com. These comments should include the same customer information requested below. Use this form to tell us what you think about this document. If you have found errors in it, or if you want to express your opinion about it (such as organization, subject matter, appearance) or make sug- gestions for improvement, this is the form to use. If you need technical assistance, contact your local branch office, point of sale, or 1-800-CALL-AIX (for information about support offer- ings). These services may be billable. Faxes on a variety of sub- jects may be ordered free of charge from 1-800-IBM-4FAX. Outside the U.S. call 415-855-4329 using a fax machine phone. When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any way it believes appropriate without incurring any obligation to you. NOTE: If you have a problem report or item number, supplying that number may help us determine why a procedure did or did not work in your specific situation. Problem Report or Item #: Branch Office or Customer #: Be sure to print your name and fax number below if you would like a reply: Name: Fax Number: ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ END OF DOCUMENT (mksysb.paging.space.bak, 4FAX# 1456) Paging Space Problems with Mksysb Restoration 3