[clug] sata, 2.6 and raid

Tomasz Ciolek tmc at dreamcraft.com.au
Mon Feb 16 00:26:12 GMT 2004


 Hmmm 

 The 2.6.x sata drivers are under scsi hirerachy, so I expect that the
 drives are habdled by ther scsi drivers and not the ide drivers... 

 So you will get /dev/sd[a|b|c|d|e] for the driveas, not the /dev/hdX
 type hierachy.

 Reconfigure your raid array and tell your raid subsystem about the
 new sata drives... The raid how-to should have the details. you should
 be using raid utils v2.xx not v1.xx (thats of course assuming youre
 using in-kernel software raid). There might also be a need to create raid 
 paritions on your sata drives ( see raid how-to).

 If you are using hardware raid controllers all bets are off, especially
 if you are using the IDE raqid controllers, as the SATA drives and NOT
 IDE!!!

 Regards
 TMC

On Mon, Feb 16, 2004 at 10:54:44AM +1100, Pietro Abate wrote:
> Hi all,
> This is the situation. I've a pc with a couple of sata disks 
> on it and I'd like to setup a raid0 (mirroring) system.
> I've booted it with knoppix (kernel 2.4.22-xfs) and these two disks
> are managed by the ide driver. so far, so good, I got a working
> raid configuration running. Now I'm trying to boot the same pc
> with a fresh 2.6.2. The problem is that in 2.6 these disks are handled
> by the scsi driver and the raid autoprobe configuration goes crazy
> and I get a kernel panic because /dev/md0 is not a valid device.
> 
> my question are:
> - how can I convince the 2.6 kernel to use the ide driver to handle these
>   sata disks ? (this way the autoprobe will work fine...)
>   
>   OR
> 
> - how can I convince raid array to not autoprobe and use /dev/sd[a|b]
>   instead of /dev/hd[c|d] ?
> 
>   OR
> 
> - how can I reconfigure the raid disks to autoprobe correctly using the
>   scsi disk ? 
> 
> The whole point is that the autoprobe works as far all devices numbers
> an name don't change. in my case it's looking for 0,22 and 0,23 (that
> are supposedly the ide disks) but the kernel (2.6) doesn't know anything
> about these two devices as it knows only about scsi devices...
> 
> advices ?
> 
> ta,
> p
> 
> -- 
> ++ It is not doing the thing we like to do, but liking the 
>    thing we have to do, that makes life blessed. -- Goethe
> ++ Please avoid sending me Word or PowerPoint attachments.
>    See http://www.fsf.org/philosophy/no-word-attachments.html

-- 
Tomasz M. Ciolek	
*******************************************************************************
 tmc at dreamcraft dot com dot au or tmc at goldweb dot com dot au 	
*******************************************************************************
	GPG Key ID: 0x41C4C2F0  Key available on www.pgp.net	
*******************************************************************************
  Everything falls under the law of change;	
  Like a dream, a phantom, a bubble, a shadow,
  like dew of flash of lightning.
  You should contemplate like this. 


More information about the linux mailing list