[ale] SWAP over NFS

Chris Fowler cfowler at outpostsentinel.com
Mon Apr 14 11:31:30 EDT 2008


Has anyone experienced with swap over NFS?

I'm doing the following from my diskless workstation in vmplayer

dd if=/dev/zero of=/dev/SWAP1 bs=1024k count=128
mkswap -v1 /dev/SWAP1
swapon /dev/SWAP1

swapon complains that the file is full of holes.  On the nfs server I
can use it just fine so I know it is fine from that perspective.

Maybe I should do this:

losetup /dev/loop0
mkswap -v1 /dev/loop0
swapon /dev/loop0

I've done this many years back with no problem.  Maybe something has
changed.

Chris




More information about the Ale mailing list