Operation Manual

Note that at this point, it is only temporary swap space. After the next reboot, it
is no longer utilized.
5
To enable this swap le permanently, add the following line to /etc/fstab:
/var/lib/swap/swapfile swap swap defaults 0 0
2.1.7 Partitioning and LVM
From the Expert partitioner, access the LVM conguration by clicking the Volume
Management item in the System View pane. However, if a working LVM conguration
already exists on your system, it is automatically activated upon entering the initial
LVM conguration of a session. In this case, all disks containing a partition (belonging
to an activated volume group) cannot be repartitioned. The Linux kernel cannot reread
the modied partition table of a hard disk when any partition on this disk is in use.
However, if you already have a working LVM conguration on your system, physical
repartitioning should not be necessary. Instead, change the conguration of the logical
volumes.
At the beginning of the physical volumes (PVs), information about the volume is written
to the partition. To reuse such a partition for other non-LVM purposes, it is advisable
to delete the beginning of this volume. For example, in the VG system and PV /dev/
sda2, do this with the command dd if=/dev/zero of=/dev/sda2 bs=512
count=1.
WARNING: File System for Booting
The le system used for booting (the root le system or /boot) must not be
stored on an LVM logical volume. Instead, store it on a normal physical partition.
For more details about LVM, see the Storage Administration Guide.
2.2 LVM Conguration
This section briey describes the principles behind the Logical Volume Manager (LVM)
and its multipurpose features. In Section 2.2.2, “LVM Conguration with YaST”
(page 50), learn how to set up LVM with YaST.
Advanced Disk Setup 47