Форум русскоязычного сообщества Ubuntu


Получить помощь и пообщаться с другими пользователями Ubuntu можно
на irc канале #ubuntu-ru в сети Freenode
и в Jabber конференции ubuntu@conference.jabber.ru

Автор Тема: Комп виснет при дисковых операциях  (Прочитано 1160 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн AlekseyUbuntu

  • Автор темы
  • Активист
  • *
  • Сообщений: 399
    • Просмотр профиля
Kubuntu 19.04

Когда начинаются дисковые операции, то все 4 ядра моего i- 4690 полностью загружаются. Приходится перегружаться, поскольку ВСЁ виснет (последний раз я терпел 15 минут). При копировании файлов единственное для чего может потребоваться процессор- рассчет оптимального расположения кусков файлов. Но системный диск наполовину пустой и можно не заниматься всеми этими оптимизациями. Планировщик BFQ уже поставил.

Какие есть способы снижения нагрузки процессора или хотя бы понижения приоритета у процессов, обслуживающих дисковые операции?

Оффлайн ALiEN

  • Администратор
  • Старожил
  • *
  • Сообщений: 6739
  • 20% Cooler
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #1 : 16 Июля 2019, 19:31:56 »
sudo apt install smartmontools
sudo smartctl -a /dev/sdX
mount | grep /sd
🖥 AsRock B550M Pro4 :: AMD Ryzen 5 3600 :: 16 GB DDR4 :: AMD Radeon RX 6600 :: XFCE
💻 ACER 5750G :: Intel Core i5-2450M :: 6 GB DDR3 :: GeForce GT 630M :: XFCE

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #2 : 16 Июля 2019, 19:51:12 »
grep -rsh "DRDY" /var/log
?
Wars ~.o

Оффлайн AlekseyUbuntu

  • Автор темы
  • Активист
  • *
  • Сообщений: 399
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #3 : 17 Июля 2019, 08:19:56 »
sudo smartctl -a /dev/sdX

denis@denis-pc:~$ sudo smartctl -a /dev/sda
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-5.0.0-20-generic] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Green
Device Model:     WDC WD10EZRX-00L4HB0
Serial Number:    WD-WCC4J1251416
LU WWN Device Id: 5 0014ee 25edaf9ef
Firmware Version: 01.01A01
User Capacity:    1 000 204 886 016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
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:    Wed Jul 17 08:16:22 2019 MSK
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:                (15120) 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:        ( 172) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x3035) 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   147   128   021    Pre-fail  Always       -       3641
  4 Start_Stop_Count        0x0032   097   097   000    Old_age   Always       -       3256
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   080   080   000    Old_age   Always       -       15017
 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   097   097   000    Old_age   Always       -       3212
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       203
193 Load_Cycle_Count        0x0032   139   139   000    Old_age   Always       -       184561
194 Temperature_Celsius     0x0022   110   096   000    Old_age   Always       -       33
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
ATA Error Count: 24705 (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 24705 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 0c 00 00 00 00  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 0c 00 00 00 00 00      01:19:04.269  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 00 00      01:19:04.268  IDENTIFY DEVICE
  ef 03 0c 00 00 00 00 00      01:18:51.636  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 00 00      01:18:51.635  IDENTIFY DEVICE
  ca 00 f0 88 5a a0 ec 00      01:18:45.906  WRITE DMA

Error 24704 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 0c 00 00 00 00  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 0c 00 00 00 00 00      01:18:51.636  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 00 00      01:18:51.635  IDENTIFY DEVICE
  ca 00 f0 88 5a a0 ec 00      01:18:45.906  WRITE DMA
  ef 10 02 00 00 00 a0 00      01:18:45.905  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.905  IDENTIFY DEVICE

Error 24703 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 f0 88 5a a0 ec  Device Fault; Error: ABRT at LBA = 0x0ca05a88 = 211835528

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ca 00 f0 88 5a a0 ec 00      01:18:45.906  WRITE DMA
  ef 10 02 00 00 00 a0 00      01:18:45.905  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.905  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      01:18:45.905  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 a0 00      01:18:45.904  SET FEATURES [Enable SATA feature]

Error 24702 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 02 00 00 00 a0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 10 02 00 00 00 a0 00      01:18:45.905  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.905  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      01:18:45.905  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 a0 00      01:18:45.904  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.904  IDENTIFY DEVICE

Error 24701 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 46 00 00 00 a0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 46 00 00 00 a0 00      01:18:45.905  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 a0 00      01:18:45.904  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.904  IDENTIFY DEVICE
  ca 00 f0 88 5a a0 ec 00      01:18:45.878  WRITE DMA
  ef 10 02 00 00 00 a0 00      01:18:45.877  SET FEATURES [Enable SATA feature]

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     12592         -
# 2  Short offline       Completed without error       00%     12583         -
# 3  Short offline       Completed without error       00%      9013         -
# 4  Short offline       Completed without error       00%      2608         -

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.


mount | grep /sd
denis@denis-pc:~$ mount | grep /sd
/dev/sda7 on / type btrfs (rw,relatime,space_cache,subvolid=256,subvol=/@)
/dev/sdb1 on /mnt/ssd type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
/dev/sda5 on /mnt/OpenSuse type btrfs (rw,nosuid,nodev,relatime,space_cache,subvolid=268,subvol=/@/.snapshots/1/snapshot)
/dev/sda7 on /home type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@home)
/dev/sda8 on /mnt/ntfs type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096,x-gvfs-show)
/dev/sda2 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda10 on /mnt/ext4 type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)

