Skip to contentSkip to conversation

multiple Sata SATAII 150, TX4 - how to tell which drive is which? headaches galore!

DISCUSSION Mitchell Laks 5 participants 11 messages Jan 23, 2006 – Jan 24, 2006 MD RAID

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 5 lines · Mitchell Laks

Dear Experts,

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

Well, here's mine :

Maxtor SATA drives series 6V (those with 16 MB cache) are incompatible
with nforce 3-4 SATA controllers. Maxtor acknowledges this. Symptom is a slow death of the drive, ending with command timeouts. When reverting the drive to SATA 1.5Gbps with the jumper, it works perfectly again (for a few days...). nvidia doesn't care. This is on windows and linux. In windows, you have to use fucking PIO mode or you get corruptions. nforce4 sata also has problems with plextor sata burners, and possibly others.

The Maxtor 6L series (with 8 MB cache) work flawlessly.

I currently have these SATA drives, on a nforce3 MSI mobo :

# hdparm -I /dev/sd? |grep "Model Numb"
        Model Number:       Maxtor 6L200M0
        Model Number:       Maxtor 6L250S0
        Model Number:       ST3250823AS
        Model Number:       ST3250823AS

All work. I RMA'd the 6V250 drive and exchanged it against a good, old,
IDE drive, which works perfect.

It took me a month, 3 maxtor drives, and nights of googling to figure
this out...

My gut feeling is that SATA isn't that ready for prime-time after all...

#2 lore raw
Quoted 6 lines
Quoted 4 lines

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

Maxtor SATA drives series 6V (those with 16 MB cache) are
incompatible with nforce 3-4 SATA controllers. Maxtor acknowledges this. Symptom is a slow death of the drive, ending with command timeouts. When reverting the drive to SATA 1.5Gbps with the jumper, it works perfectly again (for a few days...). nvidia doesn't care. This is on windows and linux. In windows, you have to use fucking PIO mode or you get corruptions. nforce4 sata also has problems with plextor sata burners, and possibly others.

I don't have much SATA experience, although a Western Digital WD2500JD-75F seems to work fine with the nforce 4 ultra chipset.

Quoted 11 lines

The Maxtor 6L series (with 8 MB cache) work flawlessly.

I currently have these SATA drives, on a nforce3 MSI mobo :

# hdparm -I /dev/sd? |grep "Model Numb"
        Model Number:       Maxtor 6L200M0
        Model Number:       Maxtor 6L250S0
        Model Number:       ST3250823AS
        Model Number:       ST3250823AS
Quoted 8 lines

All work. I RMA'd the 6V250 drive and exchanged it against a good,
old, IDE drive, which works perfect.

It took me a month, 3 maxtor drives, and nights of googling to
figure this out...

My gut feeling is that SATA isn't that ready for prime-time after
all...

Does SMART work for your SATA drives? Without SMART support I don't really want to get any more SATA drives. Mine reports this:

~$ smartctl -a /dev/sda
smartctl version 5.32 Copyright (C) 2002-4 Bruce Allen Home page is http://smartmontools.sourceforge.net/

Device: ATA WDC WD2500JD-75F Version: 02.0
Serial number: WD-WMAEH1585485
Device type: disk
Local Time is: Mon Jan 23 21:14:56 2006 CET
Device does not support SMART
Request Sense failed, [Input/output error]

Device does not support Error Counter logging

