8.13. Creating a New Volume Group

Assuming you have at least one partition free for use by LVM, setting up a new volume group is easy. The process to follow is:

1.
In the Partitions on Local disks module, change the types of any partitions that you want to include in the volume group to Linux LVM. Trying to use partitions of any other type will fail.

2.
Back in the Logical Volume Manager module, click on the Add a new volume group link, which will take you to the volume group creation form.

3.
Enter a name for your new volume group in the Volume group name field. This should be short and contain no spaces, like data_vg.

4.
Select the initial partition to be included in your volume group with the Initial physical device field. Only partitions or RAID devices that Webmin determines are not in use will appear in the list. You also specify a partition by device file name by selecting the Other option and entering the file name into the field next to it.

If Other is the only option available, Webmin has not detected any partitions free for use by LVM.

Be aware that any data on the partition or device that you select will be lost forever, even if the volume group is not actually used.

5.
Click the Create button. If all goes well, you will be returned to the main page of the module and your volume group with its initial physical volume will be displayed.

6.
To add more physical volumes to your new volume group, see Section 8.14 “Adding and Removing a Physical Volume”.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.14.247.5