Project

General

Profile

Bug #3133

The documentation on adding file based swap space is incorrect

Added by gjs278 over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/07/2018
Due date:
% Done:

0%

Estimated time:

Description

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.

History

#1

Updated by dillon over 1 year ago

  • 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

Also available in: Atom PDF