Create Physical Disk Partitions
Cockpit administrators can use the Storage page to partition storage regions of a new or an existing physical disk device (for example, hard drive, solid state drive, RAID device, a disk device that's part of an existing volume group, and so on).
Creating a disk partition involves:
- Creating a new partition table – The Initialize Drive dialog in Cockpit defines the partitioning format and erases all existing data on the drive. The newly created partition table tracks the size and location of each partition on the drive.
- Creating a new partition - The Create New Partition dialog in Cockpit enables you to define the partition size, file system type, and properties for mounting and encrypting a partition. Free space must be available on the drive to perform this operation.
What Do You Need?
- The Cockpit web console must be installed and accessible.
For details, see these topics: Install and Enable Cockpit and Log in to the Cockpit Web Console.
- The
cockpit-storaged
application package must be installed. - Review Storage Partitioning Considerations and Prerequisites prior to performing the steps in this procedure.
- Administrator privileges.
Steps
Using the Cockpit web console, follow these steps to create disk partitions on a host disk device.
- In Cockpit navigation pane, click Storage. The Storage page appears.
- In the Storage page, perform one of the following:
- To partition a new disk device, select the device from the Devices table. The Storage [device name] page appears. Proceed to Step 3.
- To repartition an existing disk, select the device from the Drives table. The Storage [device name] page appears. Proceed to Step 3.
- To add a new partition to disk device and using existing partition table, select the device from the Drives table. The Storage [device name] page appears. Proceed to Step 4.
- In the Storage [device name] page, perform the following: