Re: Problems with Linux RAID in kernel 2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday March 10, jrojomartinez@xxxxxxxxxxxxxx wrote:
> Hi,
> 
>   I have many problems with RAID in kernel 2.6.10.
..
>   And dmesg says:
> 
> md: raidstart(pid 2944) used deprecated START_ARRAY ioctl. This will not	<-- !!!
> be supported beyond 2.6								<-- !!!

Take the hint.  Don't use 'raidstart'.  It seems to work, but it will
fail you when it really counts.  In fact, I think it is failing for
you now.

Use mdadm to assemble your arrays.

> 
>   And with mdadm also fails:
> 
> centralmad:~# mdadm -R /dev/md2 
> mdadm: failed to run array /dev/md2: Invalid argument

You are using mdadm wrongly.  
You want something like:
  mdadm --assemble /dev/md2  /dev/sdb2 /dev/sdc2




> centralmad:~# cat /proc/mdstat 
> Personalities : [raid1] 
> unused devices: <none>
> 
>   Moreover, dmesg says the md driver fails:
> 
> md: bug in file drivers/md/md.c, line 1514

This is (a rather non-helpful) way of saying that you tried to start
an array which contained no devices.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux