#26 Le 04/01/2020, à 15:18
- Jupiter007
Re : [RESOLU] Démarrage très lent
Bonjour et bonne année à tous,
déjà l'ordinateur n'a pas pris la bonne résolution de démarrer rapidement pour 2020…
J'ai branché le SSD sur mon ordi pour faire des tests de perf et il y a vraiment un problème. Il oscille entre des phases rapides et des phases (très) lentes.
J'ai pensé à faire une image disque, de le formater proprement, puis de restaurer les données. Sera-ce utile ?
Le thème d'icône Yaru pour Libreoffice : https://github.com/ubuntu/libreoffice-s … -fullcolor
Hors ligne
#27 Le 05/01/2020, à 20:18
- Jupiter007
Re : [RESOLU] Démarrage très lent
Bonsoir,
problème résolu : j’ai formaté le SSD, puis restauré les données avec l’image disque faite tantôt.
Il démarre à nouveau comme avant, mon père est ravi !
Merci à tous pour votre aide
Bonne soirée,
Jupiter007
Le thème d'icône Yaru pour Libreoffice : https://github.com/ubuntu/libreoffice-s … -fullcolor
Hors ligne
#28 Le 06/01/2020, à 17:44
- grandtoubab
Re : [RESOLU] Démarrage très lent
on aurait bien aimé avoir des résultats de test avant/après avec hdparm
Exemple sur mon vieux Hitachi
root@debian:~# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 2528 MB in 2.00 seconds = 1263.71 MB/sec
Timing buffered disk reads: 276 MB in 3.00 seconds = 91.92 MB/sec
root@debian:~#
Dernière modification par grandtoubab (Le 06/01/2020, à 17:45)
Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....
Hors ligne
#29 Le 07/01/2020, à 14:33
- Jupiter007
Re : [RESOLU] Démarrage très lent
Bonjour,
désolé je n'ai fait que des tests avec gnome-disques et maintenant c'est trop tard.
Voici tout de même le retour de commande :
$ sudo hdparm -tT /dev/sdc
[sudo] Mot de passe de yannick :
/dev/sdc:
Timing cached reads: 3854 MB in 2.00 seconds = 1927.34 MB/sec
Timing buffered disk reads: 808 MB in 3.00 seconds = 268.99 MB/sec
Son SSD est tout de même plus lent que le mien (alors qu'ils ont les mêmes vitesses théoriques) :
$ sudo hdparm -tT /dev/sda
[sudo] Mot de passe de jupiter007 :
/dev/sda:
Timing cached reads: 9202 MB in 2.00 seconds = 4605.43 MB/sec
Timing buffered disk reads: 1124 MB in 3.00 seconds = 374.18 MB/sec
Gnome-disque me donne une vitesse de lecture de ~270mo/s stable (~500mo/s pour le mien), ce qui est tout de même mieux qu'avant car il tombait souvent à 80mo/s.
Le thème d'icône Yaru pour Libreoffice : https://github.com/ubuntu/libreoffice-s … -fullcolor
Hors ligne
#30 Le 07/01/2020, à 15:39
- grandtoubab
Re : [RESOLU] Démarrage très lent
tu peux mettre le service smartd.service pour avoir le suivi du disque
chez moi je vois qu'il chauffe quand je fais de la conversion vidéo
dans /etc/smartd.conf https://linux.die.net/man/5/smartd.conf
cat /etc/smartd.conf | grep -v "^#"
DEVICESCAN -a -n standby -m root@localhost -M test
Vérifier
systemctl status smartd.service -l -n 50 --no-pager
systemctl status smartd.service -l -n 50 --no-pager
● smartmontools.service - Self Monitoring and Reporting Technology (SMART) Daemon
Loaded: loaded (/lib/systemd/system/smartmontools.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2020-01-07 15:46:35 CET; 3min 33s ago
Docs: man:smartd(8)
man:smartd.conf(5)
Main PID: 3240 (smartd)
Status: "Next check of 1 device will start at 16:16:35"
Tasks: 1 (limit: 4279)
Memory: 2.3M
CGroup: /system.slice/smartmontools.service
└─3240 /usr/sbin/smartd -n
janv. 07 15:46:34 debian systemd[1]: Starting Self Monitoring and Reporting Technology (SMART) Daemon...
janv. 07 15:46:34 debian smartd[3240]: smartd 7.0 2018-12-30 r4883 [x86_64-linux-5.4.0-2-amd64] (local build)
janv. 07 15:46:34 debian smartd[3240]: Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org
janv. 07 15:46:34 debian smartd[3240]: Opened configuration file /etc/smartd.conf
janv. 07 15:46:34 debian smartd[3240]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
janv. 07 15:46:34 debian smartd[3240]: Device: /dev/sda, type changed from 'scsi' to 'sat'
janv. 07 15:46:34 debian smartd[3240]: Device: /dev/sda [SAT], opened
janv. 07 15:46:34 debian smartd[3240]: Device: /dev/sda [SAT], Hitachi HTS725032A9A364, S/N:110305PCKC04BPJ0X3GK, WWN:5-000cca-645dc9889, FW:PC3OCH0A, 320 GB
janv. 07 15:46:34 debian smartd[3240]: Device: /dev/sda [SAT], found in smartd database: Hitachi Travelstar 7K500
janv. 07 15:46:35 debian smartd[3240]: Device: /dev/sda [SAT], is SMART capable. Adding to "monitor" list.
janv. 07 15:46:35 debian smartd[3240]: Device: /dev/sda [SAT], state read from /var/lib/smartmontools/smartd.Hitachi_HTS725032A9A364-110305PCKC04BPJ0X3GK.ata.state
janv. 07 15:46:35 debian smartd[3240]: Monitoring 1 ATA/SATA, 0 SCSI/SAS and 0 NVMe devices
janv. 07 15:46:35 debian smartd[3240]: Executing test of <mail> to root@localhost ...
janv. 07 15:46:35 debian smartd[3240]: Test of <mail> to root@localhost: successful
janv. 07 15:46:35 debian smartd[3240]: Device: /dev/sda [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 58 to 57
janv. 07 15:46:35 debian smartd[3240]: Device: /dev/sda [SAT], state written to /var/lib/smartmontools/smartd.Hitachi_HTS725032A9A364-110305PCKC04BPJ0X3GK.ata.state
janv. 07 15:46:35 debian systemd[1]: Started Self Monitoring and Reporting Technology (SMART) Daemon.
root@debian:~#
Dernière modification par grandtoubab (Le 07/01/2020, à 16:50)
Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....
Hors ligne
#31 Le 10/01/2020, à 16:51
- Jupiter007
Re : [RESOLU] Démarrage très lent
Bonjour,
je vérifie régulièrement les données SMART dans gnome-disque.
Apparemment tout est déjà actif :
$ cat /etc/smartd.conf | grep -v "^#"
DEVICESCAN -d removable -n standby -m root -M exec /usr/share/smartmontools/smartd-runner
$ systemctl status smartd.service -l -n 50 --no-pager
● smartd.service - Self Monitoring and Reporting Technology (SMART) Daemon
Loaded: loaded (/lib/systemd/system/smartd.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-01-10 15:41:54 CET; 3min 33s ago
Docs: man:smartd(8)
man:smartd.conf(5)
Main PID: 1005 (smartd)
Tasks: 1 (limit: 3772)
CGroup: /system.slice/smartd.service
└─1005 /usr/sbin/smartd -n
janv. 10 15:41:54 yannick-system-product-name systemd[1]: Started Self Monitoring and Reporting Technology (SMART) Daemon.
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: smartd 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-74-generic] (local build)
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Opened configuration file /etc/smartd.conf
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Drive: DEVICESCAN, implied '-a' Directive on line 21 of file /etc/smartd.conf
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Device: /dev/sda, type changed from 'scsi' to 'sat'
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Device: /dev/sda [SAT], opened
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Device: /dev/sda [SAT], WDC WD20EZRX-00D8PB0, S/N:WD-WMC4M1120673, WWN:5-0014ee-6591270f1, FW:80.00A80, 2.00 TB
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Device: /dev/sda [SAT], found in smartd database: Western Digital Green
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Device: /dev/sda [SAT], is SMART capable. Adding to "monitor" list.
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Device: /dev/sda [SAT], state read from /var/lib/smartmontools/smartd.WDC_WD20EZRX_00D8PB0-WD_WMC4M1120673.ata.state
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Device: /dev/sdb, type changed from 'scsi' to 'sat'
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Device: /dev/sdb [SAT], opened
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Device: /dev/sdb [SAT], ST2000DM008-2FR102, S/N:WFL0TT6J, WWN:5-000c50-0bdc4b4bf, FW:0001, 2.00 TB
janv. 10 15:41:54 yannick-system-product-name smartd[1005]: Device: /dev/sdb [SAT], not found in smartd database.
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sdb [SAT], is SMART capable. Adding to "monitor" list.
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sdb [SAT], state read from /var/lib/smartmontools/smartd.ST2000DM008_2FR102-WFL0TT6J.ata.state
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sdc, type changed from 'scsi' to 'sat'
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sdc [SAT], opened
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sdc [SAT], CT120BX500SSD1, S/N:1844E1620BA7, WWN:0-000000-000000000, FW:M6CR013, 120 GB
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sdc [SAT], not found in smartd database.
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sdc [SAT], is SMART capable. Adding to "monitor" list.
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sdc [SAT], state read from /var/lib/smartmontools/smartd.CT120BX500SSD1-1844E1620BA7.ata.state
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Monitoring 3 ATA/SATA, 0 SCSI/SAS and 0 NVMe devices
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 126 to 124
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sdb [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 76 to 74
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sdb [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 24 to 26
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sdc [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 71 to 70
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sda [SAT], state written to /var/lib/smartmontools/smartd.WDC_WD20EZRX_00D8PB0-WD_WMC4M1120673.ata.state
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sdb [SAT], state written to /var/lib/smartmontools/smartd.ST2000DM008_2FR102-WFL0TT6J.ata.state
janv. 10 15:41:55 yannick-system-product-name smartd[1005]: Device: /dev/sdc [SAT], state written to /var/lib/smartmontools/smartd.CT120BX500SSD1-1844E1620BA7.ata.state
Le thème d'icône Yaru pour Libreoffice : https://github.com/ubuntu/libreoffice-s … -fullcolor
Hors ligne
#32 Le 10/01/2020, à 20:27
- moko138
Re : [RESOLU] Démarrage très lent
je vérifie régulièrement les données SMART dans gnome-disque.
Non, car
1) gnome-disk, alias "Disques" est bugué quant à la lecture des données SMART ;
2) La commande
systemctl status smartd.service -l -n 50 --no-pager
loin de te montrer les données SMART, te montre seulement l'activité du daemon smartd ;
3) Il vaut mieux s'adresser au bon dieu qu'à ses saints.
Donc pour lire (et conserver pour voir leur évolution) l'état de tes disques,
je te conseille
- de créer un dossier de stockage des rapports SMART :
cd ; mkdir -v Smart-rapports
- ensuite d'y stocker les rapports datés :
en lançant, à intervalles réguliers (une fois par trimestre suffit pour un disque neuf et sain)
cd ~/Smart-rapports ; sudo smartctl -s on -S on -o on -a /dev/chacun-de-tes-disques > smart_$(date +%Y%m%d-%Hh%M).txt
en remplaçant "chacun-de-tes-disques" par ce qui conviendra.
/!\ Et quand un disque commence à manifester de l'usure, on remplace -o on par -o off, pour supprimer les tests automatiques toutes les quatre heures.
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#33 Le 10/01/2020, à 20:50
- grandtoubab
Re : [RESOLU] Démarrage très lent
j'utilise Anacron et je me suis aussi créé une tâche hebdomadaire smartctl dans /etc/cron.weekly
#! /bin/bash
#set -e
/usr/sbin/smartctl -t short /dev/sda
/bin/sleep 180
/usr/sbin/smartctl -l selftest /dev/sda
/usr/sbin/smartctl -H /dev/sda
/usr/sbin/smartctl -x /dev/sda
De plus anacron envoi un mail de résultat
Dernière modification par grandtoubab (Le 10/01/2020, à 20:51)
Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....
Hors ligne
#34 Le 12/01/2020, à 21:18
- Jupiter007
Re : [RESOLU] Démarrage très lent
Bonsoir,
merci pour tous ces conseils.
J'ai déjà smart-notifier d'installé, est-il utile de définir un cron en plus ?
1) gnome-disk, alias "Disques" est bugué quant à la lecture des données SMART ;
C'est toujours bon à savoir !
Sinon si quelqu'un est capable de m’expliquer pourquoi le formatage du disque a résolu le problème de lenteur je suis preneur.
Le thème d'icône Yaru pour Libreoffice : https://github.com/ubuntu/libreoffice-s … -fullcolor
Hors ligne