Milos Rajsic | 17 Dec 20:40 2014

hdd became younger

if somebody knows how is ti possible that hdd power_on_hours become 
suddenly decreased

SMART Self-test log structure revision number 1

Num  Test_Description    Status                  Remaining 
LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00% 1520         -
# 2  Extended offline    Completed without error       00% 2119         -
# 3  Extended offline    Completed without error       00% 6         -
# 4  Short offline       Completed without error       00% 0         -

if this is possible to change somehow I can just imagine what reseller 
can do with refurbished disks

other details:

Model Family:     Western Digital Red (AF)
Device Model:     WDC WD20EFRX-68EUZN0
Serial Number:    WD-WMC4M1459286
LU WWN Device Id: 5 0014ee 6ae9c785a
Firmware Version: 80.00A80
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
(Continue reading)

Kimio Miyamura | 17 Dec 10:03 2014
Picon

I'd like to fix read failure issue on Mac OS X

Hello list members,

I've got an error on one of my external hdd.  smartctl -a outputs like following: 

$ smartctl -A /dev/disk5
smartctl 6.3 2014-07-26 r3976 [x86_64-apple-darwin13.3.0] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
[SNIP]
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       17
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       1
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0
223 Load_Retry_Count        0x000a   100   100   000    Old_age   Always       -       0

Since 197 Current_Pending_Sector indicates 1, I tried short test and log test.  The result is the
following: 

$ smartctl -l selftest /dev/disk5
smartctl 6.3 2014-07-26 r3976 [x86_64-apple-darwin13.3.0] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       50%     11263         976783240
(Continue reading)

MD | 10 Dec 19:53 2014

bug with newer wd drives

