My Oracle Support Banner

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]
Linux x86-64

Symptoms

NOTE: In the examples that follow, user details, cluster names, hostnames, directory paths, filenames, etc. represent a fictitious sample (and are used to provide an illustrative example only). Any similarity to actual persons, or entities, living or dead, is purely coincidental and not intended in any manner.

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:

ERROR: Some syntax errors were found in file /usbdisk/etc/grub2.cfg
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.

Cause

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
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.