Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2013-02-24 13:28:44

  Pavlo950 - człowiek pasjonat :D

Pavlo950
człowiek pasjonat :D
Zarejestrowany: 2012-02-20
Serwis

Bad Sektory - ich wyłączenie.

Witam!

O co chodzi:
Wczoraj zaczął mnie się system "sypać", bo chrome próbował zapisać cache na tzw uszkodzonych sektorach. Wynika to z komunikatów, jakie dostawałem pod tty1 oraz z  tego, jak pracował mi dysk. Dysk po prostu "stawał" po to, by po chwili "się załączyć". No i pomyślałem, żeby sobie dysk całkowicie sformatować wyłączając te walnięte sektory.

Co zrobiłem do tej pory:
Wpadłem na pomysł, żeby użyć płytki z Gparted Live, nie wiem tylko, którego dokładnie narzędzia stamtąd użyć i w jaki sposób.

Pytanie:
Czy Gparted Live wystarczy? Którego dokładnie narzędzia użyć i w jaki sposób?

Offline

 

#2  2013-02-24 13:37:50

  yossarian - Szczawiożerca

yossarian
Szczawiożerca
Skąd: Shangri-La
Zarejestrowany: 2011-04-25

Re: Bad Sektory - ich wyłączenie.

Kup nowy dysk.

Offline

 

#3  2013-02-24 14:07:19

  Pavlo950 - człowiek pasjonat :D

Pavlo950
człowiek pasjonat :D
Zarejestrowany: 2012-02-20
Serwis

Re: Bad Sektory - ich wyłączenie.

Poyślałem o tym. Muszę się z tym jednak wstrzymać przez jakiś czas.

Offline

 

#4  2013-02-24 14:07:56

  pribina - Użytkownik

pribina
Użytkownik
Zarejestrowany: 2011-06-11

Re: Bad Sektory - ich wyłączenie.

Jeżeli dysk ma smart to do pewnego momentu będzie sobie radzić z uszkodzonymi sektorami. Jeżeli jest ich zbyt wiele to już nic nie pomoże. Tak jak wspomniał yossarian najlepiej będzie jak zainwestujesz w nowy dysk.

Offline

 

#5  2013-02-24 14:39:09

  Lorenzo - Moderator

Lorenzo
Moderator
Zarejestrowany: 2005-12-23

Re: Bad Sektory - ich wyłączenie.

Wiem, że dało się badblockiem zrobić listę urąbanych sektorów i chyba dało się to podać jako argument do mkfs'a. Ale łba sobie nie dam odciąć.

Kupno nowego dysku to w sumie najlepsze rozwiązanie....

Offline

 

#6  2013-02-24 15:35:15

  lx - Użytkownik

lx
Użytkownik
Zarejestrowany: 2010-06-22

Re: Bad Sektory - ich wyłączenie.

Może wystarczy

Kod:

e2fsck -c

?

Offline

 

#7  2013-02-24 15:49:06

  jawojx - Użytkownik

jawojx
Użytkownik
Zarejestrowany: 2012-10-11

Re: Bad Sektory - ich wyłączenie.

Możesz spróbować MHDD32 ( 1. sprawdź czy są te bad sektory w nim ) jest np. w livecd http://www.ultimatebootcd.com , szukaj realokowanie bad sektorów , tylko jak masz tego dużo to prawdopodobnie wyczerpałeś pule zapasowych  sektorów i remapowanie  się nie uda. W smart sprawdź ilość realokowanych sektorów "Reallocated Sector Count" .Spróbuj wyzerować ten dysk (jak i tak masz go formatować) i potem sprawdź , wszystko zrobisz w MHDD32. W tym programie można wyłączać pojedyńcze sektory też i jak masz dużo bed sektorów w jakimś miejscu to zrób tak partycje by omijała tą cześć dysku , na jakiś czas to starczy .

Offline

 

#8  2013-02-24 19:34:43

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: Bad Sektory - ich wyłączenie.

PavloAkaLogan napisał(-a):

Dysk po prostu "stawał" po to, by po chwili "się załączyć"

Jak tak mam ze swoim 80GB WD800 czasem, ale to wina zasilania, czasami coś przerywa, dysk się zatrzymuje po chwili rusza sam z siebie, jak nie sam z siebie to lekko się ruszy zasilanie i załącza xD

