From the course: Linux System Engineer: Advanced Disk Systems and System Backup

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create additional swap partitions

Create additional swap partitions

From the course: Linux System Engineer: Advanced Disk Systems and System Backup

Start my 1-month free trial

Create additional swap partitions

- [Narrator] If you're working on a very large, memory-intensive project and you need additional swap space, it's easy to expand. You can turn Linux swap memory on and off while the system's running. You can also add swap space to it in the form of a partition, logical volume or even a Windows style swap file. A swap partition is usually better than a file as it's faster. With a swap file, the operating system has to go through the file system on the disk to access it. With a partition, its formatted as raw swap. We'll talk about how to create both in this chapter. You can have up to 32 swap devices in Linux. Let's unmount our volume and partition from last chapter. In a terminal, type in "sudo space umount space "slash dev slash ssmpool "slash ssmvol" and hit enter. Type in your password as prompted. Also type in "sudo space umount space slash dev slash "sdd1" and hit enter. Whenever you delete a drive or partition you should check the FS tab for an entry for it. If there is an…

Contents