Re: Swapping on raid (Re: raid0, raidtools 0.90 and kernel 2.2.0-pre1)

1999-01-13 Thread M.H.VanLeeuwen
Louis Mandelstam wrote: > > On Tue, 12 Jan 1999, M.H.VanLeeuwen wrote: > > > #swapoff -a > > #dd if=/dev/zero of=swapfile bs=1k count=1 > > #mkswap swapfile > > #losetup /dev/loop3 swapfile > > #swapon /dev/loop3 > > #free > > total used free sharedbuffers

Re: Swapping on raid (Re: raid0, raidtools 0.90 and kernel 2.2.0-pre1)

1999-01-13 Thread Louis Mandelstam
On Tue, 12 Jan 1999, M.H.VanLeeuwen wrote: > #swapoff -a > #dd if=/dev/zero of=swapfile bs=1k count=1 > #mkswap swapfile > #losetup /dev/loop3 swapfile > #swapon /dev/loop3 > #free > total used free sharedbuffers cached > Mem:144044 141608

Re: Swapping on raid (Re: raid0, raidtools 0.90 and kernel 2.2.0-pre1)

1999-01-12 Thread M.H.VanLeeuwen
here is what i've tried on 2.0.36 on a raid 5 file system to show it can be done, but I don't normally run this way because of comments about locking up if resources are unavailable #swapoff -a #dd if=/dev/zero of=swapfile bs=1k count=1 #mkswap swapfile #losetup /dev/loop3 swapfile #swapon /d

RE: Swapping on raid (Re: raid0, raidtools 0.90 and kernel 2.2.0-pre1)

1999-01-12 Thread Louis Mandelstam
On Tue, 12 Jan 1999, Bruno Prior wrote: > Haven't tried it myself, but I've had two different reports that swap on RAID-1 > works, from people who didn't realise that it _shouldn't_ work. I encouraged them to > post their experiences to the list, but I don't think either of them did. Could it be

RE: Swapping on raid (Re: raid0, raidtools 0.90 and kernel 2.2.0-pre1)

1999-01-12 Thread Bruno Prior
> In fact it's quite simple: the md device doesn't currently support swap > partitions (or swapping to files on an md device). Haven't tried it myself, but I've had two different reports that swap on RAID-1 works, from people who didn't realise that it _shouldn't_ work. I encouraged them to post

Re: Swapping on raid (Re: raid0, raidtools 0.90 and kernel 2.2.0-pre1)

1999-01-12 Thread Louis Mandelstam
On Tue, 12 Jan 1999, MOLNAR Ingo wrote: > > In fact it's quite simple: the md device doesn't currently support swap > > partitions (or swapping to files on an md device). > > it's quite simple: it should work just fine, if not then it's a bug. (i've > tested it and it works, but YMMV, bug repo

Re: Swapping on raid (Re: raid0, raidtools 0.90 and kernel 2.2.0-pre1)

1999-01-12 Thread MOLNAR Ingo
On Tue, 12 Jan 1999, Louis Mandelstam wrote: > In fact it's quite simple: the md device doesn't currently support swap > partitions (or swapping to files on an md device). it's quite simple: it should work just fine, if not then it's a bug. (i've tested it and it works, but YMMV, bug reports

Re: Swapping on raid (Re: raid0, raidtools 0.90 and kernel 2.2.0-pre1)

1999-01-12 Thread Louis Mandelstam
On Tue, 12 Jan 1999, Bohumil Chalupa wrote: > IMHO there's no reason for using raid0 (striped) partition for swap. > If you use two swap partitions with equal priority, the kernel does > the striping automatically. > > Another reason why NOT to use ANY RAID device for swap is that > it may allo

Swapping on raid (Re: raid0, raidtools 0.90 and kernel 2.2.0-pre1)

1999-01-12 Thread Bohumil Chalupa
On Tue, 12 Jan 1999, Jorge Nerin wrote: > I want to setup a raid0 stripped swap partition in an old 386 with 2 > hd. It has 2.2.0-pre1, and raidtools-0.90, raid0 is a module and its > loaded when trying to do this. IMHO there's no reason for using raid0 (striped) partition for swap. If you use