Re: Beginner Help

[email protected]
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, &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: [email protected]
> Sent: Wed, 05 Nov 2014 18:51:02
> To: "Himanshu  Pandey" &lt;[email protected]&gt;
> Cc: "[email protected]"
> &lt;[email protected]&gt;
> 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
>
> [email protected]
>
> https://lists.sourceforge.net/lists/listinfo/smartmontools-support
>
>



------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.