20 Temmuz 2014 Pazar

Son bir yıl içinde bozulan ikinci disk

Son bir yıl içinde ikici 1 TB seagate diskimde bozuldu.
Önemli bilgilerimin bir kısmını kayıp etsemde, büyük çoğunluğunu testdisk ile kurtarabildim.
 Testdisk programını yazanlara teşekkür ederim.
Bozuk disklerden veri kurtarma ihtiyacı duyarsanız, testdiski kullanabilirsiniz.

http://www.cgsecurity.org/

Seagate disklerine 3 yıldan fazla kullanmamak, 3 yılını dolduran diskleri bozulmasa bile yenisi ile değiştirmek gerekiyor!!!!



Diskin verdiği hatalar ve smartctl programının söyledikleri aşağıda;

[  376.905084] ata5.00: configured for UDMA/133
[  376.905098] sd 4:0:0:0: [sdd] Unhandled sense code
[  376.905101] sd 4:0:0:0: [sdd]
[  376.905103] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  376.905106] sd 4:0:0:0: [sdd]
[  376.905108] Sense Key : Medium Error [current] [descriptor]
[  376.905111] Descriptor sense data with sense descriptors (in hex):
[  376.905113]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[  376.905122]         00 00 08 00
[  376.905126] sd 4:0:0:0: [sdd]
[  376.905129] Add. Sense: Unrecovered read error - auto reallocate failed
[  376.905131] sd 4:0:0:0: [sdd] CDB:
[  376.905133] Read(10): 28 00 00 00 08 00 00 00 08 00
[  376.905141] end_request: I/O error, dev sdd, sector 2048
[  376.905145] Buffer I/O error on device sdd1, logical block 0
[  376.905159] ata5: EH complete
[  379.772490] ata5.00: exception Emask 0x0 SAct 0xc0000 SErr 0x0 action 0x0
[  379.772496] ata5.00: irq_stat 0x40000008
[  379.772500] ata5.00: failed command: READ FPDMA QUEUED
[  379.772507] ata5.00: cmd 60/08:90:00:08:00/00:00:00:00:00/40 tag 18 ncq 4096                                                                                                                      in
[  379.772507]          res 41/40:08:00:08:00/00:00:00:00:00/00 Emask 0x409 (med                                                                                                                     ia error) <F>
[  379.772510] ata5.00: status: { DRDY ERR }
[  379.772512] ata5.00: error: { UNC }
[  379.803078] ata5.00: configured for UDMA/133
[  379.803093] sd 4:0:0:0: [sdd] Unhandled sense code
[  379.803096] sd 4:0:0:0: [sdd]
[  379.803098] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  379.803100] sd 4:0:0:0: [sdd]
[  379.803102] Sense Key : Medium Error [current] [descriptor]
[  379.803106] Descriptor sense data with sense descriptors (in hex):
[  379.803107]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[  379.803116]         00 00 08 00
[  379.803120] sd 4:0:0:0: [sdd]
[  379.803123] Add. Sense: Unrecovered read error - auto reallocate failed
[  379.803125] sd 4:0:0:0: [sdd] CDB:
[  379.803127] Read(10): 28 00 00 00 08 00 00 00 08 00
[  379.803135] end_request: I/O error, dev sdd, sector 2048
[  379.803139] Buffer I/O error on device sdd1, logical block 0
[  379.803154] ata5: EH complete
[  382.678151] ata5.00: exception Emask 0x0 SAct 0xa00000 SErr 0x0 action 0x0
[  382.678157] ata5.00: irq_stat 0x40000008
[  382.678161] ata5.00: failed command: READ FPDMA QUEUED
[  382.678168] ata5.00: cmd 60/08:a8:00:08:00/00:00:00:00:00/40 tag 21 ncq 4096                                                                                                                      in
[  382.678168]          res 41/40:08:00:08:00/00:00:00:00:00/00 Emask 0x409 (med                                                                                                                     ia error) <F>
[  382.678171] ata5.00: status: { DRDY ERR }
[  382.678173] ata5.00: error: { UNC }
[  382.708699] ata5.00: configured for UDMA/133
[  382.708714] sd 4:0:0:0: [sdd] Unhandled sense code
[  382.708717] sd 4:0:0:0: [sdd]
[  382.708719] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  382.708722] sd 4:0:0:0: [sdd]
[  382.708723] Sense Key : Medium Error [current] [descriptor]
[  382.708727] Descriptor sense data with sense descriptors (in hex):
[  382.708729]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[  382.708737]         00 00 08 00
[  382.708741] sd 4:0:0:0: [sdd]
[  382.708744] Add. Sense: Unrecovered read error - auto reallocate failed
[  382.708746] sd 4:0:0:0: [sdd] CDB:
[  382.708748] Read(10): 28 00 00 00 08 00 00 00 08 00
[  382.708756] end_request: I/O error, dev sdd, sector 2048
[  382.708760] Buffer I/O error on device sdd1, logical block 0
[  382.708775] ata5: EH complete
[  526.762467] ata5.00: exception Emask 0x0 SAct 0x40000000 SErr 0x0 action 0x0
[  526.762473] ata5.00: irq_stat 0x40000008
[  526.762478] ata5.00: failed command: READ FPDMA QUEUED
[  526.762484] ata5.00: cmd 60/08:f0:00:08:00/00:00:00:00:00/40 tag 30 ncq 4096                                                                                                                      in
[  526.762484]          res 41/40:08:00:08:00/00:00:00:00:00/00 Emask 0x409 (med                                                                                                                     ia error) <F>
[  526.762487] ata5.00: status: { DRDY ERR }
[  526.762489] ata5.00: error: { UNC }
[  526.785019] ata5.00: configured for UDMA/133
[  526.785032] sd 4:0:0:0: [sdd] Unhandled sense code
[  526.785036] sd 4:0:0:0: [sdd]
[  526.785038] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  526.785040] sd 4:0:0:0: [sdd]
[  526.785042] Sense Key : Medium Error [current] [descriptor]
[  526.785045] Descriptor sense data with sense descriptors (in hex):
[  526.785047]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[  526.785056]         00 00 08 00
[  526.785060] sd 4:0:0:0: [sdd]
[  526.785063] Add. Sense: Unrecovered read error - auto reallocate failed
[  526.785065] sd 4:0:0:0: [sdd] CDB:
[  526.785067] Read(10): 28 00 00 00 08 00 00 00 08 00
[  526.785075] end_request: I/O error, dev sdd, sector 2048
[  526.785079] Buffer I/O error on device sdd, logical block 256
[  526.785091] ata5: EH complete
[  529.484965] ata5.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
[  529.484970] ata5.00: irq_stat 0x40000008
[  529.484974] ata5.00: failed command: READ FPDMA QUEUED
[  529.484980] ata5.00: cmd 60/08:00:00:08:00/00:00:00:00:00/40 tag 0 ncq 4096 i                                                                                                                     n
[  529.484980]          res 41/40:08:00:08:00/00:00:00:00:00/00 Emask 0x409 (med                                                                                                                     ia error) <F>
[  529.484984] ata5.00: status: { DRDY ERR }
[  529.484986] ata5.00: error: { UNC }
[  529.507667] ata5.00: configured for UDMA/133
[  529.507679] sd 4:0:0:0: [sdd] Unhandled sense code
[  529.507682] sd 4:0:0:0: [sdd]
[  529.507684] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  529.507687] sd 4:0:0:0: [sdd]
[  529.507689] Sense Key : Medium Error [current] [descriptor]
[  529.507692] Descriptor sense data with sense descriptors (in hex):
[  529.507694]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[  529.507702]         00 00 08 00
[  529.507706] sd 4:0:0:0: [sdd]
[  529.507709] Add. Sense: Unrecovered read error - auto reallocate failed
[  529.507711] sd 4:0:0:0: [sdd] CDB:
[  529.507713] Read(10): 28 00 00 00 08 00 00 00 08 00
[  529.507721] end_request: I/O error, dev sdd, sector 2048
[  529.507724] Buffer I/O error on device sdd, logical block 256
[  529.507738] ata5: EH complete
[  540.991063] ata5.00: exception Emask 0x0 SAct 0x800 SErr 0x0 action 0x0
[  540.991069] ata5.00: irq_stat 0x40000008
[  540.991073] ata5.00: failed command: READ FPDMA QUEUED
[  540.991080] ata5.00: cmd 60/08:58:00:08:00/00:00:00:00:00/40 tag 11 ncq 4096                                                                                                                      in
[  540.991080]          res 41/40:08:00:08:00/00:00:00:00:00/00 Emask 0x409 (med                                                                                                                     ia error) <F>
[  540.991083] ata5.00: status: { DRDY ERR }
[  540.991085] ata5.00: error: { UNC }
[  541.013754] ata5.00: configured for UDMA/133
[  541.013768] sd 4:0:0:0: [sdd] Unhandled sense code
[  541.013771] sd 4:0:0:0: [sdd]
[  541.013773] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  541.013775] sd 4:0:0:0: [sdd]
[  541.013777] Sense Key : Medium Error [current] [descriptor]
[  541.013781] Descriptor sense data with sense descriptors (in hex):
[  541.013782]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[  541.013791]         00 00 08 00
[  541.013795] sd 4:0:0:0: [sdd]
[  541.013798] Add. Sense: Unrecovered read error - auto reallocate failed
[  541.013800] sd 4:0:0:0: [sdd] CDB:
[  541.013802] Read(10): 28 00 00 00 08 00 00 00 08 00
[  541.013810] end_request: I/O error, dev sdd, sector 2048
[  541.013814] Buffer I/O error on device sdd, logical block 256
[  541.013825] ata5: EH complete
[  543.838454] ata5.00: exception Emask 0x0 SAct 0x1000 SErr 0x0 action 0x0
[  543.838460] ata5.00: irq_stat 0x40000008
[  543.838464] ata5.00: failed command: READ FPDMA QUEUED
[  543.838471] ata5.00: cmd 60/08:60:00:08:00/00:00:00:00:00/40 tag 12 ncq 4096                                                                                                                      in
[  543.838471]          res 41/40:08:00:08:00/00:00:00:00:00/00 Emask 0x409 (med                                                                                                                     ia error) <F>
[  543.838474] ata5.00: status: { DRDY ERR }
[  543.838476] ata5.00: error: { UNC }
[  543.861117] ata5.00: configured for UDMA/133
[  543.861131] sd 4:0:0:0: [sdd] Unhandled sense code
[  543.861134] sd 4:0:0:0: [sdd]
[  543.861136] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  543.861139] sd 4:0:0:0: [sdd]
[  543.861140] Sense Key : Medium Error [current] [descriptor]
[  543.861144] Descriptor sense data with sense descriptors (in hex):
[  543.861146]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[  543.861154]         00 00 08 00
[  543.861159] sd 4:0:0:0: [sdd]
[  543.861161] Add. Sense: Unrecovered read error - auto reallocate failed
[  543.861164] sd 4:0:0:0: [sdd] CDB:
[  543.861165] Read(10): 28 00 00 00 08 00 00 00 08 00
[  543.861173] end_request: I/O error, dev sdd, sector 2048
[  543.861177] Buffer I/O error on device sdd, logical block 256
[  543.861190] ata5: EH complete
[  718.769495] ata5.00: exception Emask 0x0 SAct 0x100000 SErr 0x0 action 0x0
[  718.769502] ata5.00: irq_stat 0x40000008
[  718.769506] ata5.00: failed command: READ FPDMA QUEUED
[  718.769513] ata5.00: cmd 60/08:a0:00:08:00/00:00:00:00:00/40 tag 20 ncq 4096                                                                                                                      in
[  718.769513]          res 41/40:08:00:08:00/00:00:00:00:00/00 Emask 0x409 (med                                                                                                                     ia error) <F>
[  718.769516] ata5.00: status: { DRDY ERR }
[  718.769518] ata5.00: error: { UNC }
[  718.792080] ata5.00: configured for UDMA/133
[  718.792096] sd 4:0:0:0: [sdd] Unhandled sense code
[  718.792099] sd 4:0:0:0: [sdd]
[  718.792101] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  718.792104] sd 4:0:0:0: [sdd]
[  718.792106] Sense Key : Medium Error [current] [descriptor]
[  718.792109] Descriptor sense data with sense descriptors (in hex):
[  718.792111]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[  718.792120]         00 00 08 00
[  718.792124] sd 4:0:0:0: [sdd]
[  718.792126] Add. Sense: Unrecovered read error - auto reallocate failed
[  718.792129] sd 4:0:0:0: [sdd] CDB:
[  718.792131] Read(10): 28 00 00 00 08 00 00 00 08 00
[  718.792139] end_request: I/O error, dev sdd, sector 2048
[  718.792143] Buffer I/O error on device sdd, logical block 256
[  718.792157] ata5: EH complete
[  972.020852] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts:   





smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-32-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.12
Device Model:     ST31000528AS
Serial Number:    9VP6HXA8
LU WWN Device Id: 5 000c50 0203c63ad
Firmware Version: CC38
User Capacity:    1.000.204.886.016 bytes [1,00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
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, 3.0 Gb/s
Local Time is:    Sun Jul 20 00:47:30 2014 EEST

==> WARNING: A firmware update for this drive may be available,
see the following Seagate web pages:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/213891en

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:  (0x82) Offline data collection activity
                                        was completed without error.
                                        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:                (  600) 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:        (   1) minutes.
Extended self-test routine
recommended polling time:        ( 174) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x103f) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
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   095   095   006    Pre-fail  Always       -       232921558
  3 Spin_Up_Time            0x0003   094   094   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       19
  5 Reallocated_Sector_Ct   0x0033   090   090   036    Pre-fail  Always       -       420
  7 Seek_Error_Rate         0x000f   100   253   030    Pre-fail  Always       -       84637
  9 Power_On_Hours          0x0032   064   064   000    Old_age   Always       -       31541
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       621
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   001   001   000    Old_age   Always       -       315
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   069   057   045    Old_age   Always       -       31 (Min/Max 26/31)
194 Temperature_Celsius     0x0022   031   043   000    Old_age   Always       -       31 (0 26 0 0 0)
195 Hardware_ECC_Recovered  0x001a   027   017   000    Old_age   Always       -       232921558
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       8
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       8
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       70776766071255
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       77790758
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       137947391

