Re: Problems with linear RAID

1999-12-08 Thread Patrik Rådman
> So now I have been able to test the new RAID code, but it still fails in the > same way as the old code from 2.2.13. Take a look at this: Well, I did some more testing, and the problem seems to be in mkdosfs, not the RAID code. (D'oh!) mkdosfs won't work on a loopback device, so I assume that

Re: Problems with linear RAID

1999-12-08 Thread Patrik Rådman
On Tue, Dec 07, 1999 at 10:51:04PM +, Glenn McGrath wrote: > Have i got this right, your trying to make raid on a loopback device > (dev 07:00 and 07:01) > > I didnt know you could do that, has anyone else dont this? Yes, that's what I'm trying to do... /dev/loop0 + /dev/loop1 = /dev/md0 It

Re: Problems with linear RAID

1999-12-07 Thread Glenn McGrath
Have i got this right, your trying to make raid on a loopback device (dev 07:00 and 07:01) I didnt know you could do that, has anyone else dont this? Anyay, sorry, but ho ideas from me, hope you get it working though. Glenn McGrath Patrik Rådman wrote: > > > Besides Tomas' suggestion (which

Re: Problems with linear RAID

1999-12-07 Thread Patrik Rådman
> Besides Tomas' suggestion (which sounds likely), you need a chunk-size line, > even with linear-raid. Ah! I added "chunk-size 4" to the raidtab, and now I can run mkraid. I think the HOWTO should be updated, the example for linear there doesn't have chunk-size... So now I have been able to tes

RE: Problems with linear RAID

1999-12-07 Thread Bruno Prior
> However, I can't create /dev/md0 with the new raidtools... Can anyone spot > any errors here? > > # cat ./raidtab > raiddev /dev/md0 > raid-levellinear > nr-raid-disks 2 > persistent-superblock 1 > device/dev/loop0 > raid-d

Re: Problems with linear RAID

1999-12-06 Thread Tomas Fasth
Patrik Rådman wrote: > > /dev/md0: Invalid argument > # > > Looking at an strace, this seems to be the problem: > > open("/dev/md0", O_RDWR)= 4 > ioctl(4, 0x400c0930, 0xb61c)= -1 EINVAL (Invalid argument) Are you sure you're running the patched kernel? You usually