lkml.org 
[lkml]   [1999]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: loop device/swap problem?
Hi!

> 1) dd if=/dev/zero of=swap bs=1024k count=10
> 2) losetup /dev/loop0 swap
> 3) mkswap /dev/loop0
> 4) swapon /dev/loop0
> 5) run the following program.
>
> then the machine stops to respond(no swap activities/no disk access)
> except that console switch is ok and keyboard input is still
> echoed.

Don't do it, then.

It is bad idea to swap onto
1) file on nfs system
2) loop device
3) raid device
4) network (without special patches), special patches allow swapping
over nbd

Don't try to swap over first thing you find. IT WILL NOT WORK. Maybe
this should be documented somewhere?

Pavel
--
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel. Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.039 / U:1.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site