1998-12-13 05:07:36

by Chris Butterworth

[permalink] [raw]
Subject: Re: problems with swapfiles under 2.0.x

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.