This document covers the use of fsck (file-system check) in maintenance mode to repair inconsistencies in file systems. This document applies to AIX V4.
Follow the screen prompts to the following menu:
Welcome to Base Operating System Installation and Maintenance
The next screen displays the Maintenance menu.
The next screen displays a warning that indicates you will not be able to return to Base OS menu without rebooting.
The next screen displays information about all volume groups on the system.
If you get errors from the preceding option, 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:
If no errors occur, proceed with the following steps.
fsck -y /dev/hd1 fsck -y /dev/hd2 fsck -y /dev/hd3 fsck -y /dev/hd4 fsck -y /dev/hd9var
/usr/sbin/logform /dev/hd8
Answer yes when asked if you want to destroy the log.
varyonvg VGname fsck -y /dev/LVname
LVname is the name of your user-defined logical volume. The preceding commands can be repeated for each user-defined volume group on the system.
sync;sync;sync;reboot