Podaj jaki masz dysk i raport smart, doinstaluj jak nie masz gsmartcontrol, bardzo proste narzędzie i w 2 min ustalisz co z dyskiem. Jeżeli uważasz, że ma padnięte sektory to zwróć uwagę na 2 pozycje:

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
   5 Reallocated_Sector_Ct     0x0033    200   200   140    Pre-fail    Always       -       0
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
jeśli obie mają 0, znaczy, że wina leży gdzieś indziej.

Reallocated Sectors Count
Ilość relokowanych sektorów. Kiedy dysk napotyka błąd odczytu/zapisu/weryfikacji, oznacza ten sektor jako relokowany i przenosi dane do specjalnego zarezerwowanego obszaru (obszaru rezerwowego). Proces ten jest również określany mianem remapowania a relokowane sektory określa się remapami. To właśnie dlatego, na nowoczesnych dyskach, nie widzimy "bad bloków" podczas testów powierzchni

Reallocated Event Count
Ilość operacji remapowania (przenoszenia danych z uszkodzonego sektora do specjalnego zarezerwowanego obszaru - obszaru rezerwowego). Wartość RAW tego atrybutu określa łączną ilość prób transferu danych z relokowanego sektora do obszaru rezerwowego. Liczone są zarówno próby udane jak i nieudane.

Offline

 

#9  2013-02-24 20:08:48

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/random
Zarejestrowany: 2008-01-07

Re: Bad Sektory - ich wyłączenie.

Jest też progam badblocks, dokladnie od tego.

Masz go prawdopodobnie w systemie:

Kod:

e2fsprogs: /sbin/badblocks

RTFM:

Kod:

man badblocks

U mnie ten man jest po polsku. ;)

Pozdrawiam
;-)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#10  2013-02-24 20:35:47

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: Bad Sektory - ich wyłączenie.

Tylko jak duży dysk się sprawdza to polecam na noc zostawić. Myślałem, że to trochę szybciej zajmie i po jakiejś 1h dałem se spokój (1,5TB) xD

Offline

 

#11  2013-02-24 21:23:28

  Pavlo950 - człowiek pasjonat :D

Pavlo950
człowiek pasjonat :D
Zarejestrowany: 2012-02-20
Serwis

Re: Bad Sektory - ich wyłączenie.

Dysk to SAMSUNG HD080HJ.

Poniżej to, co uzyskałem po odpaleniu gsmartcontrol:

Kod:

