Storage Partitioning Considerations and Prerequisites

Consider the following information when partitioning storage space on host disk devices.

  • Oracle Linux, at installation, provides a default disk partition layout. When the default partition layout is selected, the installer typically assigns 100 MB for /boot, 2 GB for swap, and the remainder is assigned to the root (/) partition.

  • Oracle Linux requires a minimum of one partition for the root (/) file system.

  • For hard disks with a Master Boot Record (MBR), the partitioning scheme permits up to 4 primary partitions. In turn, a primary partition can further be divided up to 11 logical partitions. The primary partition that contains the logical partitions is known as an extended partition. The MBR scheme functions for disks up to 2 TB in size.

  • For hard disks with a GUID Partition Table (GPT), you can configure up to 128 partitions. The GPT partition scheme doesn't use the concept of extended or logical partitions. If the disk's size is larger than 2 TB, you can use GPT to configure the device partitions.

  • When partitioning most block storage devices (for example: hard disk drives, solid state drives (SSD), LUNs on storage arrays and host RAID adapters), align primary and logical partitions on one-megabyte (1048576 bytes) boundaries. If partitions, file system blocks, or RAID stripes are incorrectly aligned and overlap the boundaries of the underlying storage's sectors or pages, the device controller must change twice as many sectors or pages than when the correct alignment is used.

  • Prerequisites:
    • Backup data on the disk device that you don't want to lose.

      Note:

      If the device is empty, Cockpit describes the content of the storage device as unknown
    • Disk devices in which you want to configure partitions must be:
      • Unmounted. For more information about unmounting a partition, see Unmount or mount a disk partition in View and Change Drive Partition Properties.
      • Visible to Cockpit and selectable in the applicable storage type table (Drives, Devices, or Other Devices).
    • Disk devices must have enough free space to support creating a new partition.

For more information about partitioning Oracle Linux storage devices, see Using Disk Partitions in Oracle Linux 8: Managing Storage Devices or Oracle Linux 9: Managing Storage Devices.