Avvio lunghissimo ubuntu 18.04 su ssd

Pubblicità

bmarco

Utente Attivo
Messaggi
265
Reazioni
5
Punteggio
48
Ciao a tutti. Ho installato da qualche mese ubuntu 18.04 su ssd samsung 850 evo alla quale ho affiancato un hard disk WD red da 1 Tb solo per i dati formattato in ext4. Preciso che l'ssd è stato formattato in MBR e non quindi con installazione in modalità UEFI.
Fino a pochi giorni fa tutto ok, monta l'hard disk all'avvio e ubuntu si avvia quasi immediatamente. L'altro giorno avvio ubuntu e si ferma su schermata viola con ubuntu ed i puntini bianchi bloccati e solo dopo 1 minuto appare il puntatore del mouse e funziona tutto. Successivamente gli avvii sono stati regolari. Oggi a pc spento ma con interruttore dell'alimentatore in on ho staccato l'hard disk dal connettore sata e dati ed ho avviato il pc per capire se il rumore che proveniva dal case fosse causa dell'hard disk oppure di una ventola (rumore leggerissimo ma volevo sapere se era la ventola o meno). All'avvio di Ubuntu 18.04 si riblocca con Ubuntu e puntini bianchi. A questo punto premo CTRL ALT CANC e riavvio. Appare una schermata viola dove chiede che cosa selezionare. Ho fatto appena in tempo a verificare qualcosa di quello che c'era scritto: GNU GRUB come titolo e poi sotto Ubuntu, Memory test, ma dopo poco si è riavviato da solo. Ho spento il pc nuovamente, collegato l'hard disk e po spento. Di nuovo acceso il pc: prima di ottenere un avvio rapido come prima ho dovuto riavvire 6 volte, si piantava come prima e mostrava regolarmente il desktop anche dopo 1 munuto/2 minuti. Ora è il secondo avvio che avviene regolarmente. Seconodo voi che cosa è successo?
Grazie.
 
Ultima modifica:
E' successo che il filesystem sull'HD era danneggiato e il sistema ha avviato fsck all'avvio. Fsck ovviamente richiede un bel pò di tempo su un HD meccanico ed ecco spiegato il perchè della lentezza.
 
Ciao a tutti. Ho installato da qualche mese ubuntu 18.04 su ssd samsung 850 evo alla quale ho affiancato un hard disk WD red da 1 Tb solo per i dati formattato in ext4. Preciso che l'ssd è stato formattato in MBR e non quindi con installazione in modalità UEFI.
Fino a pochi giorni fa tutto ok, monta l'hard disk all'avvio e ubuntu si avvia quasi immediatamente. L'altro giorno avvio ubuntu e si ferma su schermata viola con ubuntu ed i puntini bianchi bloccati e solo dopo 1 minuto appare il puntatore del mouse e funziona tutto. Successivamente gli avvii sono stati regolari. Oggi a pc spento ma con interruttore dell'alimentatore in on ho staccato l'hard disk dal connettore sata e dati ed ho avviato il pc per capire se il rumore che proveniva dal case fosse causa dell'hard disk oppure di una ventola (rumore leggerissimo ma volevo sapere se era la ventola o meno). All'avvio di Ubuntu 18.04 si riblocca con Ubuntu e puntini bianchi. A questo punto premo CTRL ALT CANC e riavvio. Appare una schermata viola dove chiede che cosa selezionare. Ho fatto appena in tempo a verificare qualcosa di quello che c'era scritto: GNU GRUB come titolo e poi sotto Ubuntu, Memory test, ma dopo poco si è riavviato da solo. Ho spento il pc nuovamente, collegato l'hard disk e po spento. Di nuovo acceso il pc: prima di ottenere un avvio rapido come prima ho dovuto riavvire 6 volte, si piantava come prima e mostrava regolarmente il desktop anche dopo 1 munuto/2 minuti. Ora è il secondo avvio che avviene regolarmente. Seconodo voi che cosa è successo?
Grazie.
Posta il risultato di questo comando:
Codice:
systemd-analyze critical-chain
 
Ecco il risultato:

Codice:
marco@marcopc:~$ systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23
























The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
lines 1-23...skipping...
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
                                      └─system.slice @116ms
lines 1-24...skipping...
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
                                      └─system.slice @116ms
                                        └─-.slice @114ms
lines 1-25...skipping...
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @21.423s
└─multi-user.target @21.423s
  └─hddtemp.service @10.106s +17ms
    └─network-online.target @10.106s
      └─NetworkManager-wait-online.service @1.386s +8.719s
        └─NetworkManager.service @1.167s +217ms
          └─dbus.service @1.127s
            └─basic.target @1.126s
              └─sockets.target @1.126s
                └─snapd.socket @1.124s +1ms
                  └─sysinit.target @1.122s
                    └─systemd-timesyncd.service @1.018s +103ms
                      └─systemd-tmpfiles-setup.service @985ms +29ms
                        └─local-fs.target @985ms
                          └─run-user-1000-gvfs.mount @2.272s
                            └─run-user-1000.mount @1.508s
                              └─swap.target @239ms
                                └─swapfile.swap @140ms +93ms
                                  └─systemd-remount-fs.service @124ms +6ms
                                    └─systemd-journald.socket @116ms
                                      └─system.slice @116ms
                                        └─-.slice @114ms
~
marco@marcopc:~$

Domanda: come si fa a danneggiare un file system su un hd per il semplice fatto di staccarlo a pc spento e poi riavviando con la sola ssd e poi spegnendo il pc e ricollegando l'hard disk?
 
Se l' analyze che leggiamo non è quello dell' avvio lungo, non serve a molto, a parte il solito networkmanager che ''è più lungo dell' anno della fame''.
 
Confermo, non è relativo all'avvio lungo ma all'ultimo avvio regolare e veloce.
MoMy, mi stai dicendo che è normale tale lunghezza del networkmanager?
 
Potrei smontare l'hard disk

Codice:
umount /dev/sdb1

poi digitare questo:

Codice:
fsck -y /dev/sdb1

che se non mi sbaglio farebbe le correzioni in automatico.

Posso farlo tranquillamente vero, male non fa?
 
Domanda: come si fa a danneggiare un file system su un hd per il semplice fatto di staccarlo a pc spento e poi riavviando con la sola ssd e poi spegnendo il pc e ricollegando l'hard disk?

Penso sia successo prima, quando era in uso. Da lì, siccome hai riavviato, non ha terminato varie volte fsck e quindi ad ogni riavvio cercava di completarlo. Infatti dopo un certo numero di riavvii è ritornato a posto.
 
Pubblicità
Pubblicità

Discussioni Simili

Indietro
Top