Davin Taddeo | 1 Aug 2006 18:28

Does smartmontools work with Adaptec raid arrays?

Got it all set up on my 3ware raid arrays, just need to see if it's 
possible to do this with the adaptec arrays we have.  Anybody dealt with 
this?

Thanks for all the assistance.

Davin Taddeo
Fleming-AOD
Intern System Administrator
dtaddeo <at> aod.cx

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Dhaval Patel | 2 Aug 2006 00:25
Gravatar

3ware help

Hello all, I have tried to search the mailing list archives and read the man page on how
to read the S.M.A.R.T data from my WD5000YS drives.

I have 4 connected to a 3ware 9550SX 4port controller on one server and 8 connected to a
3ware 9550SX 8port controller as well as 2 connected directly  to the motherboard on
another server. I cannot access the S.M.A.R.T data on any of the drives. The drives are
WD5000YS-01MPB0. Here is what I am doing

on server 1 with the 4 port 3ware card here is the dmesg output
------------- dmesg output --------------------
3w-9xxx: scsi0: Found a 3ware 9000 Storage Controller at 0xd2020000, IRQ: 201.
3w-9xxx: scsi0: Firmware FE9X 3.01.01.028, BIOS BE9X 3.01.00.024, Ports: 4.
Using anticipatory io scheduler
  Vendor: AMCC      Model: 9550SX-4LP DISK   Rev: 3.01
  Type:   Direct-Access                      ANSI SCSI revision: 03

------------ Issuing a command -------------------
jwblack:~# smartctl -a -d 3ware,0 /dev/twa0
smartctl version 5.32 Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

WARNING - NO DEVICE FOUND ON 3WARE CONTROLLER (disk 0)
Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive'
options.

I get the same problem when trying to get to any of the other drives not just drive 0.

------------ server 2----------------------
(Continue reading)

Bruce Allen | 2 Aug 2006 00:29
Picon
Favicon

Re: 3ware help

You are using a version of smartmontools that is two years old.  Update to 
the current version.  You will need to use /dev/twa0 not /dev/sda

Bruce

On Tue, 1 Aug 2006, Dhaval Patel wrote:

> Hello all, I have tried to search the mailing list archives and read the man page on how
> to read the S.M.A.R.T data from my WD5000YS drives.
>
> I have 4 connected to a 3ware 9550SX 4port controller on one server and 8 connected to a
> 3ware 9550SX 8port controller as well as 2 connected directly  to the motherboard on
> another server. I cannot access the S.M.A.R.T data on any of the drives. The drives are
> WD5000YS-01MPB0. Here is what I am doing
>
> on server 1 with the 4 port 3ware card here is the dmesg output
> ------------- dmesg output --------------------
> 3w-9xxx: scsi0: Found a 3ware 9000 Storage Controller at 0xd2020000, IRQ: 201.
> 3w-9xxx: scsi0: Firmware FE9X 3.01.01.028, BIOS BE9X 3.01.00.024, Ports: 4.
> Using anticipatory io scheduler
>  Vendor: AMCC      Model: 9550SX-4LP DISK   Rev: 3.01
>  Type:   Direct-Access                      ANSI SCSI revision: 03
>
> ------------ Issuing a command -------------------
> jwblack:~# smartctl -a -d 3ware,0 /dev/twa0
> smartctl version 5.32 Copyright (C) 2002-4 Bruce Allen
> Home page is http://smartmontools.sourceforge.net/
>
> WARNING - NO DEVICE FOUND ON 3WARE CONTROLLER (disk 0)
> Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
(Continue reading)

Dhaval Patel | 2 Aug 2006 00:34
Gravatar

Re: 3ware help

Sorry about that, didnt realize it. I installed it using apt-get from Debian stable. I
will notify the maintainer. In the meantime I will update my version and let you know
how it goes.

Thanks,
Dhaval

Bruce Allen <ballen <at> gravity.phys.uwm.edu> said:

> You are using a version of smartmontools that is two years old.  Update to 
> the current version.  You will need to use /dev/twa0 not /dev/sda
> 
> Bruce
> 
> On Tue, 1 Aug 2006, Dhaval Patel wrote:
> 
> > Hello all, I have tried to search the mailing list archives and read the man page on how
> > to read the S.M.A.R.T data from my WD5000YS drives.
> >
> > I have 4 connected to a 3ware 9550SX 4port controller on one server and 8 connected to a
> > 3ware 9550SX 8port controller as well as 2 connected directly  to the motherboard on
> > another server. I cannot access the S.M.A.R.T data on any of the drives. The drives are
> > WD5000YS-01MPB0. Here is what I am doing
> >
> > on server 1 with the 4 port 3ware card here is the dmesg output
> > ------------- dmesg output --------------------
> > 3w-9xxx: scsi0: Found a 3ware 9000 Storage Controller at 0xd2020000, IRQ: 201.
> > 3w-9xxx: scsi0: Firmware FE9X 3.01.01.028, BIOS BE9X 3.01.00.024, Ports: 4.
> > Using anticipatory io scheduler
> >  Vendor: AMCC      Model: 9550SX-4LP DISK   Rev: 3.01
(Continue reading)

Dhaval Patel | 2 Aug 2006 01:23
Gravatar

Re: 3ware help

I now have 5.36 installed and I can query the drives on the 3ware card using "smartctl
-a -d 3ware,N /dev/twa0" where N is the drive number.

I still have a problem getting stats off the drives that are attached to the motherboard.
---------------------------------------------------------------------
jwgold:~# smartctl -a -d ata /dev/sda
smartctl version 5.36 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
---------------------------------------------------------------------
also
---------------------------------------------------------------------
jwgold:~# smartctl -a /dev/sda
smartctl version 5.36 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device:   Version:
Serial number:      WD-WMANU1038642
Device type: disk
Local Time is: Wed Aug  2 07:22:31 2006 EDT
Device does not support SMART

