Changes

Jump to: navigation, search

Adding and Managing CentOS Swap Space

18 bytes added, 19:35, 9 August 2010
Adding Swap to a CentOS LVM Swap Volume
By default, CentOS configures swap space using Logical Volume Management (LVM). An alternative to adding swap via file, therefore, is to extend the logical volume used for the swap.
The first step is to identify the current amount of swap available and the volume group and logical volume used for the swap space (for more information on LVM, refer to the chapter entitled [[Adding a New Disk Drive to a CentOS SystemVolume Group and Logical Volume]]):
<pre>
/dev/mapper/VolGroup00-LogVol01 partition 3014648 0 -2
</pre>
 
== Adding Swap Space to a CentOS Volume Group ==

Navigation menu