Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2014 23:10:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [Bug 181565] [swap] Problem with vnode-backed swap space.
Message-ID:  <bug-181565-3630-ItR76RstwM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-181565-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-181565-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181565

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

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

--- Comment #2 from elij <elij+freebsd@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-181565-3630-ItR76RstwM>