Direkt zum Hauptinhalt

Ändern der Swap Größe

 

# create the logical volume
$ sudo lvcreate -L 8G -n swap local-lvm
# format the volume as swap
$ sudo mkswap /dev/local-lvm/swap
# add a line to fstab to mount at boot
$ echo '/dev/local-lvm/swap swap swap defaults 0 0' | sudo tee -a /etc/fstab
# turn on swap right now
$ sudo swapon -v /dev/local-lvm/swap