[Bug 204485] swapfile not mounted on boot
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 12 00:31:26 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204485
Bug ID: 204485
Summary: swapfile not mounted on boot
Product: Base System
Version: 10.2-STABLE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: conf
Assignee: freebsd-bugs at FreeBSD.org
Reporter: zsolt.ero at gmail.com
By following the relevant section of the handbook
(https://www.freebsd.org/doc/handbook/adding-swap-space.html) I created a swap
file and set up fstab:
dd if=/dev/zero of=/usr/swap0 bs=1m count=2048
chmod 0600 /usr/swap0
echo "md99 none swap sw,file=/usr/swap0 0 0" >> /etc/fstab
Now, running "swapon -aL" does indeed mount the swap file.
The problem is that after reboot, the swap file is not mounted, and running
"swapon -aL" returns the following error: "md99 on /usr/swap0: Device already
in use"
I found a thread in the forum, which confirms that this is present in 10.0 and
10.1:
https://forums.freebsd.org/threads/freebsd-10-wont-add-swap-file.47167/
Upon asking on IRC, it was confirmed that it is a bug and it's recommended that
a bug ticket should be created for this.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list