Skip to main content
vraev
Staff
Staff
Apr 10, 2026 4:51 PM UTC

Technical Tip: Adding an additional SWAP disk

Description

 

This article describes how to add an additional SWAP disk.

 

Scope

 

FortiSIEM.

 

Solution

 

Add a new HDD of 20 to 30 GB from the Hypervisor.

 

Under FortiSIEM:

 

lsblk # to review the available disks.  fdsik /dev/vdX (or sdX - the newly added device) n # to create a new partition  Utilize the whole space of the new drive. As a type choose: 82 Linux swap  w # to write the changes

 

mkswap /dev/vdX # to create the new swap disk swapon /dev/vdX

 

To make it permanent.

 

blkid # to find the UUID simmilar to the example below  /dev/mapper/rl-swap: UUID="b4486d6e-a991-4575-9373-cc7c9c8a9c3b" TYPE="swap"  echo "UUID=b4486d6e-a991-4575-9373-cc7c9c8a9c3b swap swap defaults 0 0" >> /etc/fstab
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT