Tanel

Member
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Tanel

  • Rank
    Member
  1. Tanel

    TLER / CCTL

    There is a lot of uncertainty going around about the Samsung F4 EcoGreen (HD204UI). I thought I'd bring an end to that. ## # Specifications: ## Motherboard: ASRock Z68 Pro3-M, BIOS v1.40, BIOS SATA Mode: AHCI Drives: 3x Samsung F4 EcoGreen 2TB (HD204UI), firmware "1AQ10001" out-of-box, all labeled "2011.07" Software stack A: Ubuntu 11.04 Desktop Live-CD i386, hdparm v9.32, smartctl 5.40 (r3124) Software stack B: Ubuntu 11.10 Desktop Live-CD i386 (daily build 2011-09-04), hdparm v9.37, smartctl 5.41 (r3365) ## # Performing the checks: ## Setting LLC (Load_Cycle_Count): root@ubuntu:~# hdparm -S 1 /dev/sd{a,b,c} /dev/sda: setting standby to 1 (5 seconds) /dev/sdb: setting standby to 1 (5 seconds) /dev/sdc: setting standby to 1 (5 seconds) Checking LLC: root@ubuntu:~# DRIVE=sda # Test one drive at a time root@ubuntu:~# SLEEP=4 # 4 should not increase Load_Cycle_Count, 6 should root@ubuntu:~# for i in {1..10}; do smartctl -a /dev/$DRIVE | grep Load_Cycle_Count; done; sleep $SLEEP; for i in {1..10}; do smartctl -a /dev/$DRIVE | grep Load_Cycle_Count; done; 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 root@ubuntu:~# SLEEP=6 root@ubuntu:~# for i in {1..10}; do smartctl -a /dev/$DRIVE | grep Load_Cycle_Count; done; sleep $SLEEP; for i in {1..10}; do smartctl -a /dev/$DRIVE | grep Load_Cycle_Count; done; 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 16 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 16 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 16 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 16 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 16 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 16 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 16 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 16 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 16 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 16 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 17 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 17 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 17 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 17 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 17 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 17 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 17 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 17 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 17 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 17 LLC: OK! LLC with soft reset: OK! LLC with hard reset: Reset to default! Setting SCT Error Recovery Control, Z68 native 6Gbps: root@ubuntu:~# smartctl -l scterc,70,70 /dev/sda smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net Error Write SCT Error Recovery Control Command failed: scsi error aborted command Warning: device does not support SCT (Set) Error Recovery Control command Suggest common arguments: scterc,70,70 to enable ERC or sct,0,0 to disable SCT Error Recovery Control w/ 6Gbps: FAIL! SCT Error Recovery Control w/ 6Gbps and soft reset: FAIL! SCT Error Recovery Control w/ 6Gbps and hard reset: FAIL! Setting SCT Error Recovery Control, Z68 native 3Gbps: root@ubuntu:~# smartctl -l scterc,70,70 /dev/sdb smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net SCT Error Recovery Control: Read: 70 (7.0 seconds) Write: 70 (7.0 seconds) SCT Error Recovery Control w/ 3Gbps: OK! SCT Error Recovery Control w/ 3Gbps and soft reset: OK! SCT Error Recovery Control w/ 3Gbps and hard reset: Reset to default! Setting SCT Error Recovery Control, Z68 native 3Gbps eSATA: root@ubuntu:~# smartctl -l scterc,70,70 /dev/sdc smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net Checking TLER/CCTL/ERC: SCT Error Recovery Control: Read: 70 (7.0 seconds) Write: 70 (7.0 seconds) SCT Error Recovery Control w/ 3Gbps eSATA: OK! SCT Error Recovery Control w/ 3Gbps eSATA and soft reset: OK! SCT Error Recovery Control w/ 3Gbps eSATA and hard reset: Reset to default! ## # Notes: ## 1) According to Samsung, disks manufactured December 2010 or later include the firmware patch that resolves the issue with possible data loss. I wanted to be sure so I still flashed my drives. The updated firmware did not change any of the above results. More info about the patch and what it is to fix: http://sourceforge.net/apps/trac/smartmontools/wiki/SamsungF4EGBadBlocks 2) As I couldn't get the SATA 6Gbps to work with SCT Error Recovery Control I hoped it would be solved with an updated software stack. However it made no difference. 3) I have come across these (valuable) resources for TLER/CCTL/LLC: HardForum: link StorageForum: link Habrahabr (Russian blog?): link