Your question doesn't really related to Webmin, as Webmin doesn't control SMART, it just reads it.
SMART status of a hard drive is available for both IDE and SCSI disks, it just depends on the manufacturer of the disk as to how many facilities they give you in SMART that you can read with tools like the SMART Webmin module and smartmontools.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To be more precise I have seagate scsi drives that are SMART capable and I can enable them and see SMART working via direct commands but the Webmin module doesn't seem to work and it's description says the webmin module works for IDE drives.
I realize Wembin modules aren't programs, just 'interfaces' of programs.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, I have two (quite old) servers running SCSI disks. On one of them I get into Webmin's SMART Status module, I get them listed asking me to select which one to "show" (there's a show button), and when I click that on one of the drives I see:
Status of drive /dev/sda
Location SCSI device A
Drive size 8637 MB
Make and model FUJITSU MAG3091L SUN9.0G
Supports SMART? No
SMART enabled? No
The header of the page shows:
SMARTsuite version 5.33
which is smartmontools.
This means that Webmin in fact uses smartmontools to query the SMART controller, and it does in fact support anything smartmontools supports (including SCSI drives).
Michael.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK Michael,
Now it gets interesting
Yours shows No and No to Supports & Enabled, mine does too (I have same 5.33 too) but my drives are Smart supported and enabled, SEAGATE SX336704LC, and I can issue SMART commands directly as root and they work, but not in this WebMin module and I'm wondering why...
I thought maybe it was giving 'no' because it was scsi and the description says ide
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think that's a bug with the Webmin module. Because when I issue the following command from shell:
******
# smartctl -a /dev/sda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Device: FUJITSU MAG3091L SUN9.0G Version: 1111
Serial number: 01495467
Device type: disk
Local Time is: Mon Jan 2 11:23:43 2006 EST
Device supports SMART and is Enabled
Temperature Warning Disabled or Not Supported
SMART Health Status: OK
Current Drive Temperature: 41 C
Drive Trip Temperature: 80 C
Manufactured in week 03 of year 2000
Current start stop count: 117 times
Recommended maximum start stop count: 10000 times
Error Counter logging not supported
Error Events logging not supported
Device does not support Self Test logging
*****
It clearly says the device supports SMART and is enabled.
I'll raise this one with Jamie (Webmin) to see if it can be fixed.
Michael.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No problems. Although I don't specifically use that module for anything, I do reference it in the "System and Status" module which emails me when the SMART status fails on any of my drives.
I also have smartmontools configured to run short tests nightly, and long tests weekly, which will email me of problems when they occur also.
I've emailed Jamie and provided him with this thread link so he's aware of it all. He may be emailing you (or me) if he has queries on our SCSI setups :)
Cheers.
Michael.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could any of you who have SCSI drives that support SMART run the command smartctl -i /dev/sda as root at the shell prompt, and post the output? My guess is that Webmin is parsing it incorrectly..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> smartctl -i /dev/sda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Device: SEAGATE SX336704LC Version: BC13
Serial number: 3CD14CTA 2122CPRW
Device type: disk
Local Time is: Mon Jan 2 10:10:18 2006 EST
Device supports SMART and is Enabled
Temperature Warning Disabled or Not Supported
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Device: FUJITSU MAT3073NP Version: 0108
Serial number: AAS0P5601DM5
Device type: disk
Transport protocol: Parallel SCSI (SPI-4)
Local Time is: Fri Feb 17 18:30:02 2006 GMT
Device supports SMART and is Enabled
Temperature Warning Enabled
Regards
Bill
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Boy, I'm glad I ran across this thread. I noticed that the webmin SMART module doesn't work with SATA drives even with kernel 2.6.15 (with libata pass-through) because it doesn't pass the "-d ata" parameter. For example:
# smartctl -d ata -a /dev/sda
I think the module should at the very least have an option in it's config for SATA drives that will give it the "-d ata" parameter so it will work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I love Webmin, bought the book :)
Running Linux servers with SCSI drives. Does the SMART module 'really' work only for IDE? not SCSI?
If so are there any such modules for SCSI that anyone has seen?
Thanks!
natbrazil@weblabs.com
Your question doesn't really related to Webmin, as Webmin doesn't control SMART, it just reads it.
SMART status of a hard drive is available for both IDE and SCSI disks, it just depends on the manufacturer of the disk as to how many facilities they give you in SMART that you can read with tools like the SMART Webmin module and smartmontools.
It does though
First I'm asking if the Webmin description is simply in error when it only says IDE
Second, I'm asking if there are any Webmin modules that montitor SCSI if indeed this one does not.
Thanks
To be more precise I have seagate scsi drives that are SMART capable and I can enable them and see SMART working via direct commands but the Webmin module doesn't seem to work and it's description says the webmin module works for IDE drives.
I realize Wembin modules aren't programs, just 'interfaces' of programs.
Thanks
Ok, I have two (quite old) servers running SCSI disks. On one of them I get into Webmin's SMART Status module, I get them listed asking me to select which one to "show" (there's a show button), and when I click that on one of the drives I see:
Status of drive /dev/sda
Location SCSI device A
Drive size 8637 MB
Make and model FUJITSU MAG3091L SUN9.0G
Supports SMART? No
SMART enabled? No
The header of the page shows:
SMARTsuite version 5.33
which is smartmontools.
This means that Webmin in fact uses smartmontools to query the SMART controller, and it does in fact support anything smartmontools supports (including SCSI drives).
Michael.
OK Michael,
Now it gets interesting
Yours shows No and No to Supports & Enabled, mine does too (I have same 5.33 too) but my drives are Smart supported and enabled, SEAGATE SX336704LC, and I can issue SMART commands directly as root and they work, but not in this WebMin module and I'm wondering why...
I thought maybe it was giving 'no' because it was scsi and the description says ide
Thanks!
I think that's a bug with the Webmin module. Because when I issue the following command from shell:
******
# smartctl -a /dev/sda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Device: FUJITSU MAG3091L SUN9.0G Version: 1111
Serial number: 01495467
Device type: disk
Local Time is: Mon Jan 2 11:23:43 2006 EST
Device supports SMART and is Enabled
Temperature Warning Disabled or Not Supported
SMART Health Status: OK
Current Drive Temperature: 41 C
Drive Trip Temperature: 80 C
Manufactured in week 03 of year 2000
Current start stop count: 117 times
Recommended maximum start stop count: 10000 times
Error Counter logging not supported
Error Events logging not supported
Device does not support Self Test logging
*****
It clearly says the device supports SMART and is enabled.
I'll raise this one with Jamie (Webmin) to see if it can be fixed.
Michael.
ah that is exactly the problem and why I posted, thx very much for your patience and help.
No problems. Although I don't specifically use that module for anything, I do reference it in the "System and Status" module which emails me when the SMART status fails on any of my drives.
I also have smartmontools configured to run short tests nightly, and long tests weekly, which will email me of problems when they occur also.
I've emailed Jamie and provided him with this thread link so he's aware of it all. He may be emailing you (or me) if he has queries on our SCSI setups :)
Cheers.
Michael.
Could any of you who have SCSI drives that support SMART run the command smartctl -i /dev/sda as root at the shell prompt, and post the output? My guess is that Webmin is parsing it incorrectly..
> smartctl -i /dev/sda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Device: SEAGATE SX336704LC Version: BC13
Serial number: 3CD14CTA 2122CPRW
Device type: disk
Local Time is: Mon Jan 2 10:10:18 2006 EST
Device supports SMART and is Enabled
Temperature Warning Disabled or Not Supported
Hi
I'm also having this problem of no data returned for a SCSI HD from the SMART module. Here's the info from my system:
smartctl -i /dev/sda
smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Device: FUJITSU MAT3073NP Version: 0108
Serial number: AAS0P5601DM5
Device type: disk
Transport protocol: Parallel SCSI (SPI-4)
Local Time is: Fri Feb 17 18:30:02 2006 GMT
Device supports SMART and is Enabled
Temperature Warning Enabled
Regards
Bill
Boy, I'm glad I ran across this thread. I noticed that the webmin SMART module doesn't work with SATA drives even with kernel 2.6.15 (with libata pass-through) because it doesn't pass the "-d ata" parameter. For example:
# smartctl -d ata -a /dev/sda
I think the module should at the very least have an option in it's config for SATA drives that will give it the "-d ata" parameter so it will work.
friendly bump...
wasn't jamie going to fix this? :) thx!