Portal Home > Knowledgebase > Articles Database > S.M.A.R.T not enabled


S.M.A.R.T not enabled




Posted by xeno007, 12-18-2008, 11:27 PM
S.M.A.R.T not enabled Hi all. I have dedicated server running CentOS 5.2 with the latest release of cPanel. Every night /scripts/upcp runs and I get e-mail. I am worried about this part: Checking /dev/sda....S.M.A.R.T does not appear to be enabled for this device. Checking /dev/sdb....S.M.A.R.T does not appear to be enabled for this device. How do I enable S.M.A.R.T. (should I?) permanently? I hope to get detailed info from someone that would like to help. Thanks.

Posted by vapetrov, 12-18-2008, 11:36 PM
Just turn on S.M.A.R.T. feature in BIOS on server startup. It safe and do not decrease HDD performance. __________________ Private remote administrator of Linux servers - www.petrov.ks.ua Quality hosting - Host-Web-Site.com

Posted by xeno007, 12-18-2008, 11:39 PM
I don't have physical access to the server to be able to turn it on in BIOS. Is there a way to check if it's enabled in the BIOS? I run this smartctl -H /dev/sdb1 and it gives reply.

Posted by ub3r, 12-19-2008, 06:46 AM
you can usually get a kvm from the datacenter to access the bios, or you can ask them to enable it themselves by hooking up a console to the box, rebooting the box, and accessing the bios from there. what kind of motherboard do you have? The drive controller might not support it. Run 'dmidecode > somefile.txt' and send us a link to somefile.txt to figure out what kind of mobo you have. Also, run cat /proc/scsi/scsi So we can see what kind of drive the system has.

Posted by xeno007, 12-19-2008, 09:56 AM
Quote: Originally Posted by ub3r Run 'dmidecode > somefile.txt' and send us a link to somefile.txt to figure out what kind of mobo you have. http://pastebin.com/mf9d9648 Quote: Originally Posted by ub3r Also, run cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: WDC WD2500JS-55N Rev: 10.0 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: WDC WD2500JS-55N Rev: 10.0 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi4 Channel: 00 Id: 00 Lun: 00 Vendor: HL-DT-ST Model: DVD-ROM GDRH10N Rev: 0F03 Type: CD-ROM ANSI SCSI revision: 05 Thanks alot for your try to help me.

Posted by Eric - Zoidial, 12-19-2008, 10:29 AM
You may just need to turn on smart on the drives themselves (although getting a response from smartctl -H looks like it should already be on). Quote: smartctl -s on /dev/sda smartctl -s on /dev/sdb Then you can check if this gives full output: Quote: smartctl -a /dev/sda

Posted by xeno007, 12-19-2008, 10:33 AM
Quote: Originally Posted by Eric - Zoidial You may just need to turn on smart on the drives themselves (although getting a response from smartctl -H looks like it should already be on). I get this error for both sda and sdb Quote: smartctl -s on /dev/sda smartctl version 5.36 [i686-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ unable to fetch IEC (SMART) mode page [unsupported field in scsi command] A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

Posted by Eric - Zoidial, 12-19-2008, 10:42 AM
Did you try the command with the -T permissive options, (and maybe -d ata): Quote: smartctl -T permissive -d ata -a /dev/sda

Posted by xeno007, 12-19-2008, 10:44 AM
Now I got this replyhttp://pastebin.com/m21fc37ae Thanks everyone once again that you are trying to help me.

Posted by Eric - Zoidial, 12-19-2008, 10:53 AM
That's good output from smartctl, looks like smart is enabled. You may need to edit the script that is failing and look at where it is calling smartctl, and add the extra options "-T permissive -d ata" since your drives might need that. There's a few drive/controller combos that need one or both of those extra options to get smart data from the drive.

Posted by xeno007, 12-19-2008, 11:54 AM
cPanel does that and I have no idea how to fix this. At least we found something

Posted by jasonjm, 12-19-2008, 12:19 PM
Quote: Originally Posted by xeno007 Hi all. I have dedicated server running CentOS 5.2 with the latest release of cPanel. Every night /scripts/upcp runs and I get e-mail. I am worried about this part: Checking /dev/sda....S.M.A.R.T does not appear to be enabled for this device. Checking /dev/sdb....S.M.A.R.T does not appear to be enabled for this device. How do I enable S.M.A.R.T. (should I?) permanently? I hope to get detailed info from someone that would like to help. Thanks. I hate to say it but I usually have these issues when I'm going through a non-intel IDE or raid controller (i.e. Via).



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
vps burstnet down (Views: 753)


Language: