Is a Samba swap file possible?

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

 



I am trying to create a swap file on a Samba mounted
file system and use it as swap space.  (Believe me, I
do know the performance implications of such a swap
scheme).  I am having trouble getting this to work. 
Does anyone know if this is possible?  I mount the
Samba share, say /scratch, then 
dd if=/dev/zero of=/scratch/swap bs=1024 count=65536
mkswap /scratch/swap 65536
sync 
swapon /scratch/swap

The last command fails and returns invalid argument. 
Does anyone know any limitations in swapping over
samba?  

Thanks

Darryl

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux