Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Dwa Minty na dwóch dyskach - problem z uruchomieniem
#1
0
Dzień dobry.
       Myślę że mój problem jest nieco zawiły, jednak postaram się opisać go w najprostszy sposób.
Mam w komputerze 1 dysk SSD na SATA i jeden dysk SSD na M.2 - na każdym z nich zainstalowany jest Linux Mint, z tą różnicą że na tym pierwszym jest to partycja szyfrowana (ustawiona przy instalacji systemu). Często miałem z tym trochę problemów, bo czasami kiedy włączałem komputer to nie pojawiało mi się menu wyboru dysku do rozruchu, tylko z automatu uruchamiał się ten nieszyfrowany system z dysku M.2 i wtedy odpalałem liveusb i z boot-repairem naprawiałem to.
       Wczoraj uspałem komputer gdy był zaogowany właśnie na tym szyfrowanym dysku - jak wybudziłem komputer to strasznie dziwnie się on zachowywał (mocne przycięcia, programy się nie otwierały). Zresetowałem komputer i już nie miałem wyboru dysku tylko od razu uruchomił się Linux z dysku M.2 - wszedłem sobie na testy S.M.A.R.T. tego dysku i zobaczyłem że ma on "nienaprawialne ECC" a także bardzo dużo błędów odczytu (mam go od roku). Inne dyski (mam podłączone jeszcze kilka HDD) nie mają takich błędów.
       Teraz przejdę do najważniejszego - wypiszę te dwie rzeczy w punktach
