[Bug 181565] [swap] Problem with vnode-backed swap space.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 15 23:10:49 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181565

elij <elij+freebsd at wundrd.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |elij+freebsd at wundrd.net

--- Comment #2 from elij <elij+freebsd at wundrd.net> ---
Having the same problem.

This worked on 10.0-RELEASE. After upgrading to 10.1-RELEASE, it no longer
works.

/etc/fstab:
md99        none        swap    sw,file=/swap0  0    0

After boot:
# mdconfig -lv
md99    vnode      256M    /swap0

# swapinfo 
Device          1K-blocks     Used    Avail Capacity
# 


Deleting the md and calling swapon by hand works.

# mdconfig -d -u 99; swapon -a; swapinfo -h
swapon: adding /dev/md99 as swap device
Device          1K-blocks     Used    Avail Capacity
/dev/md99          262144       0B     256M     0%

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list