IBM Support

QRadar: Error "Second disk contains existing partitions" at step 14 of the setup script in Oracle Cloud

Troubleshooting


Problem

The following partition error shows when the step 14 of the documentation Configuring a Console in Oracle Cloud is executed:
ERROR: Second disk contains existing partitions. 
Attach a second disk with no existing partitions and try again.

Cause

This error seems to be caused by Oracle building partition labels before the QRadar script creates the appropriate QRadar partitions, resulting in an error.

Environment

All versions of QRadar that are deployed in Oracle Cloud.

Resolving The Problem

Note: This solution is intended for the error Second disk contains existing partitions when the command sudo /root/setup_console is used, but it also can be applied for the same error with the setup_mh script, for example sudo /root/setup_mh 1599.
  1. SSH to the affected host.
  2. Run the following five commands:
    parted /dev/sdb
    
    print
    
    rm 1
    
    quit
    
    systemctl daemon-reload
  3. Run again the sudo /root/setup_console command to complete the setup script.

    Result
    The administrator can run the setup script without any error.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSBQAC","label":"IBM Security QRadar SIEM"},"ARM Category":[{"code":"a8m0z000000cwtNAAQ","label":"Deployment"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions"}]

Document Information

Modified date:
03 November 2023

UID

ibm17053190