hey christian!
i got it ^^ (i'm not experienced with command prompt)
here the debug results of the commands, attached as a txt file.
i hope this helps!
greetings!

______________________________________________________
powered by Perfect-Privacy.com / Secure-Mail.biz - anonymous and secure internet.
smartctl 6.3 2014-07-26 r3976 [i686-w64-mingw32-win7(64)-sp1] (sf-6.3-1)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org


 \\.\Scsi0:: successfully opened
  IOCTL_SCSI_MINIPORT(CC_CSMI_1) succeeded, bytes returned: 204
CSMI_SAS_DRIVER_INFO:
  Name:        "iaStorA"
  Description: "Intel Rapid Storage Technology "
  Revision:    11.5
  IOCTL_SCSI_MINIPORT(CC_CSMI_20) succeeded, bytes returned: 2080
CSMI_SAS_PHY_INFO: NumberOfPhys=6
Phy[0] Port:   0x00
  Type:        0x10, 0x00
  InitProto:   0x01, 0x00
  TargetProto: 0x00, 0x01
  PhyIdent:    0x00, 0x00
  SASAddress:  00 00 00 00 00 00 00 00, 00 00 00 00 00 00 00 00
Phy[1] Port:   0x01
  Type:        0x10, 0x10
  InitProto:   0x01, 0x00
  TargetProto: 0x00, 0x01
(Continue reading)

Vyankat Gaddamwar | 10 Dec 13:22 2014
Picon

smartd failed to start

Hi,

 

After upgrading Freebsd 9.1 to Freebsd 10.0 10.0-RELEASE-p12 smartd failed to start and my  current version of smartmontools is 6.0.

 

When I tried to start smartd it failed to start.

 

Please see the logs below.

 

Dec 10 13:00:06 bv1 smartd[64907]: Problem creating device name scan list

Dec 10 13:00:06 bv1 smartd[64907]: In the system's table of devices NO devices found to scan

Dec 10 13:00:06 bv1 root: /usr/local/etc/rc.d/smartd: WARNING: failed to start smartd

 

I really appreciate any help you can provide.

 

 

/V.Reddy

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
MD | 4 Dec 19:53 2014

bug

hey there!
short:
i found the bug:
smartmontools 6.2 upwards causes the bug that ata errors occur everytime you use
smartmontools with never western digital drives!!
me and teammates at work confim this!

i would really appreciate you follow this discussion to make it short:
https://hddguardian.codeplex.com/workitem/1493

thanks a lot

for more questions your welcome!

______________________________________________________
powered by Perfect-Privacy.com / Secure-Mail.biz - anonymous and secure internet.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
Ashish Jaiswal | 24 Nov 12:17 2014
Picon

HP Raid Contollers

Hello,

I have a LSI and HP raid card.  If I do "--scan" on LSI card, I get a 
output like this.

smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdb -d scsi # /dev/sdb, SCSI device
/dev/bus/0 -d megaraid,8 # /dev/bus/0 [megaraid_disk_08], SCSI device
/dev/bus/0 -d megaraid,9 # /dev/bus/0 [megaraid_disk_09], SCSI device
/dev/bus/0 -d megaraid,10 # /dev/bus/0 [megaraid_disk_10], SCSI device
/dev/bus/0 -d megaraid,11 # /dev/bus/0 [megaraid_disk_11], SCSI device
/dev/bus/0 -d megaraid,12 # /dev/bus/0 [megaraid_disk_12], SCSI device
/dev/bus/0 -d megaraid,13 # /dev/bus/0 [megaraid_disk_13], SCSI device
/dev/bus/0 -d megaraid,14 # /dev/bus/0 [megaraid_disk_14], SCSI device
/dev/bus/0 -d megaraid,15 # /dev/bus/0 [megaraid_disk_15], SCSI device

But if I do the same with HP raid one. it fails

  smartctl --scan
# scan_smart_devices: glob(3) aborted matching pattern /dev/discs/disc*

Passing the type also, doesn't help us.

smartctl --scan -d cciss,0

I have two HP boxes and it is failing on both. so the option of problem 
being on particular server is ruled out.

Any idea why it is behaving like this.
NOTE: I have not anything in smartd.conf and OS: Centos7/Opensuse13.2

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
Malyaev, Alexey | 23 Nov 13:01 2014
Picon

problem with ST3000DM001-1E6166

Hi

 

I have USB disk ST3000DM001-1E6166 and I trying to use smartctl.exe (on Windows 8)

1st of all “smartctl.exe --scan" do not list this disk.

 

I have found the disk ID just by trying and I found it, but there are errors while I’m trying to get SMART information:

>smartctl.exe -a /dev/sdd -d sat

smartctl 6.3 2014-07-26 r3976 [x86_64-w64-mingw32-win8.1] (sf-6.3-1)

Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

 

=== START OF INFORMATION SECTION ===

Model Family:     Seagate Barracuda 7200.14 (AF)

Device Model:     ST3000DM001-1E6166

Serial Number:    W1F3DJG8

LU WWN Device Id: 5 000c50 06a26774d

Firmware Version: SC47

User Capacity:    3 000 592 982 016 bytes [3,00 TB]

Sector Sizes:     512 bytes logical, 4096 bytes physical

Rotation Rate:    7200 rpm

Form Factor:      3.5 inches

Device is:        In smartctl database [for details use: -P show]

ATA Version is:   ATA8-ACS T13/1699-D revision 4

SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)

Local Time is:    Sun Nov 23 13:37:26 2014 RTZST

SMART support is: Available - device has SMART capability.

SMART support is: Enabled

 

=== START OF READ SMART DATA SECTION ===

SMART overall-health self-assessment test result: PASSED

See vendor-specific Attribute list for marginal Attributes.

 

General SMART Values:

Offline data collection status:  (0x00) Offline data collection activity

                                        was never started.

                                        Auto Offline Data Collection: Disabled.

Self-test execution status:      (   0) The previous self-test routine completed

                                        without error or no self-test has ever

                                        been run.

Total time to complete Offline

data collection:                (  600) seconds.

Offline data collection

