[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] SWAP over NFS



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