LINUX.ORG.RU

Постоянные проблемы записи на системный диск

 , , , ,


0

1

Система: Kubuntu 19.04(Plasma 5.15.4). Windows рядом нет.

Проблема в том, что могу просто сидеть делать что-то(кодить, просто сидеть в firefox’е, слушать музыку с другого ntfs-раздела). НО ВДРУГ половина приложений начинают работать криво, музыка больше не работает, при запуске приложений выдает много-много предупреждений (что-то вроде «Невожможно создать такой-то конфигурационный файл»), а запись на диск больше не возможна(доступен только для чтения).

После перезагрузки обычно вываливается такое:

busyBox такой-то

(initfarms)

Лечится с помощью fsck. Но повторяется очень часто, хотя диск был проверен victori’ей, проблем не было обнаружено.

Что мне делать? В чем проблема?



Последнее исправление: rahdah06 (всего исправлений: 1)

Что dmesg говорит по этому поводу?

ox55ff ★★★★★
()

smartctl -a /dev/sdX смотри. Может контакт на кабеле быть плохим.

Ещё прогони напрямую e2fsck или какая там нижележащая утилита для твоей фс.

anonymous
()
Ответ на: комментарий от anonymous

smartctl 6.6 2017-11-05 r4594 [x86_64-linux-5.0.0-23-generic] (local build) Copyright (C) 2002-17, Bruce Allen, Christian Franke, http://www.smartmontools.org

=== START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.12 Device Model: ST3320418AS Serial Number: 9VMDLB5N LU WWN Device Id: 5 000c50 0202ca546 Firmware Version: HP34 User Capacity: 320 072 933 376 bytes [320 GB] 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 Aug 11 17:24:20 2019 MSK

==> 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: ( 625) 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: ( 2) minutes. Extended self-test routine recommended polling time: ( 68) 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 0x002f 116 099 006 Pre-fail Always - 107741069 3 Spin_Up_Time 0x0023 097 097 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 096 096 020 Old_age Always - 4129 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0 7 Seek_Error_Rate 0x002f 079 060 030 Pre-fail Always - 89487515 9 Power_On_Hours 0x0032 097 097 000 Old_age Always - 3320 10 Spin_Retry_Count 0x0033 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 098 098 020 Old_age Always - 2066 180 Unknown_HDD_Attribute 0x002b 100 100 000 Pre-fail Always - 4085762704 183 Runtime_Bad_Block 0x0032 001 001 000 Old_age Always - 17971 184 End-to-End_Error 0x0033 100 100 097 Pre-fail Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 001 000 Old_age Always - 30065235522 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 066 054 045 Old_age Always - 34 (Min/Max 23/34) 194 Temperature_Celsius 0x0022 034 046 000 Old_age Always - 34 (0 10 0 0 0) 195 Hardware_ECC_Recovered 0x003a 056 041 000 Old_age Always - 107741069 196 Reallocated_Event_Count 0x0032 100 100 036 Old_age Always - 0 197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 188 000 Old_age Always - 17944

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 Interrupted (host reset) 90% 0 -

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.

rahdah06
() автор топика
Ответ на: комментарий от anonymous
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-5.0.0-23-generic] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.12
Device Model:     ST3320418AS
Serial Number:    9VMDLB5N
LU WWN Device Id: 5 000c50 0202ca546
Firmware Version: HP34
User Capacity:    320 072 933 376 bytes [320 GB]
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 Aug 11 17:24:20 2019 MSK

==> 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:                (  625) 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:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  68) 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     0x002f   116   099   006    Pre-fail  Always       -       107741069
  3 Spin_Up_Time            0x0023   097   097   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   096   096   020    Old_age   Always       -       4129
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002f   079   060   030    Pre-fail  Always       -       89487515
  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       3320
 10 Spin_Retry_Count        0x0033   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   098   098   020    Old_age   Always       -       2066
180 Unknown_HDD_Attribute   0x002b   100   100   000    Pre-fail  Always       -       4085762704
183 Runtime_Bad_Block       0x0032   001   001   000    Old_age   Always       -       17971
184 End-to-End_Error        0x0033   100   100   097    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   001   000    Old_age   Always       -       30065235522
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   066   054   045    Old_age   Always       -       34 (Min/Max 23/34)
194 Temperature_Celsius     0x0022   034   046   000    Old_age   Always       -       34 (0 10 0 0 0)
195 Hardware_ECC_Recovered  0x003a   056   041   000    Old_age   Always       -       107741069
196 Reallocated_Event_Count 0x0032   100   100   036    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   188   000    Old_age   Always       -       17944

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    Interrupted (host reset)      90%         0         -

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.
rahdah06
() автор топика

У меня такое было на материнской плате ASUS Sabertooth R2.0. Там USB 2.0 иногда на мгновение отключает все устройства. Если система была загружена с USB 2.0 флешки - доступ к файловой системе прекращён. Всё, что уже было запущено, ещё работает, но что-то новое запустить уже нельзя.

Помогло переключение флешки в разъём USB 3.0

anonymous
()
Ответ на: комментарий от rahdah06

Диск сам по себе вроде в порядке (по крайней мере блины). Проверяй шлейф, контроллер, питание. dmesg надо смотреть.

legolegs ★★★★★
()

Windows рядом нет.

А вдруг у соседей есть? Оно ведь тоже может влиять.

ntfs

А говоришь Windows нет. [1]

диск был проверен victori’ей

А говоришь Windows нет. [2]

В чем проблема?

Для начала шлейфы проверь, замени data-шлейф, подключи другой шлейф питания диска.

mord0d ★★★★★
()
Ответ на: комментарий от rahdah06

188 Command_Timeout 30065235522

Какбы намекает что диск втупляет при получении команд. Проверяй шлейфы, питание, контроллер...

vq156 ★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.