- po zainstalowaniu nowego systemu na ten dysk SSD wydaje się działać prawidłowo - tak jak zawsze pojawia mi się lista tych dwóch systemów i mogę wybrać który uruchomić
- kiedy przywracam na niego obraz szyfrowanego dysku (kopia wykonana 2 tygodnie temu) to można to zrobić, ale jedyny dostęp do plików uzyskuję przez zalogowanie się na mój drugi dysk, odszyfrowanie partycji w gnome-disks i widzę pliki w menedżerze, bowiem kiedy uruchamiam komputer nie ma menu z którego mógłbym wybrać ten dysk; uruchamia się tylko ten słynny problem "Minimal BASH like line editing is supported (...)" - próba naprawienia boot-repairem nie przynosi rezultatu (zawsze się to pojawia dopóki szyfrowana partycja jest na tym dysku - gdy zainstaluje na nowo system to problem znika)

       Chciałbym zapytać czy jest jakaś możliwość żeby jednak uruchomić ten system nagrany na dysk z kopii zapasowej? Próbowałem odpalić system z tego bash line supported (z tego poradnika https://unix.stackexchange.com/questions...-on-fedora), ale nie do końca rozumiem o co chodzi z tym ustaleniem pliku kernela - jak wpisywałem linuxefi [dysk] to tylko miałem informację jak sformatowany jest dysk.
       Tak jak mówiłęm nie wiem czy to wszystko jest spowodowany problemem z dyskiem - ma on ponad 60000 błędów odczytu i ponad 1000 nienaprawialnych ECC (liczby te ciągle rosną), ponieważ jak tygodni temu przywracałem z obrazu dysku partycje to nie było tego typu problemów.
Odpowiedz
#2
0
Pokaż tablicę SMART dysku.
Odpowiedz
#3
0
[Obrazek: zKSwdwd.png]
Odpowiedz
#4
0
Wklej w postaci wyników:
sudo smartctl -a /dev/sda
sudo smartctl -a /dev/sdb
Odpowiedz
#5
0
Kod:
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-76-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     KINGSTON SUV500120G
Serial Number:    50026B76827524C0
LU WWN Device Id: 5 0026b7 6827524c0
Firmware Version: 003056RI
User Capacity:    120 034 123 776 bytes [120 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   Unknown(0x0ffe), ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Feb  1 11:29:19 2020 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:  (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
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: (    5) seconds.
Offline data collection
capabilities: (0x71) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No 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: (   5) minutes.
Conveyance self-test routine
recommended polling time: (   0) 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: 48
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   100   100   000    Pre-fail  Always       -       65359
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       1974
12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       742
100 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       448768
101 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       110728
170 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
171 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
172 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
174 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       176
175 Program_Fail_Count_Chip 0x0032   100   100   000    Old_age   Always       -       0
176 Erase_Fail_Count_Chip   0x0032   100   100   000    Old_age   Always       -       0
177 Wear_Leveling_Count     0x0032   098   098   000    Old_age   Always       -       623
178 Used_Rsvd_Blk_Cnt_Chip  0x0002   100   100   000    Old_age   Always       -       0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0002   100   100   000    Old_age   Always       -       361
183 Runtime_Bad_Block       0x0032   099   099   000    Old_age   Always       -       9
187 Reported_Uncorrect      0x0033   100   100   000    Pre-fail  Always       -       0
194 Temperature_Celsius     0x0022   032   100   000    Old_age   Always       -       32 (Min/Max 22/42)
195 Hardware_ECC_Recovered  0x0032   100   100   000    Old_age   Always       -       65359
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
199 UDMA_CRC_Error_Count    0x0012   100   100   000    Old_age   Always       -       0
201 Unknown_SSD_Attribute   0x0032   100   100   000    Old_age   Always       -       0
204 Soft_ECC_Correction     0x0032   100   100   000    Old_age   Always       -       65359
231 Temperature_Celsius     0x0032   098   098   000    Old_age   Always       -       2
233 Media_Wearout_Indicator 0x0032   100   100   000    Old_age   Always       -       1501
234 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       1234
241 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       1179
242 Total_LBAs_Read         0x0032   100   100   000    Old_age   Always       -       1331
250 Read_Error_Retry_Rate   0x0032   100   100   000    Old_age   Always       -       65359

SMART Error Log Version: 0
No Errors Logged

SMART Self-test log structure revision number 0
Warning: ATA Specification requires 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 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.
Informuję że na sdb jest dysk twardy na którym są tylko dane (jeśli chodziło o ten drugi dysk, to slot M.2 nie ma testów SMART) i tutaj jest wyniik:
Kod:
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-76-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Blue
Device Model:     WDC WD5000AAKX-001CA0
Serial Number:    WD-WMAYU9632632
LU WWN Device Id: 5 0014ee 65733a136
Firmware Version: 15.01H15
User Capacity:    500 106 780 160 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Feb  1 11:30:31 2020 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: ( 8280) 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: (  84) minutes.
Conveyance self-test routine
recommended polling time: (   5) minutes.
SCT capabilities:        (0x3037) 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       -       0
  3 Spin_Up_Time            0x0027   139   137   021    Pre-fail  Always       -       4008
  4 Start_Stop_Count        0x0032   099   099   000    Old_age   Always       -       1633
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   100   253   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   095   095   000    Old_age   Always       -       3753
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   099   099   000    Old_age   Always       -       1601
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       83
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       1549
194 Temperature_Celsius     0x0022   113   087   000    Old_age   Always       -       30
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       -       0
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  Extended offline    Aborted by host               90%      3567         -
# 2  Short offline       Completed without error       00%      3567         -
# 3  Short offline       Completed without error       00%      3106         -

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.
Odpowiedz
#6
0
Te błędy odczytu mogą wynikać z niesprawnego kabelka, portu sata lub samego kontrolera dysku.
Kontrolnie wymień kabelek i zmień port sata.
Zrób sobie krótki i długi test smart i zamieść wyniki.
Odpowiedz
#7
0
Ogólnie już wczoraj zmieniałem kabel i port (kabel zasilający też był inny) i nie widziałem żadnyc zmian. Teraz mzieniłem z powrotem tak jak było i nie widzę żadnych różnic. Wrzucam test:
Kod:
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-76-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     KINGSTON SUV500120G
Serial Number:    50026B76827524C0
LU WWN Device Id: 5 0026b7 6827524c0
Firmware Version: 003056RI
User Capacity:    120 034 123 776 bytes [120 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   Unknown(0x0ffe), ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Feb  1 12:27:01 2020 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:  (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
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: (    5) seconds.
Offline data collection
capabilities: (0x71) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No 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: (   5) minutes.
Conveyance self-test routine
recommended polling time: (   0) 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: 48
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   100   100   000    Pre-fail  Always       -       65359
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       1975
12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       744
100 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       451728
101 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       111592
170 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
171 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
172 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
174 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       176
175 Program_Fail_Count_Chip 0x0032   100   100   000    Old_age   Always       -       0
176 Erase_Fail_Count_Chip   0x0032   100   100   000    Old_age   Always       -       0
177 Wear_Leveling_Count     0x0032   098   098   000    Old_age   Always       -       627
178 Used_Rsvd_Blk_Cnt_Chip  0x0002   100   100   000    Old_age   Always       -       0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0002   100   100   000    Old_age   Always       -       361
183 Runtime_Bad_Block       0x0032   098   098   000    Old_age   Always       -       10
187 Reported_Uncorrect      0x0033   100   100   000    Pre-fail  Always       -       0
194 Temperature_Celsius     0x0022   032   100   000    Old_age   Always       -       32 (Min/Max 22/42)
195 Hardware_ECC_Recovered  0x0032   100   100   000    Old_age   Always       -       65359
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
199 UDMA_CRC_Error_Count    0x0012   100   100   000    Old_age   Always       -       0
201 Unknown_SSD_Attribute   0x0032   100   100   000    Old_age   Always       -       0
204 Soft_ECC_Correction     0x0032   100   100   000    Old_age   Always       -       65359
231 Temperature_Celsius     0x0032   098   098   000    Old_age   Always       -       2
233 Media_Wearout_Indicator 0x0032   100   100   000    Old_age   Always       -       1512
234 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       1244
241 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       1189
242 Total_LBAs_Read         0x0032   100   100   000    Old_age   Always       -       1341
250 Read_Error_Retry_Rate   0x0032   100   100   000    Old_age   Always       -       65359

SMART Error Log Version: 0
No Errors Logged

SMART Self-test log structure revision number 0
Warning: ATA Specification requires 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%      1975         -

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.
Jeszcze odświeżone testy smart po długim skanowaniu:
[Obrazek: KxjMO6Z.png]
Odpowiedz
#8
0
Nie wklejaj zrzutów, tylko wyniki z terminala, razem z komendami, które wywołują te wyniki.
Odpowiedz
#9
0
Powyższy wynik został wywołany przez sudo smartctl -a /dev/sda.
Odpowiedz


Skocz do:




Użytkownicy przeglądający ten wątek: 1 gości