Adding 1 swap partition on 3 physical disks (not ZFS) | PVE 6.2-12

wepicurien

Member
Oct 2, 2020
4
0
6
31
Hello,
I just installed PVE 6.2-12 on an OVH dedicated server with 3*NVMe SSD.
I choose to install PVE on a ZFS RAIDZ (raid5) of 100 Go. I want now to add a swap partition. After that I will add one new partition for data with a new ZFS pool.
Nevertheless, I now would like to add 1 swap partition on the 3 physical disks (3*4G). I don't want to add it on ZFS because it is not recommended on PVE Wiki, it causes some troubles.
I really don't know how to do it on PVE with SSH. I didn't find a precise answer to this question on other threads, only creating swap on ZFS.
Thank you so much for your help! :)
Romain.
 
Last edited:
Hi,

there is no easy way to create a swap partition on this dev where ZFS is located.
Also, it is not recommended to do so.
In the past swap has made many problems with ZFS on the same disk.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!