Create a Volume Group
Using the Storage page, Cockpit administrators can create a volume group from one or more physical storage devices (hard drive, solid state drive, disk partition, raid device, and so on).
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
package must be installed.Note:
If thecockpit-storaged
package isn't installed, see this section Install and Manage Add-on Applications -
Unused block devices in which you want to add to a volume group. Unused block devices are unformatted and unmounted storage devices.
- Administrator privileges.
Steps
Using the Cockpit web console, follow these steps to create a volume group.
- In the Storage page, find the three-line menu icon in the
Devices table and select Create LVM2 volume
group.
The Create LVM2 volume group dialog appears.
- In the Create LVM2 Volume Group dialog, specify the following
properties and then click Create.
Name Enter a volume group name. For example, vg1, vg2, or provide a name that identifies the purpose of the volume group. For example, if you're creating the volume group to configure "thin" logical volumes, you might want to use a volume name such as Thin Volume Group.
The LVM group name is limited to 128 characters.
Disks In the Disks drop down list box, select the drives you want to include in the volume group. Note:
A message "No disks available" appears when the host system doesn't have an unallocated storage device (such as a partition with no file system) to add.The name of the new volume group appears in the Devices table on the Storage page. You can click the New volume group to create logical volumes. For details, see Create a Logical Volume.