DragonFly BSD
DragonFly bugs List (threaded) for 2010-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

vnconfig and swapfile


From: Ferruccio Zamuner <nonsolosoft@xxxxxxxx>
Date: Fri, 17 Dec 2010 18:18:08 +0100

Hi,

probably there is something wrong or obsolete in:
 http://www.dragonflybsd.org/docs/handbook/handbook-adding-swap-space/

lap# truncate -s700M /dati/swapfile
lap# chmod 0600 /dati/swapfile
lap# vnconfig -e vn0 /dati/swapfile swap
vnconfig: swapon: Device not configured
lap# vnconfig -l
vn0: covering /dati/swapfile on ad0s2h, inode 409
vn1: not in use
vn2: not in use
vn3: not in use
lap# ls /dev/vn*
/dev/vn         /dev/vn0s0      /dev/vn2
/dev/vn0        /dev/vn1        /dev/vn3
lap# swapon /dev/vn0
swapon: /dev/vn0: Device not configured
lap# swapon /dev/vn0s0
swapon: /dev/vn0s0: Device not configured


Best wishes, \ferz




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]