2008/4/30, Robin Humble <[EMAIL PROTECTED]>:
>
>  we too are very interested in swap on Lustre using o2ib, so I'm happy
>  to hear it'll be in 1.6.6.

I used swap with loop on lustre over tcp and o2ib more then 2 years.

cat /etc/rc.d/rc.swap
#!/bin/bash

SWAP=/mnt/adm/swap/${HOSTNAME}.swap

if [ ! -f $SWAP ]; then
   dd if=/dev/zero of=$SWAP bs=1M count=4096
else
   dd if=$SWAP of=/dev/null count=1 bs=1M
fi

losetup /dev/loop0 $SWAP
mkswap /dev/loop0 && swapon /dev/loop0

-- 
Serge Ryabchun <[EMAIL PROTECTED]>
_______________________________________________
Lustre-discuss mailing list
Lustre-discuss@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Reply via email to