salut,
j’ai monté un serveur (web et autre) avec un intel nuc sous buster. le système est installé sur un SSD (sda).
je le supervise avec zabbix (depuis lui-même sous docker) et que j’ai configuré avec le modèle Template OS Linux by Zabbix agent.
zabbix me remonte cette alerte :
sda: Disk read/write request response are too high (read > 20 ms for 15m or write > 20 ms for 15m)
this trigger might indicate disk sda saturation.
a priori j’ai jamais rencontré de lenteur particulière sur ce système, mais j’ai fait quelques tests :
espace libre :
krodelabestiole@micropoutre ~ df -h | grep sda
/dev/sda2 102G 51G 47G 53% /
/dev/sda1 511M 5.2M 506M 1% /boot/efi
dd :
krodelabestiole@micropoutre ~ sudo dd if=/dev/zero of=/root/testfile bs=512 count=1000 oflag=dsync
1000+0 records in
1000+0 records out
512000 bytes (512 kB, 500 KiB) copied, 239.711 s, 2.1 kB/s
hdparm :
krodelabestiole@micropoutre ~ sudo hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 6998 MB in 2.00 seconds = 3505.30 MB/sec
Timing buffered disk reads: 286 MB in 3.02 seconds = 94.70 MB/sec
smartmon :
krodelabestiole@micropoutre ~ sudo smartctl -H -i /dev/sda
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-6-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Crucial/Micron MX1/2/300, M5/600, 1100 Client SSDs
Device Model: Crucial_CT120M500SSD3
Serial Number: 1350095E647E
LU WWN Device Id: 5 00a075 1095e647e
Firmware Version: MU03
User Capacity: 120,034,123,776 bytes [120 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Form Factor: < 1.8 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2, 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 Nov 9 17:22:11 2019 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
krodelabestiole@micropoutre ~ sudo smartctl -t short /dev/sda
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-6-amd64] (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 Short self-test routine immediately in off-line mode".
Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 2 minutes for test to complete.
Test will complete after Sat Nov 9 17:24:45 2019
Use smartctl -X to abort test.
krodelabestiole@micropoutre ~ sudo smartctl -l selftest /dev/sda
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-6-amd64] (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 Short offline Completed without error 00% 49944 -
# 2 Vendor (0xff) Completed without error 00% 41834 -
# 3 Vendor (0xff) Completed without error 00% 5003 -
# 4 Vendor (0xff) Completed without error 00% 4990 -
# 5 Vendor (0xff) Completed without error 00% 4978 -
# 6 Vendor (0xff) Completed without error 00% 4965 -
# 7 Vendor (0xff) Completed without error 00% 4953 -
# 8 Vendor (0xff) Completed without error 00% 4789 -
# 9 Vendor (0xff) Completed without error 00% 4776 -
#10 Vendor (0xff) Completed without error 00% 190 -
le retour de dd me parait particulièrement lent…
est-ce que j’ai du soucis à faire ? dans ce cas y a-t-il une manip à faire (changer de SSD) ?
ou est-ce que je devrais simplement désactiver ce test ?