Пользователь добавил сообщение 17 Июля 2019, 08:21:34:
grep -rsh "DRDY" /var/log

При вводе этой команды я не получаю никакого вывода:
denis@denis-pc:~$ grep -rsh "DRDY" /var/log
denis@denis-pc:~$
« Последнее редактирование: 17 Июля 2019, 08:21:34 от AlekseyUbuntu »

Оффлайн snowin

  • Активист
  • *
  • Сообщений: 883
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #4 : 17 Июля 2019, 10:14:55 »
AlekseyUbuntu, только сначало smartctl -t long /dev/sda

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #5 : 17 Июля 2019, 11:06:17 »
sudo timeout 30 dd if=/dev/sda of=/dev/null bs=1M 2>/dev/null
grep -rsh "DRDY" /var/log
30 секунд и лог.
Wars ~.o

Оффлайн AlekseyUbuntu

  • Автор темы
  • Активист
  • *
  • Сообщений: 399
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #6 : 17 Июля 2019, 17:57:45 »
smartctl -t long /dev/sda

denis@denis-pc:~$ sudo smartctl -t long /dev/sda
[sudo] password for denis:
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-5.0.0-20-generic] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 172 minutes for test to complete.
Test will complete after Wed Jul 17 20:49:13 2019

Use smartctl -X to abort test.

Оффлайн snowin

  • Активист
  • *
  • Сообщений: 883
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #7 : 17 Июля 2019, 18:01:22 »
AlekseyUbuntu, дык, вот теперь вывод smartctl -a /dev/sda

Оффлайн AlekseyUbuntu

  • Автор темы
  • Активист
  • *
  • Сообщений: 399
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #8 : 17 Июля 2019, 18:03:13 »
grep -rsh "DRDY" /var/log

Вы очень кратко пишите. Я не понимаю что значит "30 секунд и лог."
Мне где то надо найти какой- то лог- файл и разместить в этой теме?

Пользователь добавил сообщение 17 Июля 2019, 18:06:29:
smartctl -a /dev/sda

Если последовательно применить две команды, то получаем такие результаты:
denis@denis-pc:~$ sudo smartctl -t long /dev/sda
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-5.0.0-20-generic] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Can't start self-test without aborting current test (90% remaining),
add '-t force' option to override, or run 'smartctl -X' to abort test.

denis@denis-pc:~$ sudo smartctl -a /dev/sda
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-5.0.0-20-generic] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Green
Device Model:     WDC WD10EZRX-00L4HB0
Serial Number:    WD-WCC4J1251416
LU WWN Device Id: 5 0014ee 25edaf9ef
Firmware Version: 01.01A01
User Capacity:    1 000 204 886 016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
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:    Wed Jul 17 18:04:06 2019 MSK
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:      ( 249) Self-test routine in progress...
                                        90% of test remaining.
