How do you remove a swap space?
- To remove unneeded swap space, become a super or root user.
- Remove the swap space
# /usr/sbin/swap –d /path/filenames
- Edit the /etc/vfstab file and delete the entries from swap file
- Retain the disk space so that we can use it
#rm /path/filename
- Verify if the swap file is available or not.
#swap –l.
Post a Comment