(Answer) (Category) NetMAXFAQ : (Category) Configuration :
Can I create more swap space on my NetMAX?
Applies to: NetMAX Free BSD Bld475 
            NetMAX L2.2Pv3.x - 4.0x
address-suppressed
**** For Free BSD BLD475 ****

Yes. To create more swap space on your NetMAX, perform these commands as "root".

1. Make sure you have enough space on /var (your system disk): df -k/var/swap

2. dd if=/dev/zero of=/var/swap/swap0 bs=1m count=5 The number "5" is how many megabytes of swap to add.

3. echo "/dev/vn0 /var/swap/swap0 swap" >> /etc/vntab If you do this more than once, use "vn1" the next time, "vn2" the third time, etc.

4. Add this line to the end to the /etc/rc.local file: /bin/test -r /etc/vntab && /usr/sbin/vnconfig -ae

It will be used automatically when the NetMAX boots. To enable it immediately, do "vnconfig -ae".

*** For Linux versions L2.2Pv3.x - L2.4P4.0x****

To create more swap space run these commands as root user.

1. touch /var/swapme

2. dd if=/dev/zero bs=1024k count=(RAM size) of=/var/swapme

Where (RAM size) is the amount of RAM currently installed.
For example if your system has 128Mb of RAM then: dd if=/dev/zero bs=1024k count=128 of=/var/swapme

3. mkswap /var/swapme

4. swapon /var/swapme

5. Add this line to the end of /etc/rc.d/rc.local: swapon /var/swapme This will enable the new swap file each time your NetMAX reboots.
address-suppressed

Previous: (Answer) Does NetMAX support YP (Yellow Pages) and NIS/NIS+ (Network Information Services)?
Next: (Answer) After configuring a second Ethernet interface, one of my Ethernet interfaces seems to stop working.
This document is: http://www.netmax.org/cgi-bin/fom.cgi?file=140
[Search] [Appearance]
This is a Faq-O-Matic 2.721.
This FAQ administered by ...Cybernet Systems Corp.