Re: problems with swapfiles under 2.0.x

Chris Butterworth (cdb@europa.dircon.co.uk)
Sun, 13 Dec 1998 02:10:19 +0000 (GMT)


On Fri, 11 Dec 1998, Shane Wegner wrote:

> Hello all,
>
> I am running into a problem with swap files under Linux 2.0.36. If I run
> mkswap swapfile and swapon swapfile it works fine. However, if swapfile
> is on an nfs mounted directory, the swapon(2) call fails with "Invalid
> argument." It is necessary for me to use a swap file on a remote system
> over the network. Why isn't this possible over an nfs mount? It should
> just see it as a regular file and accept it. Any ideas of how I could get
> around this one?

Swapping via NFS is not supported... for some notes about this, and
pointers to patches see

http://www-math.math.rwth-aachen.de/~LBFM/claus/nfs-swap/nfs-swap.html

-- 
Old .sig lost in a filesystem 'accident'. 

Write 100 lines: Back up all filesystems before hacking the kernel.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/