Check the hard drive / partition integrity if you see an error that indicates any of the following:
- Possible corruption of data on the hard drive
- Failure of the hard drive / partition (e.g., message "
UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY"),
- The partition's becoming read-only (check with "
cat /proc/mounts" command)
Note: During the boot process, you will see a screen with the following message:
Press any key to see the boot menu [Booting in 5 seconds]
Be ready to hit a key! Otherwise, the system will require a full boot-up and another reboot.
To check the integrity of a hard drive in the Gaia/SecurePlatform OS:
- Connect to the machine over console (serial).
- Reboot the machine.
- Press a key on the "
Press any key to see the boot menu" screen. This should open the Check Point Boot Menu.
- Choose the
"Start in maintenance mode".
- Enter the Expert mode credentials.
- Unmount the file system:
# umount -a
- Run the relevant 'fsck' commands:
- Check, update bad block list, but do NOT repair:
# fsck -f -n -c -v
- Repair automatically:
# fsck -f -p -C -v
Note: If inconsistencies are detected, '
fsck' may require the user to remove the '-p' flag from the syntax. In such a case, use the 'fsck -f -y' command instead to assume 'yes' to all questions.
# fsck -f -C -v -y
8. Synchronize data on disk with memory and reboot the machine:
# sync ; sync ; reboot