linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* multiple Sata SATAII 150, TX4  - how to tell which drive is which? headaches galore!
@ 2006-01-23  8:36 Mitchell Laks
  2006-01-23 12:20 ` PFC
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Mitchell Laks @ 2006-01-23  8:36 UTC (permalink / raw)
  To: linux-raid

Dear Experts,

I wanted to ask for any experience with running raid with SATA drives and 
controllers here under linux.

I have been having an interesting time!

I initially tried to use raid1 on  my asus A8v motherboard 
using  a mixture of SATA controllers - 
the built in motherboard SATA controller (via vt8237) 
as well as a  Promise PCI card SATAII 150, 
but had problems with the kernel. My drives gave me all sorts of errors while 
trying to build the  raids and while running mkfs.ext3
and i couldn't  get it to work reliably with the any of the current kernels I 
tried, including 2.6.15.1 the current stable kernel. 
I get countless kernel errors as I mentioned in an earlier post.

Now I have switched to only using the PCI card controllers ( Well, I can put 
multiple controllers into the motherboard). So I use only sata_promise and 
get rid of sata_via, which conflicts (according to my experience). 

Now however, when a drive gives me errors - how can I identify which drive on 
which device is failing? 

The kernel seems to name things randomly.

This is important when a drive 'fails'. Which drive failed? If I am dealing 
with /dev/hda1 /dev/hdb1 /dev/hdc1 /dev/hdd1  on the two ide channels
then  I 'know' which is which.

Even crazier (from an accounting point of view) is  the following.

if I have 2 of these cards, then the sata_promise driver does not appear to 
distinguish "where" (ie: which physical controller port on ___which___ card) 
the drives are. 

The letters don't skip to show you are on a second controller -even if you 
leave blank slots to try to see...
The kernel  randomly  calls the drives sda sdb sdc sdd sde and they seem to be 
anywhere on the physical controllers.  It seems to be completely random. 
HELP!

I since I run a bunch of raid1's, if I get errors I have a major chore. So I 
must stop and reboot countless times doing a binary search using mdadm 
-E /dev/sd[ab]1 |grep UU to find the UUID's of the misbehaving drives.   Then 
look closely at mdadm -E of the 2 final candidates to see which one gave me 
these errors. 

For instance a new drive failed while I was installing the raid, and testing.
To find the erroring drive I had to reproduce the errors each time by  
creating the raids, and running mkfs.ext3 which seems to cause the errors. 
What if the errors were more occult????

Each card had 4 controllers - however when I have more than 1 card it can be 
even more difficult to identify where we are.

Any experience out there to help me?

Thanks,

Mitchell Laks


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: multiple Sata SATAII 150, TX4  - how to tell which drive is which?headaches galore!
@ 2006-01-24  6:30 Mitchell Laks
  2006-01-24 12:53 ` David Greaves
  0 siblings, 1 reply; 22+ messages in thread
From: Mitchell Laks @ 2006-01-24  6:30 UTC (permalink / raw)
  To: linux-raid

On Monday 23 January 2006 09:46 pm, Shawn wrote:
> Confirmed.  Using the promise OEM driver, (ulsata2.ko) module the FC4
> discovery order comes in exactly as printed on the board's themselves,
> ports 1-4.

Dear Shawn,

Thank you so much for so much excellent legwork. 

I had looked and seen a "disconnect" between the printed documentation ports 1 
2 3 4, and the actual 3-2-4-1 that you noticed, and decided it was "random". 
Really it was not random it was just "bizarre" :). But I am glad to see it is 
consistently bizarre, across drives (and I hope across PCI slots :) ).

I will check with my two card system to see what happens when I boot them all, 
or partial sets up.  I am curious - I take it from you that it goes

3241
then
3241
on the next machine.

I see from anothe post that I can check what is happening with the drive
serial numbers and  hdparm.

I also will have to take the time to compile my own kernel to check out
 2.6.15 which will give me the smartctl. Thanks to all who let me know about
 that!

I just discovered that I need a second power supply because
a 450W antec smartpower 2.0 is not enough power for 9 active drives and fans
on my system :(.

I must look for a better power supply. What do you recommend for big
multidrive systems?

Thank you very much.

Mitchell Laks

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2006-01-25  8:33 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-23  8:36 multiple Sata SATAII 150, TX4 - how to tell which drive is which? headaches galore! Mitchell Laks
2006-01-23 12:20 ` PFC
2006-01-23 20:22   ` John Hendrikx
2006-01-23 20:44     ` Shawn Usry
2006-01-23 20:49       ` Jeff Garzik
2006-01-23 20:53       ` John Hendrikx
2006-01-24  9:54     ` PFC
2006-01-24 14:40       ` Jeff Garzik
2006-01-23 16:27 ` Shawn Usry
2006-01-23 17:41 ` Shawn Usry
2006-01-24  2:46   ` multiple Sata SATAII 150, TX4 - how to tell which drive is which?headaches galore! Shawn Usry
  -- strict thread matches above, loose matches on Subject: below --
2006-01-24  6:30 Mitchell Laks
2006-01-24 12:53 ` David Greaves
2006-01-24 16:10   ` Shawn Usry
2006-01-24 17:02     ` David Greaves
2006-01-24 17:12     ` Francois Barre
2006-01-24 17:18       ` Gordon Henderson
2006-01-24 17:21         ` Francois Barre
2006-01-24 17:32           ` Gordon Henderson
2006-01-24 22:56       ` John Hendrikx
2006-01-25  5:51       ` Mattias Wadenstein
2006-01-25  8:33       ` Hans Kristian Rosbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).