2008/1/2, Bill Gatliff <[EMAIL PROTECTED]>: > Lennert Buytenhek wrote: > > On Wed, Jan 02, 2008 at 01:00:02PM -0600, Bill Gatliff wrote: > >> Ok, I've set up a 5GB swap over NBD. If the system reboots, it won't > >> automagically reattach it. > >> > >> The kernel is NOT running the nbd swap patch, so I don't know if the > >> system will deadlock under stress, or not... > > > > It most likely will... > > > Older kernels definitely would. But the mailing lists aren't so clear > about the current state of things, and I can't seem to find the patches > either...
I run NDB swap on little arms and qemus routinely and have never had a lockup despite stressing them. The trick is *not* to include nbd-client's -swap flag, with which, if i remember correctly, it doesn't work at all. The other way is to create an ext2 in a file on an NFS-mounted volume, loop-mount it on the ARM box, create a big file in it, mkswap and swapon that. A bit contorted but it was stable the one time I had to do that. M Sorry about repetitions, Bill, thought I'd put this on list too. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]