Conflicting Data on Storage Added to Oracle Database Security Central
Learn how to remove existing conflicting data from storage before adding it to Oracle Database Security Central.
Problem
The preexisting file system, Logical Volume Manager (LVM), or device mapper metadata may conflict with Oracle DBSecCentral functionality. This may result in patch, upgrade, or installation failure.
Symptoms
The symptoms of any preexisting LVM or other device mapper metadata include, but are not limited to, the following:
-
Two
vg_rootvolume groups. -
Hard drive devices that become unavailable during patching, upgrade, or installation. This may lead to input or output errors and eventually result in patch, upgrade, or installation failure.
Solution
Caution: This will erase data from the drive.
-
Download the latest Oracle Linux 8 ISO image from Oracle Linux Downloads.
-
Boot into rescue mode.
-
Load the Oracle Linux 8 ISO onto your appliance and boot.
The installation menu displays the following options:
Install Oracle Linux 8.x.x Test this media & install Oracle Linux 8.x.x Troubleshooting -
Press the Down Arrow to select Troubleshooting, and press Enter.
The troubleshooting menu displays the following options:
Install Oracle Linux 8.x.x in basic graphics mode Rescue a Oracle Linux system -
Press the Down Arrow to select Rescue a Oracle Linux system, and press Enter.
The rescue menu displays the following options:
1) Continue 2) Read-only mount 3) Skip to shell 4) Quit (Reboot) -
Type 3 (Skip to shell), and press Enter.
-
Press Enter again to open the shell prompt.
-
-
To discover the attached storage, enter the
lsblkcommand at the shell prompt.For example:
sh-4.4# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 745.4M 1 loop loop1 7:1 0 4G 1 loop |-live-rw 253:0 0 4G 0 dm / `-live-base 253:1 0 4G 1 dm loop2 7:2 0 32G 0 loop `-live-rw 253:0 0 4G 0 dm / sda 8:0 0 256G 0 disk `-sda1 8:1 0 256G 0 part sr0 11:0 1 11.2G 0 rom /run/install/repo sr1 11:1 1 1024M 0 rom -
To wipe the drive, enter the
wipefscommand at the shell prompt.Enter
wipefs --helpto see a complete list of options.For example, to wipe the
/dev/sdadrive, enter the following command:sh-4.4# wipefs --all /dev/sdaThe command output lists the changes. For example:
/dev/sda: 2 bytes were erased at offset 0x000001fe (dos): 55 aa /dev/sda: calling ioctl to re-read partition table: Success -
To safely power off, enter the
synccommand at the shell prompt, followed bypoweroff.sh-4.4# sync sh-4.4# poweroff -
After you wipe the drive, eject the ISO and restart the installation.