Mounting swap partition

Net Warrior netwarrior863 at gmail.com
Mon Dec 15 15:34:43 UTC 2014


Hi there guys
It's beeen a long time since I do not use FreeBSD, sice 9-RELEASE, now I
back on the road and I found lots of cools stuff and thing which I'm trying
to assimilate, now I have a simple problem which I cannot solve, cannot
activate swap partition, can you lend me a hand with this?

root@:~ # gpart show
=>      34  83886013  diskid/DISK-VB7030ac45-d4933b52  GPT  (40G)
        34      1024                                1  freebsd-boot  (512K)
      1058   4194304                                2  freebsd-swap  (2.0G)
   4195362  79690685                                3  freebsd-zfs  (38G)


root@:~ # swapinfo
Device          1K-blocks     Used    Avail Capacity

root@:~ # swapon -a
swapon: /dev/ada0p2: No such file or directory

Best regards


More information about the freebsd-stable mailing list