Total time to complete Offline
data collection:                (15120) 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:        ( 172) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x3035) 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   147   128   021    Pre-fail  Always       -       3641
  4 Start_Stop_Count        0x0032   097   097   000    Old_age   Always       -       3256
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   080   080   000    Old_age   Always       -       15027
 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   097   097   000    Old_age   Always       -       3212
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       203
193 Load_Cycle_Count        0x0032   139   139   000    Old_age   Always       -       184561
194 Temperature_Celsius     0x0022   108   096   000    Old_age   Always       -       35
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
ATA Error Count: 24705 (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 24705 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 0c 00 00 00 00  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 0c 00 00 00 00 00      01:19:04.269  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 00 00      01:19:04.268  IDENTIFY DEVICE
  ef 03 0c 00 00 00 00 00      01:18:51.636  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 00 00      01:18:51.635  IDENTIFY DEVICE
  ca 00 f0 88 5a a0 ec 00      01:18:45.906  WRITE DMA

Error 24704 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 0c 00 00 00 00  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 0c 00 00 00 00 00      01:18:51.636  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 00 00      01:18:51.635  IDENTIFY DEVICE
  ca 00 f0 88 5a a0 ec 00      01:18:45.906  WRITE DMA
  ef 10 02 00 00 00 a0 00      01:18:45.905  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.905  IDENTIFY DEVICE

Error 24703 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 f0 88 5a a0 ec  Device Fault; Error: ABRT at LBA = 0x0ca05a88 = 211835528

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ca 00 f0 88 5a a0 ec 00      01:18:45.906  WRITE DMA
  ef 10 02 00 00 00 a0 00      01:18:45.905  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.905  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      01:18:45.905  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 a0 00      01:18:45.904  SET FEATURES [Enable SATA feature]

Error 24702 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 02 00 00 00 a0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 10 02 00 00 00 a0 00      01:18:45.905  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.905  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      01:18:45.905  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 a0 00      01:18:45.904  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.904  IDENTIFY DEVICE

Error 24701 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 46 00 00 00 a0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 46 00 00 00 a0 00      01:18:45.905  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 a0 00      01:18:45.904  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.904  IDENTIFY DEVICE
  ca 00 f0 88 5a a0 ec 00      01:18:45.878  WRITE DMA
  ef 10 02 00 00 00 a0 00      01:18:45.877  SET FEATURES [Enable SATA feature]

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     12592         -
# 2  Short offline       Completed without error       00%     12583         -
# 3  Short offline       Completed without error       00%      9013         -
# 4  Short offline       Completed without error       00%      2608         -

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.
« Последнее редактирование: 17 Июля 2019, 18:07:39 от AlekseyUbuntu »

Оффлайн ReNzRv

  • Старожил
  • *
  • Сообщений: 2648
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #9 : 17 Июля 2019, 18:16:31 »
AlekseyUbuntu,
Первая команда пишет тебе что уже выполняется самопроверка диска (прогресс 90%)
дождись завершения, не перезагружай и не выключай!

Оффлайн AlekseyUbuntu

  • Автор темы
  • Активист
  • *
  • Сообщений: 399
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #10 : 17 Июля 2019, 18:42:56 »
AlekseyUbuntu,
Первая команда пишет тебе что уже выполняется самопроверка диска (прогресс 90%)
дождись завершения, не перезагружай и не выключай!

Я дожидаюсь, потому что командная строка перепрыгивает на приглашение к вводу новой команды. Как должно выглядеть окончание этой самопроверки диска и где посмотреть результаты?

Оффлайн ALiEN

  • Администратор
  • Старожил
  • *
  • Сообщений: 6739
  • 20% Cooler
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #11 : 17 Июля 2019, 19:16:37 »
Please wait 172 minutes for test to complete.
Test will complete after Wed Jul 17 20:49:13 2019


Пользователь добавил сообщение 17 Июля 2019, 19:18:42:
После окончания - результаты здесь:
smartctl -a /dev/sda
« Последнее редактирование: 17 Июля 2019, 19:18:42 от ALiEN175 »
🖥 AsRock B550M Pro4 :: AMD Ryzen 5 3600 :: 16 GB DDR4 :: AMD Radeon RX 6600 :: XFCE
💻 ACER 5750G :: Intel Core i5-2450M :: 6 GB DDR3 :: GeForce GT 630M :: XFCE

Оффлайн snowin

  • Активист
  • *
  • Сообщений: 883
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #12 : 17 Июля 2019, 19:48:49 »
AlekseyUbuntu, команда smartctl -l selftest /dev/sda покажет окончание, или процент

Оффлайн AlekseyUbuntu

  • Автор темы
  • Активист
  • *
  • Сообщений: 399
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #13 : 19 Июля 2019, 17:06:37 »
AlekseyUbuntu, команда smartctl -l selftest /dev/sda покажет окончание, или процент

Запустил тесты:
denis@denis-pc:~$ sudo smartctl -t long /dev/sda
[sudo] password for denis:
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-5.0.0-20-generic] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 172 minutes for test to complete.
Test will complete after Fri Jul 19 11:02:02 2019

