Help Center/
SAP Cloud/
Best Practices/
HUAWEI CLOUD SAP Business One on HANA Installation Best Practice/
Preparing for the Installation/
Creating a SWAP Partition
Updated on 2023-05-29 GMT+08:00
Creating a SWAP Partition
- Use partitions/disks as the swap partition.
Run the following command to configure the swap partition.
mkswap /dev/vdg
- Run the following command to enable the swap partition.
swapon /dev/vdg
- Write the following information to /etc/fstab.
echo "UUID=43a73**********d1f433 swap swap defaults 0 0" >> /etc/fstab
- Run the following command to check the size of the current memory and swap space. The default unit is KB, and the unit of -m is MB
free -m
- Run the following command to check swap information, including detailed information about files and partitions.
swapon -s
Parent topic: Preparing for the Installation
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot