Some people come here for my Fortran page. Others want my PhD thesis titled Quantum Waveguide Theory (which is available from the UWA library) or my Honours thesis titled Quantum Chaos in Second Harmonic Generation - Stu.

Sunday 27 May 2007

OK, you want swap over NFS?

here you have it...
mount -t nfs -o rw,udp,async,rsize=4096,wsize=4096 server:/swaps /mnt
dd if=/dev/zero of=/mnt/swap bs=1024k count=1024
mkfs.ext2 /mnt/swap mount -o loop /mnt/swap /swap
dd if=/dev/zero of=/swap/swapfile bs=1024k count=1000
mkswap /swap/swapfile
swapon /swap/swapfile
and there you have it. Swap over NFS :)

No comments:

Post a Comment