Tylko jak zapuszczę:
badblock -svn /dev/sdd
to mi nic nie wykrywa.
Może już coś nadpisało ten sektor i dysk juz używa innego w to miejsce.
badblock próbował tyle razy że w końcu coś się udało odczytać, i po
zapisaniu (read-write mode) j.w.

Co Ci teraz pokazuje
smartctl -a /dev/sdd  | egrep
'Reallocated|Pending_Sector|Uncorrect|Bad_Block' ?
[[email protected] ~]# smartctl -a /dev/sdd  | egrep
'Reallocated|Pending_Sector|Uncorrect|Bad_Block'
    5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail
Always       -       0
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age
Always       -       0
No to nie masz żadnego sektora przeniesionego.

197 Current_Pending_Sector  0x0032   200   200   000    Old_age
Always       -       3
A trzy sektory miały błędy przy próbie odczytu i czekają na nadpisanie.
Czy należało by wymienić ten dysk ?    (badblocks -sv nic nie wykrył).
W sensie czy miał on już jakieś bad sectory (które zostały relokowane ?).

5 Reallocated_Sector_Ct 0x0033 046 046 005 Pre-fail Always - 1139

196 Reallocated_Event_Count 0x0032 044 044 000 Old_age Always - 1183

Całość po selfteście.

-bash-4.3# smartctl -a /dev/sda
smartctl 6.4 2015-06-04 r4109 [x86_64-linux-3.14.10-1] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Deskstar 7K3000
Device Model:     Hitachi HDS723030ALA640
Serial Number:    MK0311YHG5DK6A
LU WWN Device Id: 5 000cca 225c274fc
Firmware Version: MKAOA580
User Capacity:    3,000,592,982,016 bytes [3,00 TB]
Sector Size:      512 bytes logical/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 2.6, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Nov 30 10:27:10 2015 CET
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:  (0x85)    Offline data collection activity
                    was aborted by an interrupting command from host.
                    Auto Offline Data Collection: Enabled.
Self-test execution status:      ( 249)    Self-test routine in progress...
                    90% of test remaining.
Total time to complete Offline
data collection:         (26895) seconds.
Offline data collection
capabilities:              (0x5b) SMART execute Offline immediate.
                    Auto Offline data collection on/off support.
                    Suspend Offline collection upon new
                    command.
                    Offline surface scan supported.
                    Self-test supported.
                    No 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:      ( 449) minutes.
SCT capabilities:            (0x003d)    SCT Status supported.
                    SCT Error Recovery Control 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 0x000b 100 100 016 Pre-fail Always - 0 2 Throughput_Performance 0x0005 136 136 054 Pre-fail Offline - 80 3 Spin_Up_Time 0x0007 140 140 024 Pre-fail Always - 501 (Average 605) 4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 60 5 Reallocated_Sector_Ct 0x0033 046 046 005 Pre-fail Always - 1139 7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0 8 Seek_Time_Performance 0x0005 133 133 020 Pre-fail Offline - 27 9 Power_On_Hours 0x0012 095 095 000 Old_age Always - 41478 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 60 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 107 193 Load_Cycle_Count 0x0012 100 100 000 Old_age Always - 107 194 Temperature_Celsius 0x0002 206 206 000 Old_age Always - 29 (Min/Max 21/46) 196 Reallocated_Event_Count 0x0032 044 044 000 Old_age Always - 1183 197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 0

SMART Error Log Version: 1
ATA Error Count: 128 (device log contains only the most recent five errors)
    CR = Command Register [HEX]
    FR = Features Register [HEX]
    SC = Sector Count Register [HEX]
    SN = Sector Number Register [HEX]
    CL = Cylinder Low Register [HEX]
    CH = Cylinder High Register [HEX]
    DH = Device/Head Register [HEX]
    DC = Device Command Register [HEX]
    ER = Error register [HEX]
    ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 128 occurred at disk power-on lifetime: 41413 hours (1725 days + 13 hours) When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 40 c0 83 b9 05  Error: UNC at LBA = 0x05b983c0 = 96043968

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 80 20 80 83 b9 40 08   2d+17:02:14.035  READ FPDMA QUEUED
  60 80 18 00 83 b9 40 08   2d+17:02:14.035  READ FPDMA QUEUED
  60 80 10 80 82 b9 40 08   2d+17:02:14.034  READ FPDMA QUEUED
  60 80 08 00 82 b9 40 08   2d+17:02:14.034  READ FPDMA QUEUED
  60 80 00 80 81 b9 40 08   2d+17:02:14.033  READ FPDMA QUEUED

Error 127 occurred at disk power-on lifetime: 40967 hours (1706 days + 23 hours) When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 10 c8 e6 b9 05  Error: WP at LBA = 0x05b9e6c8 = 96069320

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 28 78 46 10 72 40 08   3d+03:08:06.197  WRITE FPDMA QUEUED
  60 08 70 e6 3a cf 40 08   3d+03:08:06.197  READ FPDMA QUEUED
  60 10 68 c8 e6 b9 40 08   3d+03:08:06.197  READ FPDMA QUEUED
  61 08 60 88 f3 b6 40 08   3d+03:08:06.197  WRITE FPDMA QUEUED
  61 08 58 be 9a e5 40 08   3d+03:08:06.197  WRITE FPDMA QUEUED

Error 126 occurred at disk power-on lifetime: 40966 hours (1706 days + 22 hours) When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 10 c8 e6 b9 05  Error: UNC at LBA = 0x05b9e6c8 = 96069320

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 10 e8 c8 e6 b9 40 08   3d+03:08:02.881  READ FPDMA QUEUED
  60 10 e0 18 e6 b9 40 08   3d+03:08:02.880  READ FPDMA QUEUED
  60 10 d8 18 da b9 40 08   3d+03:08:02.855  READ FPDMA QUEUED
  60 10 d0 f8 d8 b9 40 08   3d+03:08:02.849  READ FPDMA QUEUED
  ea 00 00 00 00 00 a0 08   3d+03:08:02.776  FLUSH CACHE EXT

Error 125 occurred at disk power-on lifetime: 40784 hours (1699 days + 8 hours) When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 7b d5 6a 36 04  Error: UNC at LBA = 0x04366ad5 = 70675157

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 80 28 d0 6a 36 40 08   1d+16:32:08.845  READ FPDMA QUEUED
  61 02 20 c6 32 0f 40 08   1d+16:32:08.844  WRITE FPDMA QUEUED
  ea 00 00 00 00 00 a0 08   1d+16:32:08.831  FLUSH CACHE EXT
  61 02 10 10 f3 f5 40 08   1d+16:32:08.830  WRITE FPDMA QUEUED
  ea 00 00 00 00 00 a0 08   1d+16:32:08.820  FLUSH CACHE EXT

Error 124 occurred at disk power-on lifetime: 40784 hours (1699 days + 8 hours) When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 93 d5 6a 36 04  Error: UNC at LBA = 0x04366ad5 = 70675157

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 00 d0 68 6a 36 40 08   1d+16:32:05.832  READ FPDMA QUEUED
  60 00 c8 68 66 36 40 08   1d+16:32:05.828  READ FPDMA QUEUED
  60 00 c0 68 62 36 40 08   1d+16:32:05.824  READ FPDMA QUEUED
  60 00 b8 68 5e 36 40 08   1d+16:32:05.771  READ FPDMA QUEUED
  60 00 b0 68 5a 36 40 08   1d+16:32:05.759  READ FPDMA QUEUED

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% 41424         -

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.


_______________________________________________
pld-users-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-users-pl

Odpowiedź listem elektroniczym