gpart And VPS Disk: Disappearing swap Partition
Steve O'Hara-Smith
steve at sohara.org
Thu Jan 18 22:39:33 UTC 2018
On Thu, 18 Jan 2018 15:01:56 -0600
Tim Daneliuk <tundra at tundraware.com> wrote:
> I have Digital Ocean instance that has about 1G free on the disk.
> I want to use this to create a second swap partition. I am able to
> run 'gpart add -t freebsd-swap ...' successfully. That is, gpart show
> shows that new swap partition as present and I can swap it on. HOWEVER,
> upon reboot, that partition disappears and the space shows as free again.
>
> What am I missing here?
An entry in /etc/fstab something like this:
/dev/gpt/<gpt label> none swap sw 0 0
--
Steve O'Hara-Smith <steve at sohara.org>
More information about the freebsd-questions
mailing list