SMART Error Log Version: 1
ATA Error Count: 320 (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 320 occurred at disk power-on lifetime: 31541 hours (1314 days + 5 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 00 00 08 00 00  Error: UNC at LBA = 0x00000800 = 2048

  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 01 00 08 00 40 00      00:12:26.380  READ FPDMA QUEUED
  27 00 00 00 00 00 e0 00      00:12:26.379  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 a0 00      00:12:26.370  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:12:26.370  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 e0 00      00:12:26.370  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 319 occurred at disk power-on lifetime: 31541 hours (1314 days + 5 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 00 02 08 00 00  Error: UNC at LBA = 0x00000802 = 2050

  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 02 02 08 00 40 00      00:12:23.263  READ FPDMA QUEUED
  27 00 00 00 00 00 e0 00      00:12:23.262  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 a0 00      00:12:23.253  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:12:23.253  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 e0 00      00:12:23.253  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 318 occurred at disk power-on lifetime: 31541 hours (1314 days + 5 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 00 02 08 00 00  Error: UNC at LBA = 0x00000802 = 2050

  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 02 02 08 00 40 00      00:12:20.106  READ FPDMA QUEUED
  27 00 00 00 00 00 e0 00      00:12:20.105  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 a0 00      00:12:20.032  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:12:20.032  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 e0 00      00:12:20.032  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 317 occurred at disk power-on lifetime: 31541 hours (1314 days + 5 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 00 02 08 00 00  Error: UNC at LBA = 0x00000802 = 2050

  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 02 02 08 00 40 00      00:12:16.939  READ FPDMA QUEUED
  27 00 00 00 00 00 e0 00      00:12:16.938  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 a0 00      00:12:16.929  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:12:16.929  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 e0 00      00:12:16.929  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 316 occurred at disk power-on lifetime: 31541 hours (1314 days + 5 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 00 00 08 00 00  Error: UNC at LBA = 0x00000800 = 2048

  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 08 00 08 00 40 00      00:12:13.800  READ FPDMA QUEUED
  27 00 00 00 00 00 e0 00      00:12:13.799  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 a0 00      00:12:13.791  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:12:13.790  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 e0 00      00:12:13.790  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

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.

19 Temmuz 2014 Cumartesi

Windows ve jumbo paket

Bu gün Windows 2012 sunucusunda disk kullanımında performansı artırmak için jumbo paket boyutunu 9014 yapıyor fakat 1500 byte üzerinde paketleri iletmiyor.
Sorun windows ile birlikte gelen standart intel ethernet kartı sürücüsünden kaynaklanıyor. Ethernet kartı Intel® Ethernet Controller X540-AT2  Intel'in sayfasından sürücüyü indirip yükledikten sonra ethernet kartı 10Gbit ve 9000 byte paketleri iletmeye başladı. Buda gösteriyorki, daima ürün üreticisinin sürücülerini kullanmak gerekiyor. Tembellik edip, sürücüyü ürün üreticisinin sürücüsü ile güncellemezsek, sistemden yeterince verim alamayız...

16 Temmuz 2014 Çarşamba

Denenmesi gereken yerli bir ürün!


Her hangi bir güvenlik yazılımına ihtiyacı olan arkadaşlarımız; epati firmasının ürününü denemesini gereken bir ürün olarak düşünüyorum.

http://epati.com.tr/belgeler/antiKor_katalog.pdf
http://epati.com.tr/belgeler/antiKor_kullanma_kilavuzu.pdf


Şu anda test etmiş değilim. Demo isteğinde bulundum. İlk fırsatta test edeceğim.



22 Haziran 2014 Pazar

nginx kullanıcıları için faydalı bir döküman


Birden fazla bölgede sunucuları olan nginx kullanıcıları için;


https://www.digitalocean.com/community/tutorials/how-to-use-nginx-as-a-global-traffic-director-on-debian-or-ubuntu


To complete this guide, you will need a user with sudo privileges.
 You also need to know how to create servers in different regions.
Assumptions

This article makes a few assumptions for ease of readability.
Your domain is www.example.com
Your primary server is in the US
You want to install a GTD for Europe and Asia
Your server IPs are as follows: US: 1.1.1.1 EU: 1.1.1.2 AS: 1.1.1.3
Subdomains and DNS configuration

Choosing subdomains is all up to you. For this tutorial, let's use eu.example.com for Europe and as.example.com for Asia.

For each of those subdomains, add an A record in your DNS configuration with the IP of the server for that region:
eu.example.com - 1.1.1.2
as.example.com - 1.1.1.3

It should look something like this:


Install Nginx and GeoIP

To have Nginx with a GeoIP module, you have two options: 1) use a precompiled package (only -full and -extra have GeoIP module) or 2) compile your nginx with the --with-http_geoip_module configuration parameter – In this case, you also need geoip-dev libraries.

Let's use the already available repository packages.
sudo apt-get update
sudo apt-get install nginx-full geoip-database

Now both Nginx and GeoIP binaries are available. But there is one more thing: GeoIP's city database includes region information. You need to download and install it manually.
wget -N http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
gunzip GeoLiteCity.dat.gz
mv GeoLiteCity.dat /usr/share/GeoIP/
Configure Nginx and your virtual host

Here we are going to tell Nginx where the GeoIP database files are. And in our virtual host, we are going to configure how Nginx will respond to requests based on their geoip information.

Open nginx.conf (default /etc/nginx/nginx.conf) with your preferred editor. Add the line geoip_city /usr/share/GeoIP/GeoLiteCity.dat;. Your nginx.conf will look like this:
http {
  geoip_city /usr/share/GeoIP/GeoLiteCity.dat;
  ...
}

Save it.

Now let's edit your virtual host (default /etc/nginx/sites-available/default). Inside we need to create a map and add the subdomains to the server_name directive.

The map in Nginx allows us to set a variable $closest_server based on the value of $geoip_city_continent_code. You can read more about the Map module on Nginx's documentation.
map $geoip_city_continent_code $closest_server {
  default www.example.com;
  EU      eu.example.com;
  AS      as.example.com;
}

Next we add the location-based subdomains to the $server_name directive:
server {
  server_name example.com
              www.example.com
              eu.example.com
              as.example.com;
  ...
}

The last part of the process is to make a condition in your virtual host that redirects visitors to the closest server. Add the following condition to your configuration:
server {
  ...

  if ($closest_server != $host) {
    rewrite ^ $scheme://$closest_server$request_uri break;
  }

  ...
}

After you're done with all the changes your virtual host file would look like this:
map $geoip_city_continent_code $closest_server {
  default www.example.com;
  EU      eu.example.com;
  AS      as.example.com;
}

server {
  server_name example.com
              www.example.com
              eu.example.com
              as.example.com;

  if ($closest_server != $host) {
    rewrite ^ $scheme://$closest_server$request_uri break;
  }

  ...
}

Repeat this step for each server you want to configure. That way all of your servers will act as a traffic directors.
Run a few tests

After completing all of these steps, the final one is to test what you have done. When working with Nginx, always test new configurations before applying.

Nginx provides an option to test its configuration files, without affecting currently running Nginx. You can do that by running one of these commands:

nginx -t, service nginx configtest or /etc/init.d/nginx configtest

If everything is good - Reload your Nginx configuration:

nginx -s reload, service nginx reload or /etc/init.d/nginx reload

To see your traffic director in action. Open a browser and visit www.example.com:

If you visit the site using a proxy in Europe, you should be redirected to eu.example.com:

If you visit the site using a proxy in Asia, you should be redirected to as.example.com:

And from now on your global visitors will be immediately redirected to a server closest to them, improving their experience on your website.
Submitted by: Alex Soban
Related Tutorials
Docker Explained: Using Dockerfiles to Automate Building of Images
How To Install Drupal with Nginx on an Ubuntu 13.04 VPS
How To Configure OCSP Stapling on Apache and Nginx
How To Use the DigitalOcean One-Click Install Redmine on Ubuntu 14.04 Image
How To Install gpEasy CMS with NGINX and PHP5-FPM on Debian 7


4 Haziran 2014 Çarşamba

birazda opencart

 Opencart için
ExcelPort - Product / Category / Customers Excel Export / Import
http://www.opencart.com/index.php?route=extension/extension/info&extension_id=10197 eklentisini kullanıyorsanız, karşılaşacağınız en büyük sorun php ram kullanım sorunudur.

Bu sorunu aşmak için php.ini dosyasını ayarlamanız yetmiyor. Çünkü php dosyaları içinde tanım yapılmış durumda.
 Düzeltmek için;
                       admin/controller/module/excelport.php
                       admin/controller/tool/export.php

dosyaları içinde memory_limit (        ini_set('memory_limit', '1024M'); ) değişkenini bularak artırmanız. Ben 7000M yaptım.


İlave olarak script çalışma süresini artırmak gerekiyor. Malum script yarım saatten fazla sürede çalışmasını tamamlıyor.

Artırmak için de
                           admin/controller/module/excelport.php
                           admin/controller/tool/export.php
dosyaları içinde
max_execution_time değişkenini bularak ayarlamanız gerekli.

Ben süreyi bir saat olarak ayarladım.

admin/controller/tool/export.php:ini_set('max_execution_time', 3600);




2 Haziran 2014 Pazartesi

timeout

iyi tasarlanmamış php scripti kullanıyorsak ve timeout sorunu ile karşılaşıyorsak;

scriptimizin başına;

ini_set('max_execution_time', 3600);
ini_set('memory_limit', '6000M');

ilave etmemiz çözüm fakat tam çözüm değil. Çünkü firefox'unda timeout değerini artırmamız gerekiyor.



Aksi durumda scriptimiz web sunucusu üzerinde çalışmaya devam eder, fakat firefox timeout düşer.


8 Mayıs 2014 Perşembe

yolu buradan geçen solaris meraklıları

Merhaba,

işletim sistemlerinde sanal ortam olarak linux ve windows mevcut.
Neden solaris yok, solaris sanal ortam isteriz diyenler, aşağıdaki linkten oy vererek destek olabilirler mi?

http://digitalocean.uservoice.com/forums/136585-digitalocean/suggestions/5898709-solaris-11

Yeterli oy desteği olursa, isteyen ayda $5 solaris sanal sunucusuna kavuşabilir.

Ne işe yarar; sar -n DEV

sar -n DEV|awk 'BEGIN{mak=0} !/txpck|x86|CPU|^[ \t]*$/{if (mak