capabilities:                    (0x73) SMART execute Offline immediate.

                                        Auto Offline data collection on/off support.

                                        Suspend Offline collection upon new

                                        command.

                                        No Offline surface scan supported.

                                        Self-test supported.

                                        Conveyance Self-test supported.

                                        Selective Self-test supported.

SMART capabilities:            (0x0003) Saves SMART data before entering

                                        power-saving mode.

                                        Supports SMART auto save timer.

Error logging capability:        (0x01) Error logging supported.

                                        General Purpose Logging supported.

Short self-test routine

recommended polling time:        (   1) minutes.

Extended self-test routine

recommended polling time:        ( 370) minutes.

Conveyance self-test routine

recommended polling time:        (   2) minutes.

SCT capabilities:              (0x3081) SCT Status supported.

 

SMART Attributes Data Structure revision number: 10

Vendor Specific SMART Attributes with Thresholds:

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE

  1 Raw_Read_Error_Rate     0x000f   109   099   006    Pre-fail  Always       -       24112528

  3 Spin_Up_Time            0x0003   092   091   000    Pre-fail  Always       -       0

  4 Start_Stop_Count        0x0032   099   099   020    Old_age   Always       -       1052

  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0

  7 Seek_Error_Rate         0x000f   053   052   030    Pre-fail  Always       -       240531478261

  9 Power_On_Hours          0x0032   091   091   000    Old_age   Always       -       8211

10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0

12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       22

183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0

184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0

187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0

188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0 0 0

189 High_Fly_Writes         0x003a   099   099   000    Old_age   Always       -       1

