Operation Manual

2.2.2 LVM Conguration with YaST
The YaST LVM conguration can be reached from the YaST Expert Partitioner (see
Section 2.1, “Using the YaST Partitioner” (page 39)) within the Volume Management
item in the System View pane. The Expert Partitioner allows you to edit and delete ex-
isting partitions and also create new ones that need to be used with LVM. The rst task
is to create PVs that provide space to a volume group:
1
Select a hard disk from Hard Disks.
2
Change to the Partitions tab.
3
Click Add and enter the desired size of the PV on this disk.
4
Use Do not format partition and change the File System ID to 0x8E Linux LVM.
Do not mount this partition.
5
Repeat this procedure until you have dened all the desired physical volumes
on the available disks.
Creating Volume Groups
If no volume group exists on your system, you must add one (see Figure 2.3, “Creating
a Volume Group” (page 51)). It is possible to create additional groups by clicking on
Volume Management in the System View pane, and then on Add Volume Group. One
single volume group is usually sufcient.
1
Enter a name for the VG, e.g. system.
2
Select the desired Physical Extend Size. This value denes the size of a physical
block in the volume group. All the disk space in a volume group is handled in
blocks of this size.
TIP: Logical Volumes and Block Sizes
The possible size of an LV depends on the block size used in the volume
group. The default is 4 MB and allows for a maximum size of 256 GB for
physical and LVs. The physical size should be increased, for example, to
8, 16, or 32 MB, if you need LVs larger than 256 GB.
50 Reference