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:

Solution

Caution: This will erase data from the drive.

  1. Download the latest Oracle Linux 8 ISO image from Oracle Linux Downloads.

  2. Boot into rescue mode.

    1. 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
    2. 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
    3. 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)
    4. Type 3 (Skip to shell), and press Enter.

    5. Press Enter again to open the shell prompt.

  3. To discover the attached storage, enter the lsblk command 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
  4. To wipe the drive, enter the wipefs command at the shell prompt.

    Enter wipefs --help to see a complete list of options.

    For example, to wipe the /dev/sda drive, enter the following command:

    sh-4.4# wipefs --all /dev/sda

    The 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
  5. To safely power off, enter the sync command at the shell prompt, followed by poweroff.

    sh-4.4# sync
    sh-4.4# poweroff
  6. After you wipe the drive, eject the ISO and restart the installation.