←back to thread

163 points rbanffy | 1 comments | | HN request time: 0s | source
Show context
yjftsjthsd-h ◴[] No.42144002[source]
> The other problem we need to solve is swap. Linux, or at least not this Linux, won't let you use a swapfile hosted over NFS; swapon will give you an illegal argument error and refuse to enable it.

To my shock, https://en.wikipedia.org/wiki/Network_block_device says

> The protocol was originally developed for Linux 2.1.55 and released in 1997.

so I wonder if you could use that? It's better suited to swap anyways.

replies(3): >>42144625 #>>42144847 #>>42154552 #
1. somat ◴[] No.42154552[source]
No swap on nfs is strange. Mainly because as far as I can tell swap over nfs has always been a thing on bsd.

here is the openbsd manual on setting up a diskless system(note the bootparams swap line), however it picked up it's netbooting sequence from bsd which if I had to guess picked it up from sun who invented nfs. I was curious if sunos also has it and it does. I choose sunos as a sort of early snapshot of a commercial bsd system. As netbooting was an important thing to Sun I would guess swap over nfs was a day one thing. Anyone know where to go for very early manuals to confirm this?

http://man.openbsd.org/diskless