Questo contenuto non è disponibile nella lingua selezionata.
14.2.2. Adding Unallocated Volumes to a Volume Group
Once initialized, a volume will be listed in the 'Unallocated Volumes' list. The figure below illustrates an unallocated partition (Partition 3). The respective buttons at the bottom of the window allow you to:
To add the volume to an existing volume group, click on the button.
- create a new volume group,
- add the unallocated volume to an existing volume group,
- remove the volume from LVM.
![Unallocated Volumes](https://access.redhat.com/webassets/avalon/d/Red_Hat_Enterprise_Linux-6-Storage_Administration_Guide-en-US/images/2c0a798f84bcc837235a3150f2039b74/lvm-main13.png)
Figure 14.7. Unallocated Volumes
Clicking on the
button will display a pop-up window listing the existing volume groups to which you can add the physical volume you are about to initialize. A volume group may span across one or more hard disks.
Example 14.3. Add a physical volume to volume group
In this example only one volume group exists as illustrated below.
![](https://access.redhat.com/webassets/avalon/d/Red_Hat_Enterprise_Linux-6-Storage_Administration_Guide-en-US/images/d84b6bb2ea691a457095be34913ac356/lvm-main14.png)
Once added to an existing volume group the new logical volume is automatically added to the unused space of the selected volume group. You can use the unused space to:
The figure below illustrates the logical view of 'VolGroup00' after adding the new volume group.
- create a new logical volume (click on thebutton),
- select one of the existing logical volumes and increase the extents (see Section 14.2.6, “Extending a Volume Group”),
- select an existing logical volume and remove it from the volume group by clicking on thebutton. You cannot select unused space to perform this operation.
![Logical view of volume group](https://access.redhat.com/webassets/avalon/d/Red_Hat_Enterprise_Linux-6-Storage_Administration_Guide-en-US/images/695964633543c79b5570eb4d8ebeb5a9/lvm-main15.png)
Figure 14.8. Logical view of volume group
In the figure below, the uninitialized entities (partitions 3, 5, 6 and 7) were added to 'VolGroup00'.
![Logical view of volume group](https://access.redhat.com/webassets/avalon/d/Red_Hat_Enterprise_Linux-6-Storage_Administration_Guide-en-US/images/582ff741dc8b0a909dced181c2f2e4dc/lvm-main21.png)
Figure 14.9. Logical view of volume group