Add New Drive to a Volume Group
Using the Storage page in the web console, Cockpit administrators can add a new drive to a volume group.
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 -
Unmounted and unpartitioned new disk drive attached to the host system. For instructions on how to partition a new disk or a disk with partitions", see Create Physical Disk Partitions.
- An established volume group on the host system. For details on how to add a volume group, see Create a Volume Group
- Administrator privileges.
Steps
Using the Cockpit web console, follow these steps to add a new drive to an established volume group.
- In the Storage page, find the Devices
table and select the volume group in which you want to add a new drive.
The LVM2 group [name] page appears.
- In the LVM2 group [name] page, navigate to the Physical volumes table.
- In the Physical volumes table, click the plus
[+] sign icon.
The Add Disks dialog appears.
- In the Add Disks dialog, perform the following:
- In the Disks drop-down list box, select the check boxes for
the disk that you want to add.
Note:
If LVM doesn't detect an unformatted drive attached to the host system, a message "No disks are available" appears. - Click Add.
LVM adds the selected drives to the volume group and the space on the new drive is ready to be allocated to a logical volume within that volume. For example, in the that volume group, you can choose to increase the size of an existing logical volume (see, Resize Logical Volumes ) or allocate the space to a new logical volume (see, Create a Logical Volume).
- In the Disks drop-down list box, select the check boxes for
the disk that you want to add.