After OL6 to OL7 Upgrade bdachecksw/bdacheckcluster report "ERROR: Some syntax errors were found in file /usbdisk/etc/grub2.cfg"
(Doc ID 2761303.1)
Last updated on APRIL 17, 2023
Applies to:Big Data Appliance Integrated Software - Version 4.12.0 to 5.1.0 [Release 4.10 to 5.0]
After upgrading from OL6 to OL7 following the "10.8 Migrating from Oracle Linux 6 to Oracle Linux 7" documentation, bdachechsw or bdacheckcluster report the error below, for one or more nodes:
INFO: Run 'grub2-script-check /usbdisk/etc/grub2.cfg' to get more details of the errors
Another symptom can be observed on X6 and lower servers which have been migrated from OL6 to OL7 when following, How To Upgrade a Kernel on BDA V4.2 and Higher/V4.1 (Doc ID 2033797.1), to upgrade the kernel. In this case /usbdisk is found to be 100% full.
Additional symptoms are:
1. Although /usbdisk/boot/grub2/grub.cfg does exist, the folder /usbdisk/etc does not exist.
2. Although /usbdisk/boot/grub2/grub.cfg does exist and the folder /usbdisk/etc does exist, a symbolic link from /usbdisk/etc/grub2.cfg to /usbdisk/boot/grub2/grub.cfg does not exist.
The expected link does not exist.
5. If /usbdisk is 100% full or very close to full, then it may be that /usbdisk/u01 is unexpectedly using up a lot of disk space. The disk space usage is due to te presence of files that were not placed there manually.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document