190 Airflow_Temperature_Cel 0x0022   058   042   045    Old_age   Always   In_the_past 42 (Min/Max 21/50 #89)

191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0

192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       8

193 Load_Cycle_Count        0x0032   074   074   000    Old_age   Always       -       53923

194 Temperature_Celsius     0x0022   042   058   000    Old_age   Always       -       42 (0 20 0 0 0)

197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0

198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0

199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0

240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       3811h+41m+54.701s

241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       15366105288

242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       42397751117

 

Read SMART Log Directory failed: IOCTL_SCSI_PASS_THROUGH_DIRECT failed, Error=1117

 

Read SMART Error Log failed: IOCTL_SCSI_PASS_THROUGH_DIRECT failed, Error=1117

 

Read SMART Self-test Log failed: IOCTL_SCSI_PASS_THROUGH_DIRECT failed, Error=1117

 

Read SMART Selective Self-test Log failed: IOCTL_SCSI_PASS_THROUGH_DIRECT failed, Error=1117

 

Also while the errors are displayed my computer is hanging for several minutes.

 

Is it possible to solve the problem?

 

Thanks in advance,

_________________________________

Alexey Malyaev | Program Manager, BU UC, MERA | N.Novgorod, Russia | +7 (831) 2788858

 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
Bruce Allen | 14 Nov 00:33 2014
Picon

SMART statistics for 40, 000 disk drives, from Backblaze

Dear Smartmontools developers and users,

The company Backblaze has 100 Petabytes of data stored on 40,000 disk drives.  They have released some
interesting statistics showing how SMART data correlates to drive failure, which may be of interest to
some of you.  A good entry point is: https://www.backblaze.com/blog/hard-drive-smart-stats/ .

Cheers,
	Bruce

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
Y. | 13 Nov 15:07 2014
Picon

kernel errors and unknown SMART properties

Hi!
My issue is a bit complex. Please bear with me.
I wrote a lenghty article on the subject a year ago:
http://yalis.fr/cms/index.php/post/2013/12/14/“If-it-ain’t-broken,-don’t-fix-it”…-or-should-you

At the time, I decided to just let things be, since I had no clue to a 
solution.
Today, I decided to try some new tests. I ran smartctl with -d marvell, 
ata, scsi, sat, sat,12, sat,16, with -i, -a, -x, diff'ed the results… 
all the time while running tail -f /var/log/syslog | grep kernel.

First, I could see that probably ALL of my kernel errors stem from Smart 
actions.

But all these tests produced loads of Unknown_Attribute. _Until I ran_:
diff <(smartctl -d sat,12 -x /dev/sda) <(smartctl -d sat,16 -x /dev/sda)

And there, for the first time in a very long time, I could see:
>   1 Raw_Read_Error_Rate     POSR-K   200   200   ---    -    0
>   3 Spin_Up_Time            POS--K   229   176   ---    -    3533
>   4 Start_Stop_Count        -O--CK   100   100   ---    -    568
>   5 Reallocated_Sector_Ct   PO--CK   200   200   ---    -    0
>   7 Seek_Error_Rate         -OSR-K   200   200   ---    -    0
>   9 Power_On_Hours          -O--CK   088   088   ---    -    9333
>  10 Spin_Retry_Count        -O--CK   100   100   ---    -    0
>  11 Calibration_Retry_Count -O--CK   100   253   ---    -    0
>  12 Power_Cycle_Count       -O--CK   100   100   ---    -    36
> 192 Power-Off_Retract_Count -O--CK   200   200   ---    -    24
> 193 Load_Cycle_Count        -O--CK   200   200   ---    -    543
> 194 Temperature_Celsius     -O---K   118   110   ---    -    32
> 196 Reallocated_Event_Count -O--CK   200   200   ---    -    0
> 197 Current_Pending_Sector  -O--CK   200   200   ---    -    0
> 198 Offline_Uncorrectable   ----CK   200   200   ---    -    0
> 199 UDMA_CRC_Error_Count    -O--CK   200   001   ---    -    819

So I thought: Oh!, so sat,16 is the right value, and I forgot to specify 
",16" before! Well, except that this is the default value, and sure 
enough, a subsequent run of smartctl -d sat,16 -x /dev/sda just gave me 
Unknown_Attribute. Bummer.

I tried to run this last command again and again, to no avail: only 
Unknown_Attribute :-(

_But_ I found that running with -d sat,12, then -d sat,16, then -d 
sat,12, and so on, would sometimes give me the right output. Only, this 
right output would sometimes occur while running with -d sat,16, and 
sometimes occur while running with -d sat,12! So weird.

Oh, and did I mention, that while it is so hard to get a useful result 
with smartctl, smartd seems to run mostly happily, since I am notified 
every day of a bunch of changes in the temperature property from 118 to 
117, and back to 118, and so on… and a couple of other properties too. 
I'm lost, I don't get the logic of any of this.

I don't want to make this mail any longer than it already is, so I'll 
stop here. But please advise me in kernel configuration, smart 
configuration, anything. Ask questions! About anything! This can be a 
long-winded year-long exploration if need be.
Thanks,

Yves.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
Sven Köhler | 9 Nov 01:31 2014
Picon

smartd's email notifcations

Hi,

configuring email notifications of smartd is a pretty unpleasant
experience, I have to say. I'm still not sure that I've got it right,
and I'm not even sure whether smartd supports what I want.

In smartd, I currently have
-m root -M daily -H -t -l error -l selftest -R 5! -R 187! -W 2,45,50

And smartd is started with -s /var/lib/smartd to make the states
persistent across reboots and restarts of smartd.
(BTW: State persistence makes so much sense to me that it should be
enabled by default, IMHO.)

Do I have to specify -U 198 to get emails about offline sectors? The
documentation claims that -U 198 is the default. So I hope I'll get emails.

In addition, I want to get an email whenever the reallocated sector
counter increases (that's why I have -R 5!). But until recently, I
didn't have -M daily in smartd.conf and -M once was the default,
apparently. So I got exactly one email from smartd saying the counter
increased. I never got a second or even a third email, even though the
counter continued to increase.

So I added -M daily, but the documentation says that -M daily means that
I get daily reminder emails. My interpretation is that once the
reallocation sector count has increased, I get one mail per day forever
- even if it does not increase further. That would be less than ideal,
to be honest.

Sure, reminder emails make sense for certain things (like failing
attributed, non-zero offline sector count). But they don't make sense
for other things (like reallocated sector count).

Is there any way to tell smartd to send an email whenever the
reallocated sector count changes - and only if it has changed since the
last email?

Regards,
  Sven

------------------------------------------------------------------------------
Gregory Sloop | 6 Nov 16:44 2014
Picon

Re: Beginner Help

Doesn't which drive you were testing in the command line tell you where it's plugged in?

i.e. smartctl -a /dev/sda [Well, *you* asked it to list all the information for /dev/sda - so it should be obvious that whatever drive is plugged into /dev/sda is the drive you're referencing!]

If you tested /dev/sda - then the result is for the drive that is connected to whatever port is /dev/sda!
If you move that drive to another port, it's going to be /dev/sdb or something different. But the device *you* supply to test is which port the drive is plugged into. You're not testing a specific device/drive, you're testing the device connected to a specific port. [/dev/sda in the example above.]

Further, if you look at the output, it will list the serial number of the drive. If you're really not sure, you can compare the serial number of the output with that physically printed on the drive.

As I noted in my initial response to the list, it really seems you haven't thoroughly read the docs and spent substantial time understanding the very basics of the tool - so you ask very odd questions. Perhaps I'm overly irritated about it, but it seems, to me at least, like you're wasting time asking for others to solve your problem and supply an exact command-line example that will do everything you need. [Like logging, for example. "> somefile" seemed obvious ...]

The same criticism applies to this "position" question. Smartmon doesn't *continually* monitor the state of specific controller ports or drives. It gives you some stats that apply to the very instant that smartmontools ran on a particular/specific device. If the drive/device experiences problems [or is unplugged etc] 5m from now, smartmontools won't know anything about it until you run it again. It will then, again, give you some values on the drive that apply to that specific moment in time, and that will apply to the device you asked it about - i.e. /dev/sda.

-Greg

---
For reference, here's part of the data returned by a smartctl -a /dev/sdX

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital VelociRaptor
Device Model:     WDC WD1600HLFS-75G6U0
Serial Number:    WD-WXL111111111
LU WWN Device Id: 5 0014ee 056252940
Firmware Version: 04.04V01
User Capacity:    160,000,000,000 bytes [160 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    10000 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.5, 3.0 Gb/s
Local Time is:    Thu Nov 06 07:25:40 2014 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled



Hi Robert,

By disk position I mean to say that suppose you have multiple disks in your machine then say disk at position 2 was plugged in or out, disk at position 4 had a bad sector etc. I mean to say each disk would be placed at a position in your machine, so can we get this position using smartctl.

One thing more that how smartd is useful to us?

Thanks & Regards,
Manu

From: robert <at> spotswood-computer.net
Sent: Wed, 05 Nov 2014 23:44:11
To: "Himanshu Pandey" <pandey_himanshu80 <at> rediffmail.com>
Cc: "smartmontools-support <at> lists.sourceforge.net" <smartmontools-support <at> lists.sourceforge.net>
Subject: Re: [smartmontools-support] Beginner Help
Do keep in mind 5.38 is quite old. I recommend you upgrade. Beyond that,
it is -x, not -X (Linux is case sensitive). The old version of the -x
command is -a . -x requires the drive support 48 bit commands, while -a
only requires 28 (I think). However, on larger drives, the 28 bit commands
can return bogus values.

For the individual pieces of info:

1 - Position of the drive - Don't understand what you want here. The age
of the drive???
2 - Disk plugged in or out - In Linux, the system logs should record that.
SMART has nothing to do with that.
3 - Bad sector - Look for changes (in SMART) in the *RAW* values of
pending and reallocated sectors. Of course, not pending sectors are really
bad, but a change in the value will tell you something is going on, at
least for platter drives. SSD drives are still to new to me to give firm
advice.

> Hi Robert,
> Yesterday you told me the command smarctl -X for logging but unfortunately
> I can't use this command as my device is using the version 5.38 and this
> command is not available with this version. Actually I am looking for only
> two important pieces of information which I have to log, &nbsp;the one is
> position of disk drive and the second is event like disk plugged in,
> plugged out, bad sector etc. Please tell me where can I find this
> information and how?
> Please help.
> Regards,Manu&nbsp;
> From: robert <at> spotswood-computer.net
> Sent: Wed, 05 Nov 2014 18:51:02
> To: "Himanshu  Pandey" &lt;');">pandey_himanshu80 <at> rediffmail.com>;
> Cc: "smartmontools-support <at> lists.sourceforge.net"
> &lt;');">smartmontools-support <at> lists.sourceforge.net>;
> Subject: Re: [smartmontools-support] Beginner Help
> Since it's a CF card, it is likely that the chipset of the card (or card
>
> reader) does not support SAT. SMART is technically optional...
>
>
>
> &gt; Hi,
>
> &gt; On running the command&amp;nbsp;smartctl -a /dev/sda on my device,I
> get the
>
> &gt; following output
>
> &gt; smartctl 6.3 2014-07-26 r3976 [x86_64-linux-2.6.34msg64_2xxx] (local
>
> &gt; build)Copyright (C) 2002-14, Bruce Allen, Christian Franke,
>
> &gt; www.smartmontools.org
>
> &gt; === START OF INFORMATION SECTION ===Model Family: &amp;nbsp;
> &amp;nbsp; Transcend
>
> &gt; CompactFlash CardsDevice Model: &amp;nbsp; &amp;nbsp; TRANSCENDSerial
> Number:
>
> &gt; &amp;nbsp; &amp;nbsp;20100412 &amp;nbsp; &amp;nbsp;CF1007B4Firmware
> Version: 20100202User
>
> &gt; Capacity: &amp;nbsp; &amp;nbsp;2,038,063,104 bytes [2.03 GB]Sector
> Size: &amp;nbsp;
>
> &gt; &amp;nbsp; &amp;nbsp;512 bytes logical/physicalDevice is: &amp;nbsp;
> &amp;nbsp; &amp;nbsp;
>
> &gt; &amp;nbsp;In smartctl database [for details use: -P show]ATA Version
> is:
>
> &gt; &amp;nbsp; ATA/ATAPI-4 (minor revision not indicated)Local Time is:
> &amp;nbsp;
>
> &gt; &amp;nbsp;Wed Nov &amp;nbsp;5 15:35:11 2014 ISTSMART support is:
> Ambiguous - ATA
>
> &gt; IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.A
> mandatory
>
> &gt; SMART command failed: exiting. To continue, add one or more '-T
>
> &gt; permissive' options.&amp;nbsp;
>
> &gt; Can anybody tell me that why I am getting "SMART support is:
> Ambiguous -
>
> &gt; ATA IDENTIFY DEVICE words 85-87 don't show if SMART is
> enabled."&amp;nbsp;
>
> &gt; How to solve this problem?
>
> &gt; Please help.
>
> &gt; Regards,Manu
>
> &lt;snip&gt;
>
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
>
> Smartmontools-support mailing list
>
> Smartmontools-support <at> lists.sourceforge.net
>
> https://lists.sourceforge.net/lists/listinfo/smartmontools-support
>
>



------------------------------------------------------------------------------
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support


Get your own FREE website, FREE domain & FREE mobile app with Company email.   Know More >


--
Gregory Sloop, Principal: Sloop Network & Computer Consulting
Voice: 503.251.0452 x82
EMail:
gregs <at> sloop.net
http://www.sloop.net
---
------------------------------------------------------------------------------
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support

Gmane