smartctl 5.40 2010-07-12 r3124 [x86_64-unknown-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     SAMSUNG SpinPoint P80 SD series
Device Model:     SAMSUNG HD080HJ
Serial Number:    S08EJ1UL536054
Firmware Version: ZH100-41
User Capacity:    80,026,361,856 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 4a
Local Time is:    Sun Feb 24 21:19:35 2013 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:  (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:          (1848) 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:      (  30) minutes.
SCT capabilities:            (0x003f)    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     0x000f   253   100   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0007   100   100   025    Pre-fail  Always       -       3968
  4 Start_Stop_Count        0x0032   089   089   000    Old_age   Always       -       11322
  5 Reallocated_Sector_Ct   0x0033   096   096   010    Pre-fail  Always       -       42
  7 Seek_Error_Rate         0x000f   253   253   051    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   253   253   015    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       10672
 10 Spin_Retry_Count        0x0033   253   253   051    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x0012   253   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   094   094   000    Old_age   Always       -       6613
187 Reported_Uncorrect      0x0032   001   001   000    Old_age   Always       -       132707
190 Airflow_Temperature_Cel 0x0022   115   088   000    Old_age   Always       -       41
194 Temperature_Celsius     0x0022   115   088   000    Old_age   Always       -       41
195 Hardware_ECC_Recovered  0x001a   253   100   000    Old_age   Always       -       0
196 Reallocated_Event_Count 0x0032   096   096   000    Old_age   Always       -       42
197 Current_Pending_Sector  0x0012   253   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   253   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x000a   253   100   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x000a   253   100   000    Old_age   Always       -       0
202 Data_Address_Mark_Errs  0x0032   100   100   000    Old_age   Always       -       67

SMART Error Log Version: 1
ATA Error Count: 1637 (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 1637 occurred at disk power-on lifetime: 10345 hours (431 days + 1 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
  -- -- -- -- -- -- --
  04 51 80 18 08 a1 e1  Error: ABRT at LBA = 0x01a10818 = 27330584

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c5 00 80 18 08 a1 e1 00      01:36:08.750  WRITE MULTIPLE
  c5 00 80 98 07 a1 e1 00      01:36:08.750  WRITE MULTIPLE
  c5 00 80 18 07 a1 e1 00      01:36:08.750  WRITE MULTIPLE
  c5 00 80 98 06 a1 e1 00      01:36:08.688  WRITE MULTIPLE
  c5 00 80 18 06 a1 e1 00      01:36:08.688  WRITE MULTIPLE

Error 1636 occurred at disk power-on lifetime: 4222 hours (175 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 08 05 3e d1 e2  Error: UNC 8 sectors at LBA = 0x02d13e05 = 47267333

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 05 3e d1 e2 00      00:01:46.125  READ DMA
  ca 00 04 5f 9d fa e1 00      00:01:44.438  WRITE DMA
  c8 00 08 4f f0 e9 e1 00      00:01:44.438  READ DMA
  ca 00 06 f7 14 e9 e1 00      00:01:44.375  WRITE DMA
  ca 00 08 ef 4a 5f e0 00      00:01:44.375  WRITE DMA

Error 1635 occurred at disk power-on lifetime: 4222 hours (175 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 08 05 3e d1 e2  Error: UNC 8 sectors at LBA = 0x02d13e05 = 47267333

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 05 3e d1 e2 00      00:01:44.375  READ DMA
  c8 00 08 cd 48 d5 e2 00      00:01:42.625  READ DMA
  c8 00 08 e5 16 71 e2 00      00:01:42.625  READ DMA
  c8 00 08 4d 7f f7 e5 00      00:01:42.625  READ DMA
  c8 00 08 cd fd d0 e2 00      00:01:42.625  READ DMA

Error 1634 occurred at disk power-on lifetime: 4222 hours (175 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 08 05 3e d1 e2  Error: UNC 8 sectors at LBA = 0x02d13e05 = 47267333

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 05 3e d1 e2 00      00:01:42.125  READ DMA
  c8 00 08 97 48 e6 e1 00      00:01:40.375  READ DMA
  c8 00 08 e7 83 1c e1 00      00:01:40.375  READ DMA
  c8 00 08 4f 83 13 e0 00      00:01:40.375  READ DMA

Error 1633 occurred at disk power-on lifetime: 4222 hours (175 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 08 05 3e d1 e2  Error: UNC 8 sectors at LBA = 0x02d13e05 = 47267333

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 05 3e d1 e2 00      00:01:40.313  READ DMA
  c8 00 08 cd 48 d5 e2 00      00:01:38.563  READ DMA
  c8 00 08 e5 16 71 e2 00      00:01:38.563  READ DMA
  c8 00 08 4d 7f f7 e5 00      00:01:38.563  READ DMA
  c8 00 08 cd fd d0 e2 00      00:01:38.563  READ DMA

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%      8054         -
# 2  Short offline       Completed without error       00%      8054         -
# 3  Short offline       Completed without error       00%      6824         -

Note: selective self-test log revision number (0) not 1 implies that no selective self-test has ever been run
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 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.

I? Warto coś jeszcze robić?

Offline

 

#12  2013-02-24 22:14:47

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: Bad Sektory - ich wyłączenie.

Z tego loga nie widać za bardzo by dysk był w jakimś tragicznym stanie, ma co prawda 42 padnięte sektory, ale nie powinien się w ten sposób zachowywać. Miałem przykładowo 13gb dysk który miał koło 500 padniętych sektorów i działał w porządku xD Monitoruj  196 Reallocated_Event_Count i  5 Reallocated_Sector_Ct . Sprawdzaj raport smart co jakiś czas. Swoją drogą miałem podobny model samsunga też 80gb na sata i też po około 10-12k godzin mi zdechł w niewyjaśnionych okolicznościach -- te dyski tak mają! xD Poza tym twój dysk ma prawie 4s do setki, xD tzn rozpędza talerze do pełnej prędkości, to bardzo wolno. Mój dla porównania ma niecałą 1 sekundę.

Spróbuj mu przeskanować całą powierzchnię:

Kod:

badblocks -v /dev/sda > ~/bledne_sektory

Ostatnio edytowany przez morfik (2013-02-24 22:19:06)

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)