OPNsense Forum

English Forums => General Discussion => Topic started by: Hannah998877 on July 07, 2022, 03:23:45 PM

Title: How to move SWAP to another drive?
Post by: Hannah998877 on July 07, 2022, 03:23:45 PM
hello,
เว็บแทงบาคาร่าสด (https://www.ufa800.info/%E0%B8%9A%E0%B8%B2%E0%B8%84%E0%B8%B2%E0%B8%A3%E0%B9%88%E0%B8%B2/)
This might not be very relevant to OPNsense, but I would like some advice on moving the SWAP to a new partition/disk. I'm running an OPNsense VM on Proxmox with an SSD, I want to move a SWAP partition to another HDD, is that possible?

thanks in advance,

regards,
Bobby Thomas
Title: Re: How to move SWAP to another drive?
Post by: cookiemonster on July 07, 2022, 10:46:46 PM
Maybe you can add a disk, add a partition to it, format it for swap and add it to fstab of your VM.
The trouble might be passing through a partition instead of a whole disk. I haven't tried. My OPN is on bare metal.

I would try by attaching the disk to the node, seeing with lsblk that is there followed by making the swap partition. Then  play with adding to the VM with a manual update of the VM config to give it the partition by uuid or label.