5.1.1.3 Removing Existing Partitions

If required, remove the existing partition on /dev/sdb which is mounted to /u01 from the Exalytics Machine. You cannot create a repository on a Oracle Virtual Machine disk which contains a partition.

Note:

Before removing the existing partition, remember to back up all data on sdb1. If you are removing the existing partition on a new machine, you do not need to back up your data.

To remove existing partitions:

  1. Log in as the root user, and enter the following command to run the disk partition utility:

    # parted /dev/sdb

    The output should look similar to the following:

    GNU Parted 1.8.1
    Using /dev/sdb
    Welcome to GNU Parted! Type 'help' to view a list of commands.
    
  2. To display the existing partition, enter the following command:

    # print

  3. To remove the existing partition, enter the following command:

    # rm 1

  4. To confirm that the existing partition has been removed, enter the following command:

    # print

    The existing partition is removed.