Issue with swap file

Andre Goree andre at drenet.net
Sun Dec 7 15:43:06 UTC 2014


On 12/04/2014 2:55 pm, Lowell Gilbert wrote:
> Andre Goree <andre at drenet.net> writes:
> 
>> Progress perhaps being made.
>> 
>> agoree at fbsd10-atl ~ % sudo mdconfig -a -t vnode -n -f /usr/swap0 -u 99
>> mdconfig: ioctl(/dev/mdctl): Device busy
>> agoree at fbsd10-atl ~ % swapinfo
>> Device          1K-blocks     Used    Avail Capacity
>> agoree at fbsd10-atl ~ %
>> 
>> Wtf? This is the newly created file too...
> 
> fstat /usr/swap0

So weird.

agoree at fbsd10-atl ~ % sudo swapon -a
swapon: md99 on /usr/swap0: Device already in use
agoree at fbsd10-atl ~ % sudo fstat /usr/swap0
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W 
NAME
agoree at fbsd10-atl ~ % sudo fstat /usr/swap
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W 
NAME
agoree at fbsd10-atl ~ %

-- 
Andre Goree
-=-=-=-=-=-
Email     - andre at drenet.net
Website   - http://www.drenet.net
PGP key   - http://www.drenet.net/pubkey.txt
-=-=-=-=-=-


More information about the freebsd-questions mailing list