Additional SWAP disk partition is not mouting automatically on boot.
(Doc ID 2499082.1)
Last updated on FEBRUARY 08, 2021
Applies to:Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.
In a Oracle Linux(6 or 7) instance in OCI the second disk SWAP partition is not mouting automatically after system rebooting. The second disk is attached to the instance. All the necessary steps to make the SWAP partition are executed. Configure the /etc/fstab using the UUID for the mount. Manual mount of new SWAP will work normally.
But on reboot will not mount automatically.
This behavior also happens with OL same Linux family Operating systems like CentOS.
Attach the new disk volume(/dev/sde) to the instance. Make a new partition(/dev/sde1) and format it for SWAP with the mkswap command.
The /etc/fstab needs a need mount like similar to:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document