Project

General

Profile

Actions

Bug #3133

closed

The documentation on adding file based swap space is incorrect

Added by gjs278 almost 6 years ago. Updated almost 6 years 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

  1. vnconfig -e /dev/vn0b /usr/swap0 swap

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

  1. vnconfig -e /dev/vn0 /usr/swap0 swap

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

Actions #1

Updated by dillon almost 6 years 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

Actions

Also available in: Atom PDF