Jay Culley
Occasional Visitor
Hi. Please excuse my noobness but I am not having much luck creating a swap file. Here is what I have done:
1: Asus RT-AC5300 running Asuswrt-merlin 380.64_1, jffs enabled, only 1 script for logging vsftpd
2: The USB 3.0 port has a 1 TB NTFS drive shared with Samba for music, movies, etc /dev/sdb1 mounted on /tmp/mnt/Exthdd
3: The USB 2 port has an inexpensive Lexar 32GB thumdrive
primary partition /dev/sda2 is 27GB mounted on /tmp/mnt/lex. Latest Entware installed
4: Also on the USB2 Lexar thumbdrive is a logical partition /dev/sda5 size 1 GB formatted Linux Swap, not mounted, no files.
So I guess I need to add an entry to fstab, then run mkswap and swapon? I need the commands with the correct syntax for the BusyBox os that Merlin runs. I am assuming my swap partition of 1GB is fine since the AC5300 has 500MB of RAM, is that correct?
thanks
jay
1: Asus RT-AC5300 running Asuswrt-merlin 380.64_1, jffs enabled, only 1 script for logging vsftpd
2: The USB 3.0 port has a 1 TB NTFS drive shared with Samba for music, movies, etc /dev/sdb1 mounted on /tmp/mnt/Exthdd
3: The USB 2 port has an inexpensive Lexar 32GB thumdrive
primary partition /dev/sda2 is 27GB mounted on /tmp/mnt/lex. Latest Entware installed
4: Also on the USB2 Lexar thumbdrive is a logical partition /dev/sda5 size 1 GB formatted Linux Swap, not mounted, no files.
So I guess I need to add an entry to fstab, then run mkswap and swapon? I need the commands with the correct syntax for the BusyBox os that Merlin runs. I am assuming my swap partition of 1GB is fine since the AC5300 has 500MB of RAM, is that correct?
thanks
jay