Larger than expected swap space

Needing to eliminate redundant files on my hard disk in order to reclaim some storage space, I ran BleachBit and was surprised to receive the warning message “swap device /dev/sda6 is larger than expected”.

Sure enough, running the command sudo fdisk -l showed that the swap space (sda6) was taking up 134 GB! This was easily rectified by running Gparted and resizing the sda6 partition to something more reasonable.

However, I have no idea how the swap space became so large. It appears that, somehow, the swap area had grabbed what used to be unallocated space at the end of the drive. For now, this goes into the strange-but-true file!

References:

BleachBit
http://bleachbit.sourceforge.net/

All about Linux swap space
https://www.linux.com/news/software/applications/8208-all-about-linux-swap-space

GNOME Partition Editor
http://gparted.org/

Advertisements
This entry was posted in Commands and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s