01/24/95 LED 518 or Failed mksysb After Preservation Install 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. | | | +----------------------------------------------------------+ WARNING: Please do not use this document if the system is a /usr client, diskless client, or dataless client. CAUSES OF LED 518 OR FAILED MKSYSB AFTER PRESERVATION INSTALL When a preservation installation from AIX 3.1 to AIX 3.2 is followed by "BOS Installation Completion Tasks," some stanzas (sections) from the old /etc/filesystems file are copied over corresponding stanzas in the new file. Because of differences between AIX 3.1 and 3.2, some variables are not set correctly, and /dev/hd1 may be mapped to /u instead of /home. There are two symptoms of this problem: o After the user rebuilds the boot image ("bosboot -a") and reboots, an LED 518 occurs. NOTES: 1. This /etc/filesystems problem occurs whether the system is installed from tape, over a network, or from a /usr server. 2. This problem does not occur with the "Upgrade Utili- ties" package. 3. APAR IX26523 addresses this problem. o When the user creates a system image with mksysb and then tries to reinstall from that image, the reinstall fails. LED 518 or Failed mksysb After Preservation Install 1 01/24/95 SUMMARY OF THE RECOVERY PROCEDURE If the symptom is a failed reinstall, try reformatting and recertifying the disks and then reinstalling. If the symptom is LED 518, in the file /etc/filesystems, append "type=bootfs" to the /, /usr, and /var stanzas. Make sure /dev/hd1 is mapped to /home in /etc/filesystems. Then recreate the boot device. STEPS WARNING: Please do not use this document if the system is a /usr client, diskless client, or dataless client. 1. If the symptom is a failed reinstall, try reformatting and recertifying the disks and then reinstalling. Do not continue with these steps. If the symptom is LED 518, start with step 2. 2. Turn the key to the Service position. 3. With bootable media OF THE SAME VERSION AND LEVEL AS THE OPERATING SYSTEM, boot the system. +----------------------------------------------------------+ | | | WARNING: If you boot a 3.2 system with 3.1 media, or | | boot a 3.1 system with 3.2 media, then you will not be | | able to use the standard scripts (getrootfs or | | /etc/continue) to bring your workstation into full main- | | tenance mode. | | | | Moreover, performing the scripts on a 3.1 system with | | 3.2 boot media may actually remove some files and | | prevent your system from booting successfully in normal | | mode until missing files (/etc/mount and /etc/umount) | | are replaced on the disk. | | | +----------------------------------------------------------+ NOTES: a. For information on BOSboot diskettes, refer to InfoExplorer or order fax #2462 from 1-800-IBM-4FAX (or 415-855-4FAX outside the U.S. from a fax machine phone). b. If booting from diskettes, when you see LED c07, insert the next diskette. This may be the optional display extensions diskette (required for AIX 3.2.5) or the display diskette. c. If you have AIX 3.2.5, used a fddi network install, and selected that option for the install device, you will need the communications extensions diskette. If this diskette is not available, you can build it from another system with fddi installed or call your branch office for assistance. LED 518 or Failed mksysb After Preservation Install 2 01/24/95 Follow the prompts to the installation/maintenance menu. 4. Choose the maintenance shell (option 4). 5. Determine the hdisk# to use with the getrootfs command. If you have only one disk, then "hdisk0" is the proper hdisk# to use. If you have more than one disk, do the following: o FOR AIX 3.2.4 OR LATER: Run getrootfs The output indicates the disk that should be used with getrootfs in the next step. o FOR AIX 3.2 TO 3.2.3E: Run lqueryvg -Atp hdisk# | grep hd5 for each hdisk# (hdisk0, hdisk1, etc.) until you get output that looks like: 00005264feb3631c.2 hd5 1 The exact output you get will be different but will follow the form large_number.x hd5 1 You may find more than one disk has this output. These will all be disks which belong to the rootvg volume group. You may use any of the disks identi- fied to be in rootvg in the following step. 6. Now access the rootvg volume group by running the fol- lowing command. ('#" is the number of the fixed disk, determined in 5). getrootfs hdisk# If you get errors from /etc/continue or getrootfs, do not continue with the rest of this procedure. Correct the problem causing the error. If you need assistance correcting the problem causing the error, contact one of the following: o local branch office o your point of sale o 1-800-CALL-AIX (to register for fee-based services) All of the above avenues for assistance may be billable. 7. For AIX 3.2.4 or greater, enter the following command: ODMDIR=/dev/objrepos LED 518 or Failed mksysb After Preservation Install 3 01/24/95 8. Change to the /etc directory. cd /etc 9. Set your terminal type in preparation for editing a file. (xxx is a terminal type, such as hft, ibm3151, or vt100.) TERM=xxx export TERM 10. Edit the file /etc/filesystems. In stanzas /, /usr, and /var, append "type = bootfs". Also, make sure /dev/hd1 is mapped to /home and not to /u. (For an example, see "Example of /etc/filesystems for AIX 3.2" on page 5.) 11. Determine which disk is the boot disk with the lslv command. The boot disk will be shown in the PV1 column of the lslv output. AT THIS POINT, IT IS VERY IMPORTANT TO DETERMINE THE CORRECT BOOT DISK. lslv -m hd5 WARNING: Please do not proceed further if the system is a /usr client, diskless client, or dataless client. 12. Now, recreate the boot image. ('#' is the number of the fixed disk determined in step ¤518LSLV‡.) bosboot -a -d /dev/hdisk# -l /dev/hd5 -u 13. Switch the key to normal and shutdown the system. shutdown -Fr 14. We recommend that you create a new full-system backup because previous ones may be bad. To display the System Startup Menu, from which you can create a full-system backup, type "smit startup". LED 518 or Failed mksysb After Preservation Install 4 Example of /etc/filesystems for AIX 3.2 The following is an example of the /, /usr, /var, and /home stanzas of the /etc/filesystems file. /: dev = /dev/hd4 vfs = jfs log = /dev/hd8 moun= automatic chec= false type= bootfs vol = root free= true /usr: dev = /dev/hd2 vfs = jfs log = /dev/hd8 moun= automatic chec= false type= bootfs vol = /usr free= false /var: dev = /dev/hd9var vfs = jfs log = /dev/hd8 moun= automatic chec= false type= bootfs vol = /var free= false /home: dev = /dev/hd1 vfs = jfs log = /dev/hd8 moun= true chec= true vol = /home free= false Example of /etc/filesystems for AIX 3.2 5 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 (preserv.518.krn, 4FAX# 1453) Example of /etc/filesystems for AIX 3.2 6