How to Configure Swap Partition in Redhat 7

Published: 20 July 2018
on channel: Socrates Bharathi
386
18

This tool is very useful in terms of creating space for swap partitions.

   • How to Configure Swap Partition in Re...  


Steps to create swap partition:

fdisk -l
fdisk /dev/vda
:n
laste sector +100M
:t
hex code :82
:p
:w
#partprobe
#mkswap /dev/vda2
#swapon /dev/va2
#vim /etc/fstab
/dev/vda2 swap swap defaults 0 0
:wq!
#mount -a
free -h


Watch video How to Configure Swap Partition in Redhat 7 online, duration hours minute second in high quality that is uploaded to the channel Socrates Bharathi 20 July 2018. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 386 times and liked it 18 visitors.