someone out there correct me if i am wrong, but from looking at my boxes:

raid 0.4x (which comes stock in the 2.2.x series of kernels)
has a /proc/mdstat that looks like this:

[root@finch root]$ cat /proc/mdstat
Personalities : [1 linear] [2 raid0] [3 raid1] [4 raid5]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive

raid 0.90 (which comes already patched into redhat 6.x kernels, and is
available as a patch for various 2.2.x kernels) has a /proc/mdstat like this:

[root@bombtrack /root]# cat /proc/mdstat
Personalities : 
read_ahead not set
unused devices: <none>

if your box tells you that devices are 'inactive', this means you are NOT
running a patched kernel. hence, things like raidtools, and the attendant
/etc/raidtab are USELESS. you must either patch your kernel, or run the older
mdutils and startup scripts. the former is highly recommended.

someone PLEASE correct me if i am wrong...

allan


David Cooley <[EMAIL PROTECTED]> said:

> I got the same errors until I increased my chunk size to 32K
> 
> 
> 
> At 01:32 PM 3/23/2000, you wrote:
> >On Thu, 23 Mar 2000, m. allan noah wrote:
> >
> > > > mkraid: aborted, see the syslog and /proc/mdstat for potential clues
> >
> >And if I get the same msg when I try to build a raid 0? (my kernel
> >is RAID patched: 2.2.14)
> >
> >[flag@Luxor flag]$ cat /proc/mdstat
> >Personalities : [1 linear] [2 raid0] [3 raid1] [4 raid5]
> >read_ahead not set
> >md0 : inactive
> >md1 : inactive
> >md2 : inactive
> >md3 : inactive
> >[flag@Luxor flag]$
> >
> >Maybe cause I'm doing it on the same device? (/dev/hda)
> >I know it's stupid to do a RAID on the same device, but i'm just doing
> >some test...
> >
> >This is my raidtab:
> >
> >         raiddev         /dev/md0
> >         raid-level      0
> >         nr-raid-disks   2
> >         persistent-superblock 0
> >         chunk-size      16
> >         device          /dev/hda2
> >         raid-disk       0
> >         device          /dev/hda4
> >         raid-disk       1
> >
> >
> >Paolo
> 
> ===========================================================
> David Cooley N5XMT Internet: [EMAIL PROTECTED]
> Packet: N5XMT@KQ4LO.#INT.NC.USA.NA T.A.P.R. Member #7068
> We are Borg... Prepare to be assimilated!
> ===========================================================
> 
> 



Reply via email to