I have done a similar setup on 2.0.36 (same version of raidtools &
patches, Redhat), three partitions on the same physical disk, in order
to get the hang of 0.90 before putting it on my production server.  I
assume that's what you're (he's) doing.  
        It works with a bunch of partitions on the same disk, but I ran
into problems with the RedHat startup scripts trying to start the raid
array and leaving open inodes, preventing me from actually initializing
the array with mkraid.  Try commenting out the raid initialization stuff
in /etc/rc.d/rc.sysinit, reboot, and see if it then lets you initialize
the array.

Pax.

Dave

On Sun, 16 May 1999, Dietmar Stein wrote:

> Hi
> 
> Will the raidtools recognize that there is only one device? 
> I think, he wants to set up raid only on one disk for testing.
> 
> Greetings, Dietmar
> 
> m. allan noah wrote:
> > 
> > you dont want to do this. the raid code wont let you IIRC.
> > raid is for spreading your data across multiple drives, for data security
> > and speed. you cannot build a raid array on a single disk. buy more disks.
> > 
> > allan
> > 
> > "so don't tell us it can't be done, putting down what you don't know.
> > money isn't our god, integrity will free our souls" - Max Cavalera
> > 
> > On Fri, 14 May 1999, Robert (Drew) Norman wrote:
> > 
> > >
> > > I can not get raidtools-0.90 to work.  I have attempted everything I know
> > > to do.  I have used the raidtools-0.50 before with no problems.  I am
> > > running the following:
> > >
> > > Redhat Linux 6.0 with 2.2.8 recompiled kernel.
> > > 448MB RAM
> > > raidtools-0.90
> > > I have a IBM 9GB drive split into 3 partitions of equal size.
> > >
> > > Here is my raidtab:
> > >
> > >
> > > raiddev /dev/md0
> > >     raid-level                0
> > >     nr-raid-disks             3
> > >     nr-spare-disks            0
> > >     chunk-size                16
> > >
> > > #    persistent-superblock     0
> > >     device                    /dev/sdb1
> > >     raid-disk                 0
> > >     device                    /dev/sdb2
> > >     raid-disk                 1
> > >     device                    /dev/sdb3
> > >     raid-disk                 2
> > >
> > >
> > > [root@dnorman-pc /root]# mkraid -f /dev/md0
> > > DESTROYING the contents of /dev/md0 in 5 seconds, Ctrl-C if unsure!
> > > handling MD device /dev/md0
> > > analyzing super-block
> > > disk 0: /dev/sdb1, 2811343kB, raid superblock at 2811264kB
> > > disk 1: /dev/sdb2, 2811375kB, raid superblock at 2811264kB
> > > disk 2: /dev/sdb3, 2811375kB, raid superblock at 2811264kB
> > > mkraid: aborted
> > >
> > >
> > > Thanks in advance for the help.
> > > --Drew Norman
> > >
> > >
> 
> -- 
> "For those about to rock - we salute you!"
> Dietmar Stein, Systemadministrator UNIX/Linux
> http://home.t-online.de/home/dstein2203
> [EMAIL PROTECTED], [EMAIL PROTECTED]
> 
> 

Reply via email to