Error Counter logging not supported

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

Thanks,
(Continue reading)

Bruce Allen | 2 Aug 2006 05:27
Picon
Favicon

Re: 3ware help

> I now have 5.36 installed and I can query the drives on the 3ware card using "smartctl
> -a -d 3ware,N /dev/twa0" where N is the drive number.

Good

> I still have a problem getting stats off the drives that are attached to the motherboard.

What kernel version are you using (uname -a)?  It must be 2.6.15 or 
above.

Bruce

> ---------------------------------------------------------------------
> jwgold:~# smartctl -a -d ata /dev/sda
> smartctl version 5.36 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6 Bruce Allen
> Home page is http://smartmontools.sourceforge.net/
>
> Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
> ---------------------------------------------------------------------
> also
> ---------------------------------------------------------------------
> jwgold:~# smartctl -a /dev/sda
> smartctl version 5.36 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6 Bruce Allen
> Home page is http://smartmontools.sourceforge.net/
>
> Device:   Version:
> Serial number:      WD-WMANU1038642
> Device type: disk
> Local Time is: Wed Aug  2 07:22:31 2006 EDT
> Device does not support SMART
(Continue reading)

Bruce Allen | 2 Aug 2006 05:37
Picon
Favicon

Re: Question regarding SMARTD_MESSAGE values

On Sun, 30 Jul 2006, Rob Becker wrote:

>   Does such a SMARTD_MESSAGE list exist?

I'm afraid not.  You'd have to read the code to construct the various 
possible messages.

Cheers,
 	Bruce

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Dhaval Patel | 2 Aug 2006 17:44
Gravatar

Re: 3ware help

OK, so I upgraded to 2.6.16 and everything seems to work as expected.

Now I am going to try to setup smartd.conf and start the monitoring. The configuration
file is helpful because of all the comments. I also read your article
http://www.linuxjournal.com/article/6983

Thanks,
Dhaval

Bruce Allen <ballen <at> gravity.phys.uwm.edu> said:

> > I now have 5.36 installed and I can query the drives on the 3ware card using "smartctl
> > -a -d 3ware,N /dev/twa0" where N is the drive number.
> 
> Good
> 
> > I still have a problem getting stats off the drives that are attached to the
motherboard.
> 
> What kernel version are you using (uname -a)?  It must be 2.6.15 or 
> above.
> 
> Bruce
> 
> > ---------------------------------------------------------------------
> > jwgold:~# smartctl -a -d ata /dev/sda
> > smartctl version 5.36 [x86_64-unknown-linux-gnu] Copyright (C) 2002-6 Bruce Allen
> > Home page is http://smartmontools.sourceforge.net/
> >
> > Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
(Continue reading)

Dhaval Patel | 2 Aug 2006 20:02
Gravatar

smartd configuration

I am trying to configure my smartd.conf. I have successfully sent out a test email by
having "/dev/twa0 -d 3ware,0 -a -m dhaval <at> patel.sh" as the only uncommented line in the
smartd.conf and running "smartd -q onecheck" as root. I did get a test email and the
messages in the shell verified that it did run fine.

I am thinking of having ONLY the following lines uncommented in the config file. (I only
have these 4 drives in the system)
-----------------------------------------------------------------------------
/dev/twa0 -d 3ware,0 -a -s L/../../6/01 -m dhaval <at> patel.sh
/dev/twa0 -d 3ware,1 -a -s L/../../6/03 -m dhaval <at> patel.sh
/dev/twa0 -d 3ware,2 -a -s L/../../7/01 -m dhaval <at> patel.sh
/dev/twa0 -d 3ware,3 -a -s L/../../7/03 -m dhaval <at> patel.sh
-----------------------------------------------------------------------------

Correct me if I am wrong but to my understanding this will do the following:
- poll each of the drives every 30 mins and email any errors
- run the self test on Sat and Sun between 1-4 and email me any errors

Are these configuration options within the norm according to what the average person
does? Can you suggest any differences and reason?

Another worry is that each of these drives are 500GB and as far as I know, smartd will
only poll for stats and not scan the entire drive but is there a test that might be
performed which will scan the drive?

Thanks,
Dhaval

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
(Continue reading)

Jax | 2 Aug 2006 20:14
Picon

Re: no sense translation getting worse

Justin Piszcz wrote:
> Use at least kernel 2.6.16, this bug was fixed in that version and newer.
>
This will be a good example for the future. I upgrade my kernel every 
time when new patch comeing and now I use the newer 2.6.17.7 but I still 
get the error. Smarmontools never lie if there is some problem with the 
hdd. Today I got real uncorrectable sectors and they're under /var 
structure, so  I  lost mysql tables since the last backup :( So I warn 
everyone this error serious.

> Justin.
>
> On Tue, 2 May 2006, Cyber wrote:
>
>> Hi Guys!
>>
>> Me again ;)
>> Sorry this will be a little off topic but i think it's worth a mail 
>> because u working with harddrives all the time and maybe have an idea 
>> what can i do with this.
>>
>> So i bought a brand new 200gb Seagate SATA II drive and a sata "raid" 
>> card SIL 3112, i tried it with 2.6.15 and the lastest kernel too but 
>> there is a problem when a huge transfer started:
>>
>> kernel: ata1: no sense translation for status: 0x51
>> kernel: ata1: translated ATA stat/err 0x51/00 to SCSI SK/ASC/ASCQ 
>> 0x3/11/04
>> kernel: ata1: status=0x51 { DriveReady SeekComplete Error }
>> kernel: ata1: no sense translation for status: 0x51
(Continue reading)


Gmane