| Newsgroups |
gmane.linux.utilities.smartmontools |
| Message-ID |
<[email protected]> |
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, 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
> From: [email protected]
> Sent: Wed, 05 Nov 2014 18:51:02
> To: "Himanshu Pandey" <[email protected]>
> Cc: "[email protected]"
> <[email protected]>
> 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...
>
>
>
> > Hi,
>
> > On running the command&nbsp;smartctl -a /dev/sda on my device,I
> get the
>
> > following output
>
> > smartctl 6.3 2014-07-26 r3976 [x86_64-linux-2.6.34msg64_2xxx] (local
>
> > build)Copyright (C) 2002-14, Bruce Allen, Christian Franke,
>
> > www.smartmontools.org
>
> > === START OF INFORMATION SECTION ===Model Family: &nbsp;
> &nbsp; Transcend
>
> > CompactFlash CardsDevice Model: &nbsp; &nbsp; TRANSCENDSerial
> Number:
>
> > &nbsp; &nbsp;20100412 &nbsp; &nbsp;CF1007B4Firmware
> Version: 20100202User
>
> > Capacity: &nbsp; &nbsp;2,038,063,104 bytes [2.03 GB]Sector
> Size: &nbsp;
>
> > &nbsp; &nbsp;512 bytes logical/physicalDevice is: &nbsp;
> &nbsp; &nbsp;
>
> > &nbsp;In smartctl database [for details use: -P show]ATA Version
> is:
>
> > &nbsp; ATA/ATAPI-4 (minor revision not indicated)Local Time is:
> &nbsp;
>
> > &nbsp;Wed Nov &nbsp;5 15:35:11 2014 ISTSMART support is:
> Ambiguous - ATA
>
> > IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.A
> mandatory
>
> > SMART command failed: exiting. To continue, add one or more '-T
>
> > permissive' options.&nbsp;
>
> > Can anybody tell me that why I am getting "SMART support is:
> Ambiguous -
>
> > ATA IDENTIFY DEVICE words 85-87 don't show if SMART is
> enabled."&nbsp;
>
> > How to solve this problem?
>
> > Please help.
>
> > Regards,Manu
>
> <snip>
>
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
>
> Smartmontools-support mailing list
>
> [email protected]
>
> https://lists.sourceforge.net/lists/listinfo/smartmontools-support
>
>
------------------------------------------------------------------------------