[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on'] Device does not support Self Test logging

#3 lore raw

The drives physically support SMART, but apparently the roadblock is lacking support in the libata drivers. If you can force "legacy" mode from your Bios and drive your SATA disks with drivers/ide you can get full SMART support.

The details:
http://smartmontools.sourceforge.net/#testinghelp

----- Original Message -----
From: John Hendrikx
[mailto:[email protected]]
To: PFC [mailto:[email protected]]
Cc: Mitchell Laks
[mailto:[email protected]], [email protected]
Sent: Mon, 23 Jan
2006 14:22:04 -0600
Subject: Re: multiple Sata SATAII 150, TX4 - how to tell which drive is which? headaches galore!

Quoted 58 lines
Quoted 5 lines
Quoted 5 lines

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

Quoted 8 lines

Maxtor SATA drives series 6V (those with 16 MB cache) are
incompatible with nforce 3-4 SATA controllers. Maxtor acknowledges this. Symptom is a slow death of the drive, ending with command timeouts. When reverting the drive to SATA 1.5Gbps with the jumper, it works perfectly again (for a few days...). nvidia doesn't care. This is on windows and linux. In windows, you have to use fucking PIO mode or you get corruptions. nforce4 sata also has problems with plextor sata burners, and possibly others.

I don't have much SATA experience, although a Western Digital WD2500JD-75F seems to work fine with the nforce 4 ultra chipset.

Quoted 11 lines

The Maxtor 6L series (with 8 MB cache) work flawlessly.

I currently have these SATA drives, on a nforce3 MSI mobo :

# hdparm -I /dev/sd? |grep "Model Numb"
        Model Number:       Maxtor 6L200M0
        Model Number:       Maxtor 6L250S0
        Model Number:       ST3250823AS
        Model Number:       ST3250823AS
Quoted 8 lines

All work. I RMA'd the 6V250 drive and exchanged it against a good,
old, IDE drive, which works perfect.

It took me a month, 3 maxtor drives, and nights of googling to
figure this out...

My gut feeling is that SATA isn't that ready for prime-time after
all...

Does SMART work for your SATA drives? Without SMART support I don't really want to get any more SATA drives. Mine reports this:

~$ smartctl -a /dev/sda
smartctl version 5.32 Copyright (C) 2002-4 Bruce Allen Home page is http://smartmontools.sourceforge.net/

Device: ATA WDC WD2500JD-75F Version: 02.0
Serial number: WD-WMAEH1585485
Device type: disk
Local Time is: Mon Jan 23 21:14:56 2006 CET
Device does not support SMART
Request Sense failed, [Input/output error]

Device does not support Error Counter logging

[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on'] Device does not support Self Test logging

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

#4 lore raw
Quoted 2 lines · Shawn Usry

The drives physically support SMART, but apparently the roadblock is lacking support in the libata drivers.

Support is now present in libata. Most likely the user has forgotten to add "-d ata" to smartd and smartctl.

Jeff

#5 lore raw
In reply to Shawn Usry
Quoted 5 lines · Shawn Usry

The drives physically support SMART, but apparently the roadblock is lacking support in the libata drivers. If you can force "legacy" mode from your Bios and drive your SATA disks with drivers/ide you can get full SMART support.

The details:
http://smartmontools.sourceforge.net/#testinghelp

Thanks -- I didn't have to change anything in the bios, just adding "-d ata" to smartctl worked for me. Apparently I have a recent enough kernel.

#6 lore raw
In reply to John Hendrikx
Quoted 2 lines

Does SMART work for your SATA drives? Without SMART support I don't really want to get any more SATA drives. Mine reports this:

The feature should come some day. This is quite vital for RAID arrays... Meanwhile, get the same error as you :

--------------------

SATA disks accessed via libata are not currently supported by smartmontools. When libata is given an ATA pass-thru ioctl() then an additional '-d libata' device type will be added to smartmontools.

smartmontools release 5.33 dated 2004/09/10 at 04:11:35 UTC smartmontools build host: x86_64-pc-linux-gnu smartmontools build configured: 2005/12/11 13:39:15 UTC smartctl compile dated Dec 11 2005 at 14:39:26

2.6.15-gentoo

#7 lore raw
Quoted 3 lines · PFC

SATA disks accessed via libata are not currently supported by smartmontools. When libata is given an ATA pass-thru ioctl() then an additional '-d libata' device type will be added to smartmontools.

It already has support. Pass "-d ata" to existing smartmontools.

Jeff

#8 lore raw
In reply to Mitchell Laks

Mitchell:

----- Original Message -----
From: Mitchell Laks [mailto:[email protected]]
To: [email protected]
Sent: Mon, 23 Jan
2006 02:36:54 -0600
Subject: multiple Sata SATAII 150, TX4 - how to tell which drive is which? headaches galore!

Quoted 77 lines

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

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

#9 lore raw
In reply to Mitchell Laks

Apologies for the previous uncompleted post.

Anyhoo - Mitchell, I've recently been experimenting with the the same board (TX4) in FC4. Currently, I've got 2 boards installed.

I've noticed, that when using the stock libata / sata_promise drivers that are in FC4, the discovery order on each board is:

3-2-4-1

Where each number represents the physical port label number imprinted on the TX4 board.

In other words:

/dev/sda = port 3
/dev/sdb = port 2

etc...

However, just last night I compiled and insmod'd the Promise-provided linux driver (I forget the module name), and noticed that the discovery order changes, to be exactly the same as the order that the TX4 bios discovers the drives. I have not had a chance yet to figure out what this translates to in terms of the physical port labeling - I'll try to get that hammered out tonite and repost.

I also noticed, that with EITHER driver, the discovery order does stay within the bounds of one card, before moving on to the next TX4 board you might have installed. In other words, you won't end up with /dev/sda being a drive in board A, and /dev/sdb being a drive in board B. It will discover sequentially, at least with respect to the boards.

Hope this helps a bit.

----- Original Message -----
From: Mitchell Laks [mailto:[email protected]]
To: [email protected]
Sent: Mon, 23 Jan
2006 02:36:54 -0600
Subject: multiple Sata SATAII 150, TX4 - how to tell which drive is which? headaches galore!

Quoted 77 lines

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

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

#10 lore raw

RE: multiple Sata SATAII 150, TX4 - how to tell which drive is which?headaches galore!

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.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Shawn Usry
Sent: Monday, January 23, 2006 11:41 AM
To: Mitchell Laks; [email protected]
Subject: Re: multiple Sata SATAII 150, TX4 - how to tell which drive is which?headaches galore!

Apologies for the previous uncompleted post.

Anyhoo - Mitchell, I've recently been experimenting with the the same board (TX4) in FC4. Currently, I've got 2 boards installed.

I've noticed, that when using the stock libata / sata_promise drivers that are in FC4, the discovery order on each board is:

3-2-4-1

Where each number represents the physical port label number imprinted on the TX4 board.

In other words:

/dev/sda = port 3
/dev/sdb = port 2

etc...

However, just last night I compiled and insmod'd the Promise-provided linux driver (I forget the module name), and noticed that the discovery order changes, to be exactly the same as the order that the TX4 bios discovers the drives. I have not had a chance yet to figure out what this translates to in terms of the physical port labeling - I'll try to get that hammered out tonite and repost.

I also noticed, that with EITHER driver, the discovery order does stay within the bounds of one card, before moving on to the next TX4 board you might have installed. In other words, you won't end up with /dev/sda being a drive in board A, and /dev/sdb being a drive in board B. It will discover sequentially, at least with respect to the boards.

Hope this helps a bit.

----- Original Message -----
From: Mitchell Laks
[mailto:[email protected]]
To: [email protected]
Sent: Mon, 23 Jan
2006 02:36:54 -0600
Subject: multiple Sata SATAII 150, TX4 - how to tell which drive is which? headaches galore!

Quoted 68 lines

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?

Quoted 9 lines

Thanks,

Mitchell Laks

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

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