Use smartctl -X to abort test.


Дождался завершения тестов и проверил завершенность:
denis@denis-pc:~$ sudo smartctl -l selftest /dev/sda
[sudo] password for denis:
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-5.0.0-20-generic] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
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%     15067         -
# 2  Extended offline    Completed without error       00%     15029         -
# 3  Short offline       Completed without error       00%     12592         -
# 4  Short offline       Completed without error       00%     12583         -
# 5  Short offline       Completed without error       00%      9013         -
# 6  Short offline       Completed without error       00%      2608         -

Получил результаты:
denis@denis-pc:~$ sudo smartctl -a /dev/sda
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-5.0.0-20-generic] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Green
Device Model:     WDC WD10EZRX-00L4HB0
Serial Number:    WD-WCC4J1251416
LU WWN Device Id: 5 0014ee 25edaf9ef
Firmware Version: 01.01A01
User Capacity:    1 000 204 886 016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
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:    Fri Jul 19 17:03:58 2019 MSK
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:                (15120) 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:        ( 172) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x3035) 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   147   128   021    Pre-fail  Always       -       3641
  4 Start_Stop_Count        0x0032   097   097   000    Old_age   Always       -       3256
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   080   080   000    Old_age   Always       -       15074
 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   097   097   000    Old_age   Always       -       3212
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       203
193 Load_Cycle_Count        0x0032   139   139   000    Old_age   Always       -       184561
194 Temperature_Celsius     0x0022   107   096   000    Old_age   Always       -       36
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
ATA Error Count: 24705 (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 24705 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 0c 00 00 00 00  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 0c 00 00 00 00 00      01:19:04.269  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 00 00      01:19:04.268  IDENTIFY DEVICE
  ef 03 0c 00 00 00 00 00      01:18:51.636  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 00 00      01:18:51.635  IDENTIFY DEVICE
  ca 00 f0 88 5a a0 ec 00      01:18:45.906  WRITE DMA

Error 24704 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 0c 00 00 00 00  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 0c 00 00 00 00 00      01:18:51.636  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 00 00      01:18:51.635  IDENTIFY DEVICE
  ca 00 f0 88 5a a0 ec 00      01:18:45.906  WRITE DMA
  ef 10 02 00 00 00 a0 00      01:18:45.905  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.905  IDENTIFY DEVICE

Error 24703 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 f0 88 5a a0 ec  Device Fault; Error: ABRT at LBA = 0x0ca05a88 = 211835528

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ca 00 f0 88 5a a0 ec 00      01:18:45.906  WRITE DMA
  ef 10 02 00 00 00 a0 00      01:18:45.905  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.905  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      01:18:45.905  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 a0 00      01:18:45.904  SET FEATURES [Enable SATA feature]

Error 24702 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 02 00 00 00 a0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 10 02 00 00 00 a0 00      01:18:45.905  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.905  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      01:18:45.905  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 a0 00      01:18:45.904  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.904  IDENTIFY DEVICE

Error 24701 occurred at disk power-on lifetime: 10549 hours (439 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
  -- -- -- -- -- -- --
  04 61 46 00 00 00 a0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 46 00 00 00 a0 00      01:18:45.905  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 a0 00      01:18:45.904  SET FEATURES [Enable SATA feature]
  ec 00 00 00 00 00 a0 00      01:18:45.904  IDENTIFY DEVICE
  ca 00 f0 88 5a a0 ec 00      01:18:45.878  WRITE DMA
  ef 10 02 00 00 00 a0 00      01:18:45.877  SET FEATURES [Enable SATA feature]

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%     15067         -
# 2  Extended offline    Completed without error       00%     15029         -
# 3  Short offline       Completed without error       00%     12592         -
# 4  Short offline       Completed without error       00%     12583         -
# 5  Short offline       Completed without error       00%      9013         -
# 6  Short offline       Completed without error       00%      2608         -

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.

Оффлайн snowin

  • Активист
  • *
  • Сообщений: 883
    • Просмотр профиля
Re: Комп виснет при дисковых операциях
« Ответ #14 : 19 Июля 2019, 17:14:37 »
Какие есть способы снижения нагрузки процессора или хотя бы понижения приоритета у процессов, обслуживающих дисковые операции?
никакого, копирование это сложный процесс

 

Страница сгенерирована за 0.062 секунд. Запросов: 23.