Alex Samorukov | 3 Nov 2011 10:58
Picon

LSI controllers with SATA disks - buggy fw with SAT protocol

Hi,

I got a new server with LSI (Perc6i) controller on-board and 10 SATA 
drives plugged. As promised i did some experiments:

1) Latest version of Linux code works safe, smartctl -x and other tested 
commands do not do any harm to the device. Of course, scterc is not 
supported and SMART HEALTH status is not working correctly. Anyway i 
don`t think that it does make a sense to re-enable auto dection and 
remove a waring. It works fine with sat+megaraid, and it is possible 
that there are some other, not discovered bugs.

2) I also tried smartctl on FreeBSD. This OS provides virtual SCSI 
devices to access drives behind the controller (Like Adaptec on Linux). 
Smartctl correctly detects SAT device but i got the same issues as on 
unpatched Linux code. smartctl -l scterc /dev/pass0 may cause controller 
hang (for about 1 minute) with a lot of warning like

mfi0: 5973 (373629026s/0x0002/info) - Unexpected sense: PD 00(e0x20/s0) 
Path 1221000000000000, CDB: 2a 00 6f 24 dd 3f 00 00 20 00, Sense: 6/29/00

I will try to add some BSD code to detect if SCSI device is on mfiX 
driver to disable SAT detection (with warning) in this case.

Also i updated firmware to the latest from Dell web site (6.3.1-0003) 
but it has the same bugs. From this experiment it is clear that it is 
firmware bug which could not be fixed in driver/smartmontools.

------------------------------------------------------------------------------
RSA(R) Conference 2012
(Continue reading)

Sajeesh Premachandran | 4 Nov 2011 06:26
Favicon

Query about the Smartmontools

Hi,

                This  mail to get some more information on SMARTMONTOOLS

               

Can you please give the information which SMART attribute ID implies the Bad sector value of the Hard disk.

 

I have one more doubt that when we execute a  smartctl -A /dev/hda we are getting the output as:

 

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

  1 Raw_Read_Error_Rate     0x000f   100   100   046    Pre-fail  Always       -       87041

  2 Throughput_Performance  0x0005   100   100   030    Pre-fail  Offline      -       36962304

  3 Spin_Up_Time            0x0003   100   100   025    Pre-fail  Always       -       1

  4 Start_Stop_Count        0x0032   099   099   000    Old_age   Always       -       3445

  5 Reallocated_Sector_Ct   0x0033   100   100   024    Pre-fail  Always       -       0 (2000, 0)

  7 Seek_Error_Rate         0x000f   100   100   047    Pre-fail  Always       -       2182

  8 Seek_Time_Performance   0x0005   100   100   019    Pre-fail  Offline      -       0

  9 Power_On_Hours          0x0032   092   092   000    Old_age   Always       -       4353

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

11 Calibration_Retry_Count 0x0032   253   253   000    Old_age   Always       -       0

12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       2498

182 Erase_Fail_Count_Total  0x0032   100   100   000    Old_age   Always       -       0

184 End-to-End_Error        0x0033   253   253   097    Pre-fail  Always       -       0

185 Unknown_Attribute       0x0010   253   253   000    Old_age   Offline      -       0

186 Unknown_Attribute       0x0032   253   253   000    Old_age   Always       -       0

187 Reported_Uncorrect      0x0032   100   096   000    Old_age   Always       -       44130788966431

188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0

189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0

190 Airflow_Temperature_Cel 0x0022   059   047   000    Old_age   Always       -       41 (Min/Max 27/43)

191 G-Sense_Error_Rate      0x0032   253   099   000    Old_age   Always       -       16580614

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

193 Load_Cycle_Count        0x0032   099   099   000    Old_age   Always       -       23722

195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       102

196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0 (0, 6419)

197 Current_Pending_Sector  0x0012   100   099   000    Old_age   Always       -       0

198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0

199 UDMA_CRC_Error_Count    0x003e   200   253   000    Old_age   Always       -       0

200 Multi_Zone_Error_Rate   0x000f   100   100   060    Pre-fail  Always       -       6209

203 Run_Out_Cancel          0x0002   100   100   000    Old_age   Always       -       3732298990557

240 Transfer_Error_Rate     0x003e   200   200   000    Old_age   Always       -       0

 

From the above output We need only the Raw_Read_Error_Rate  and the Seek_Error _Rate, How can I get only those details. If you have any command for that please share which will be more helpful for us.

 

Regards,

 

Sajeesh Premachandran.  

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
trilby50154 | 5 Nov 2011 20:48
Favicon

smartctl 5.40 does not work with external ST9500420AS

I'm using "smartctl 5.42" on a 17" G4 PowerBook running Mac OS X 10.4.11 (all updates installed). The
"configure", "make", and "make install" all worked with no error (I have the output). 

My Mac is:
  Machine Name: PowerBook G4 17"
  Machine Model: PowerBook5,9
  CPU Type: PowerPC G4 (1.5)
  Number Of CPUs: 1
  CPU Speed: 1.67 GHz
  L2 Cache (per CPU): 512 KB
  Memory: 1.5 GB
  Bus Speed: 167 MHz
  Boot ROM Version: 4.9.6f0

"smartctl 5.42" works with these internal disks:
disk0 - Hitachi HTS723232L9A360 (uses MCE OptiBay, PATA-SATA interface)
disk1 - Hitachi HTS721010G9AT00 (standard ATA bus)

"smartctl 5.42" hangs using:
- external eSATA drive (OWC Mercury Elite-AL Pro mini)
  contains: 500GB Seagate Momentus 7200 Drive (ST9500420AS)
- eSATA interface is: SeriTek/1SM2 cardbus card

Here is the output from "smartctl --all disk2 -T permissive" command
smartctl 5.42 2011-10-20 r3458 [powerpc-apple-darwin8.11.0] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model:     eSATA-2 ST9500420AS
Serial Number:    5VJ4Y0D6
Firmware Version: 0002SDM1
User Capacity:    500,107,862,016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   6
ATA Standard is:  ATA/ATAPI-6 T13 1410D revision 1
Local Time is:    Sat Nov  5 14:19:37 2011 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

---"smartctl" hangs at this point

---cycling power on external drive results in:

Error SMART Values Read failed: Unknown error: 0
Smartctl: SMART Read Values failed.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.

Error SMART Error Log Read failed: Unknown error: 0
Smartctl: SMART Error Log Read Failed
Error SMART Error Self-Test Log Read failed: Unknown error: 0
Smartctl: SMART Self Test Log Read Failed
Device does not support Selective Self Tests/Logging

The "smartctl -i disk2 -T permissive" command returns:

smartctl 5.42 2011-10-20 r3458 [powerpc-apple-darwin8.11.0] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model:     eSATA-2 ST9500420AS
Serial Number:    5VJ4Y0D6
Firmware Version: 0002SDM1
User Capacity:    500,107,862,016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   6
ATA Standard is:  ATA/ATAPI-6 T13 1410D revision 1
Local Time is:    Sat Nov  5 13:55:16 2011 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

"smartctl -i disk2 -P showall" returns:
...
MODEL REGEXP:       ST9(160412|250410|320423|500420)ASG?
FIRMWARE REGEXP:    .*
MODEL FAMILY:       Seagate Momentus 7200.4
ATTRIBUTE OPTIONS:  None preset; no -v options are required.
...
This is the drive in the external enclosure.

Is the problem:
- the "eSATA-2" in the "Device Model: eSATA-2 ST9500420AS"?
- the Cardbus eSATA interface "SeriTek/1SM2 cardbus card"?
- something else?

I'll supply what other information is needed to fix this problem if I'm told what is needed & how to get it.

Thanks,

Joe

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Jörg Sommer | 5 Nov 2011 12:10
Picon

smartd: How to suppress the warning about buggy firmware?

Hi,

I've a Samsung HD204UI drive and everytime smartd starts, I get this
warning via syslog:

Nov  5 11:47:14 host smartd[31991]: Device: /dev/disk/by-id/ata-SAMSUNG_HD204UI_S2H7J9KB805568
[SAT], WARNING: Using smartmontools or hdparm with this
Nov  5 11:47:14 host smartd[31991]: drive may result in data loss due to a firmware bug.
Nov  5 11:47:14 host smartd[31991]: ****** THIS DRIVE MAY OR MAY NOT BE AFFECTED! ******
Nov  5 11:47:14 host smartd[31991]: Buggy and fixed firmware report same version number!
Nov  5 11:47:14 host smartd[31991]: See the following web pages for details:
Nov  5 11:47:14 host smartd[31991]: http://www.samsung.com/global/business/hdd/faqView.do?b2b_bbs_msg_id=386
Nov  5 11:47:14 host smartd[31991]: http://sourceforge.net/apps/trac/smartmontools/wiki/SamsungF4EGBadBlocks

I've check the named pages and due to the age of my disk, I think my
firmware is not buggy. But how can I tell smartd to suppress this
warning? I don't like to filter the messages in syslog. Is there a switch
like i-know-my-firmware-is-not-broken?

Bye, Jörg.
--

-- 
at lilo press tab key | an Luftmatratzenpressetabulatorschlüssel
(Übersetzung von Personal Translator 2000)
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Smartmontools-support mailing list
Smartmontools-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/smartmontools-support
David Cunningham | 2 Nov 2011 02:26
Favicon

Current_Pending_Sector vanishes and Reallocated_Sector_Ct still zero?

Hi Folks.  I'm seeing some strangeness with smart reporting.  After 
seeing "Unrecovered read error" show up in dmesg I ran smartctl on my 
drive and saw Current_Pending_Sector has the value of "1".  I rebooted 
using a live CD in order to work on the drive and then noticed that 
smart now shows Current_Pending_Sector back to zero but 
Reallocated_Sector_Ct is also zero??  Where did the pending sector go 
then?  Am I misunderstanding how smart works?  Included below is the 
dmesg report showing the unrecovered read error as well as a 
before/after smartctl -a on the drive in question.  Western Digital's 
web site shows no firmware updates for my drive model.  Can anyone 
comment on why the pending sector seems to have vanished?

RELEVANT LINES OF DMESG:
[342439.024342] ata2.00: status: { DRDY ERR }
[342439.024345] ata2.00: error: { UNC }
[342439.026208] ata2.00: configured for UDMA/133
[342439.026219] ata2: EH complete
[342442.274348] ata2.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
[342442.274352] ata2.00: irq_stat 0x40000008
[342442.274356] ata2.00: failed command: READ FPDMA QUEUED
[342442.274363] ata2.00: cmd 60/08:00:74:96:1e/00:00:1c:00:00/40 tag 0 
ncq 4096 in
[342442.274365]          res 41/40:00:7a:96:1e/00:00:1c:00:00/40 Emask 
0x409 (media error) <F>
[342442.274368] ata2.00: status: { DRDY ERR }
[342442.274371] ata2.00: error: { UNC }
[342442.276251] ata2.00: configured for UDMA/133
[342442.276261] ata2: EH complete
[342445.366025] ata2.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
[342445.366030] ata2.00: irq_stat 0x40000008
[342445.366034] ata2.00: failed command: READ FPDMA QUEUED
[342445.366042] ata2.00: cmd 60/08:00:74:96:1e/00:00:1c:00:00/40 tag 0 
ncq 4096 in
[342445.366043]          res 41/40:00:7a:96:1e/00:00:1c:00:00/40 Emask 
0x409 (media error) <F>
[342445.366047] ata2.00: status: { DRDY ERR }
[342445.366050] ata2.00: error: { UNC }
[342445.367929] ata2.00: configured for UDMA/133
[342445.367941] sd 1:0:0:0: [sda] Unhandled sense code
[342445.367944] sd 1:0:0:0: [sda] Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE
[342445.367949] sd 1:0:0:0: [sda] Sense Key : Medium Error [current] 
[descriptor]
[342445.367955] Descriptor sense data with sense descriptors (in hex):
[342445.367958]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[342445.367971]         1c 1e 96 7a
[342445.367977] sd 1:0:0:0: [sda] Add. Sense: Unrecovered read error - 
auto reallocate failed
[342445.367984] sd 1:0:0:0: [sda] CDB: Read(10): 28 00 1c 1e 96 74 00 00 
08 00
[342445.367996] end_request: I/O error, dev sda, sector 471766650
[342445.368013] ata2: EH complete

SMARTCTL -A /DEV/SDA (BEFORE REBOOT):

smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Second Generation Serial ATA family
Device Model:     WDC WD3200AAKS-00B3A0
Serial Number:    WD-WCAT14033919
Firmware Version: 01.03A01
User Capacity:    320,072,933,376 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Mon Oct 31 10:50:08 2011 PDT
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

General SMART Values:
Offline data collection status:  (0x84)    Offline data collection activity
                    was suspended by an interrupting command from host.
                    Auto Offline Data Collection: Enabled.
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:          (5760) seconds.
Offline data collection
capabilities:              (0x7b) SMART execute Offline immediate.
                    Auto Offline data collection on/off support.
                    Suspend Offline collection upon new
                    command.
                    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:      (   2) minutes.
Extended self-test routine
recommended polling time:      (  70) minutes.
Conveyance self-test routine
recommended polling time:      (   5) minutes.
SCT capabilities:            (0x303f)    SCT Status supported.
                    SCT Feature Control supported.
                    SCT Data Table supported.

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
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  
Always       -       12
  3 Spin_Up_Time            0x0027   152   150   021    Pre-fail  
Always       -       3391
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   
Always       -       935
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  
Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   
Always       -       0
  9 Power_On_Hours          0x0032   073   073   000    Old_age   
Always       -       19871
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   
Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   
Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   
Always       -       922
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   
Always       -       210
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   
Always       -       935
194 Temperature_Celsius     0x0022   103   095   000    Old_age   
Always       -       40
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   
Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   
Always       -       1
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   
Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   
Always       -       4
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   
Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

SMARTCTL -A /DEV/SDA (AFTER REBOOT):

smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Second Generation Serial ATA family
Device Model:     WDC WD3200AAKS-00B3A0
Serial Number:    WD-WCAT14033919
Firmware Version: 01.03A01
User Capacity:    320,072,933,376 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Tue Nov  1 17:48:30 2011 PDT
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

General SMART Values:
Offline data collection status:  (0x84)    Offline data collection activity
                    was suspended by an interrupting command from host.
                    Auto Offline Data Collection: Enabled.
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:          (5760) seconds.
Offline data collection
capabilities:              (0x7b) SMART execute Offline immediate.
                    Auto Offline data collection on/off support.
                    Suspend Offline collection upon new
                    command.
                    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:      (   2) minutes.
Extended self-test routine
recommended polling time:      (  70) minutes.
Conveyance self-test routine
recommended polling time:      (   5) minutes.
SCT capabilities:            (0x303f)    SCT Status supported.
                    SCT Feature Control supported.
                    SCT Data Table supported.

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
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  
Always       -       12
  3 Spin_Up_Time            0x0027   152   150   021    Pre-fail  
Always       -       3400
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   
Always       -       937
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  
Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   
Always       -       0
  9 Power_On_Hours          0x0032   073   073   000    Old_age   
Always       -       19895
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   
Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   
Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   
Always       -       924
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   
Always       -       210
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   
Always       -       937
194 Temperature_Celsius     0x0022   104   095   000    Old_age   
Always       -       39
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   
Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   
Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   
Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   
Always       -       4
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   
Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  
LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     
19873         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Marc Herndon | 3 Nov 2011 03:04
Picon

smartctl --scan limited to 10 disks in Windows?

This afternoon I noticed an odd behavior when attempting to use the --scan
option for smartctl 5.42 under Windows 2008 Server.  Regardless of how many
disks are installed in the system, a maximum of 10 are displayed when
running --scan, up through /dev/sdj.  The behavior is the same when using
--scan-open as well.  By accident once, I repeated the test with a USB stick
installed in the system, which Windows assigned as PhysicalDrive3.  In that
scenario when running --scan it only listed 9 total drives, even though
there were more installed.  It appears to me that it is only scanning
PhysicalDrive0 through PhysicalDrive9, and since the USB stick was consuming
one of those slots the scan only found 9 drives to list in the range.

At the time I was using a server with 8 SAS bays connected via SAS HBA to an
external enclosure with 25 additional bays.  That's 33 disks total, all of
which were recognized by Windows' disk manager (PhysicalDrive0 through 32).
For what it's worth, if I ignore the fact that the scan only shows 10
drives, and do something like smartctl -d scsi -i /dev/sdp, or another disk
past the 10th, the operation works perfectly fine.  In other words, the
disks are clearly responsive to smartctl, but the --scan option simply
doesn't list them.

As a comparison point I came home this evening and ran the same --scan
option on my Ubuntu Linux server with smartmontools 5.42 and 11 drives
installed, and it correctly listed out all 11 drives, through /dev/sdk.  I
don't have the ability to test with more than 11 drives under Linux, but at
least that demonstrates that there is no hard cap at 10.  Is there an
inherent limitation on the Windows side that causes the scan to stop after
10 drives, or can this behavior be corrected?

Thank you,
Marc

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Christian Franke | 6 Nov 2011 18:00
Picon
Favicon

Re: smartd: How to suppress the warning about buggy firmware?

Jörg Sommer wrote:
> Hi,
>
> I've a Samsung HD204UI drive and everytime smartd starts, I get this
> warning via syslog:
>
> Nov  5 11:47:14 host smartd[31991]: Device: /dev/disk/by-id/ata-SAMSUNG_HD204UI_S2H7J9KB805568
[SAT], WARNING: Using smartmontools or hdparm with this
> Nov  5 11:47:14 host smartd[31991]: drive may result in data loss due to a firmware bug.
> Nov  5 11:47:14 host smartd[31991]: ****** THIS DRIVE MAY OR MAY NOT BE AFFECTED! ******
> Nov  5 11:47:14 host smartd[31991]: Buggy and fixed firmware report same version number!
> Nov  5 11:47:14 host smartd[31991]: See the following web pages for details:
> Nov  5 11:47:14 host smartd[31991]: http://www.samsung.com/global/business/hdd/faqView.do?b2b_bbs_msg_id=386
> Nov  5 11:47:14 host smartd[31991]: http://sourceforge.net/apps/trac/smartmontools/wiki/SamsungF4EGBadBlocks
>
> I've check the named pages and due to the age of my disk, I think my
> firmware is not buggy.

I recently tested a HD204UI with manufacturing date June 2011. The bug 
could not be reproduced. It works fine with smartd.

>   But how can I tell smartd to suppress this
> warning? I don't like to filter the messages in syslog. Is there a switch
> like i-know-my-firmware-is-not-broken?

No there isn't and it is not needed. You can add local drive database 
entries which override the defaults. Here is an example for this disk:
http://sourceforge.net/mailarchive/message.php?msg_id=27379248

Cheers,
Christian

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Timo Neuvonen | 6 Nov 2011 19:14

3ware smart data-decode-only in linux

I have a VMware ESXi system with 3ware controller, from where I get smart 
data with tw_cli tool over ssh.

Is there any way to pipe this data to smartctl run under linux? man smartctl 
says under subtitle "Windows":
----
Use "/dev/tw_cli/stdin" or "/dev/tw_cli/clip" to parse CLI or 3DM output
from standard input or clipboard.
----
So, is this a Windows-only feature, or is there any way to get the similar 
functionality in linux? Basically, it might be like this:

tw_cli /c0/p2 show smart | smartctl -a -d 3ware,2 /dev/tw_cli/stdin

which unfortunately (as I expected) simply claims for missing 
/dev/tw_cli/stdin device... the above line would be a test only, since the 
actual controller I'm interested in, is in another hardware (running ESXi).

Regards,
Timo 

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Christian Franke | 7 Nov 2011 21:20
Picon
Favicon

Re: 3ware smart data-decode-only in linux

Timo Neuvonen wrote:
> I have a VMware ESXi system with 3ware controller, from where I get smart
> data with tw_cli tool over ssh.
>
> Is there any way to pipe this data to smartctl run under linux? man smartctl
> says under subtitle "Windows":
> ----
> Use "/dev/tw_cli/stdin" or "/dev/tw_cli/clip" to parse CLI or 3DM output
> from standard input or clipboard.
> ----
> So, is this a Windows-only feature, or is there any way to get the similar
> functionality in linux? ...

It's implemented for Windows only. Moving this to the OS independent 
code would be possible but is not planned yet.

Please create a ticket:
https://sourceforge.net/apps/trac/smartmontools/newticket

Cheers,
Christian

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Christian Franke | 7 Nov 2011 21:47
Picon
Favicon

Re: Current_Pending_Sector vanishes and Reallocated_Sector_Ct still zero?

David Cunningham wrote:
> Hi Folks.  I'm seeing some strangeness with smart reporting.  After
> seeing "Unrecovered read error" show up in dmesg I ran smartctl on my
> drive and saw Current_Pending_Sector has the value of "1".  I rebooted
> using a live CD in order to work on the drive and then noticed that
> smart now shows Current_Pending_Sector back to zero but
> Reallocated_Sector_Ct is also zero??  Where did the pending sector go
> then?

Possible reasons:
- Read error was transient, sector was not reallocated.
- Sector was overwritten and now works again, sector was not reallocated.
- Sector was reallocated but the firmware didn't update 
Reallocated_Sector_Ct raw value

> ...
> SMART Error Log Version: 1
> No Errors Logged
> ...

The "No Errors Logged" info may be misleading because the old SMART 
Error Log does not support LBA48. Some newer drives log errors only in 
the new Extended Comprehensive Error Log which can be printed with 
'smartctl -l xerror' or '-x'. Requires smartctl >= 5.39.

Cheers,
Christian

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1

Gmane