Vendredi 23 novembre 2018

Portable ACER

Lenteur au démarrage

systemd-analyze blame # affiche la durée de mise en service des différents composants au démarrage 

20.966s systemd-journal-flush.service

$ sudo rm /var/log/journal/* # $ find /var/log/journal -name “*.journal” | xargs sudo rm
$ sudo systemctl restart systemd-journald

5ms systemd-journal-flush.service

10.905s lvm2-monitor.service

LVM n’est pas utilisé

[root@manjaro claudine]# systemctl list-unit-files –type=service |grep lvm2 lvm2-lvmetad.service static
lvm2-lvmpolld.service static
lvm2-monitor.service disabled
lvm2-pvscan@.service static
[root@manjaro claudine]# ^C [root@manjaro claudine]# ^C [root@manjaro claudine]# systemctl mask lvm2-lvmetad.service Created symlink /etc/systemd/system/lvm2-lvmetad.service → /dev/null. [root@manjaro claudine]# systemctl mask lvm2-lvmpolld.service Created symlink /etc/systemd/system/lvm2-lvmpolld.service → /dev/null. [root@manjaro claudine]# systemctl mask lvm2-pvscan@.service Created symlink /etc/systemd/system/lvm2-pvscan@.service → /dev/null. systemctl mask lvm2-monitor.service

[claudine@manjaro ~]$ systemctl list-unit-files –type=service |grep lvm2 lvm2-lvmetad.service masked
lvm2-lvmpolld.service masked
lvm2-monitor.service masked
lvm2-pvscan@.service masked

Redémarrer le portable