31.6 Adding Space to a Fedora 31 LVM Swap Volume
By default, Fedora 31 configures swap space using Logical Volume Management (LVM). An alternative to adding swap via file or disk partition, therefore, is to extend the logical volume used for the swap space.
The first step is to identify the current amount of swap available and the volume group and logical volume used for the swap space using the lvdisplay utility (for more information on LVM, refer to the chapter entitled “Adding a New Disk to a Fedora 31 Volume Group and Logical Volume”):
# lvdisplay
--- Logical volume ---
LV Path /dev/fedora/swap
LV Name swap
VG Name fedora
LV UUID nJPip0-Q6dx-Mfe3-4Aao-gWAa-swDk-7ZiPdP
LV Write Access read/write
LV Creation host, time demoserver, 2020-01-13 13:16:18 -0500
LV Status ...