Oh, you should listen to the Adam's advise anyway.
echo "/dev/ad1s1 none swap sw 0 0" >> /etc/fstab; rm -f
/usr/local/etc/rc.d/startup.sh; shutdown -r now
On 11.11.2010 11:49, James Bensley wrote:
On 10 November 2010 17:24, st41ker<[email protected]> wrote:
Hello again,
Little fix just add '/sbin' path to binary just to make sure that init
subsystem will run it:
echo "/sbin/swapon /dev/ad1s1"> /usr/local/etc/rc.d/startup.sh ; chmod +x
/usr/local/etc/rc.d/startup.sh; reboot
Thank you, this seems to have worked. I have rebooted the box and
ssh'd back in, swapinfo shows the swap partition as active .
On 10 November 2010 18:12, Adam Thompson<[email protected]> wrote:
Ah, I had interpreted it as he installed a box without swap and was now
trying to add it.
That is correct. Originally I set the box up with no swap. I haven't
deployed the box into production yet and whilst testing and tinkering
I keep getting close to my physical memory limits so I wanted to add
some swap space temporarily and when its comes to deployment, if needs
be I can chuck some more RAM in.
Thanks to all, this is now sorted :D
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Commercial support available - https://portal.pfsense.org