[DragonFlyBSD - Bug #3133] (Closed) The documentation on adding file based swap space is incorrect

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Mon May 7 21:38:38 PDT 2018


Issue #3133 has been updated by dillon.

Status changed from New to Closed

That document is pretty old.  I'll do a few passes on the whole thing.  The swapfile section itself is completely obsolete.  We don't recommend assigning swap to a file.  It really has to be assigned to a physical partition on a real storage device, otherwise the kernel can deadlock pretty easily in a low-memory situation.

-Matt

----------------------------------------
Bug #3133: The documentation on adding file based swap space is incorrect
http://bugs.dragonflybsd.org/issues/3133#change-13436

* Author: gjs278
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
On https://www.dragonflybsd.org/docs/handbook/Configuration/#index14h2

Step 5 is incorrect. The command

    # vnconfig -e /dev/vn0b /usr/swap0 swap

Does not seem to work because /dev/vn0b doesn't exist.

    # vnconfig -e /dev/vn0 /usr/swap0 swap

Does work. This was done on 5.2 after following the first 4 steps.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list