Kirjoittaja Aihe: 16.04:n hitaus? (RATKAISTU)  (Luettu 13313 kertaa)

lauritx

  • Käyttäjä
  • Viestejä: 270
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #20 : 01.08.16 - klo:16.39 »
Mulla ei toiminut tuo.

dev-sda6.device (10.127s)

Onko toi swap osio? Onko se oikein /etc/fstab filussa?


Eli  sudo blkid ja tarkista /etc/fstab että on samat. Jos ei niin korjaa.
« Viimeksi muokattu: 01.08.16 - klo:16.51 kirjoittanut lauritx »

b3organ

  • Käyttäjä
  • Viestejä: 134
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #21 : 01.08.16 - klo:16.53 »

dev-sda6.device (10.127s)

Onko toi swap osio? Onko se oikein /etc/fstab filussa?

Siellä on vain:
/dev/sdb7

Jotain väärää siellä on. Mitä siellä pitäisi olla?

lauritx

  • Käyttäjä
  • Viestejä: 270
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #22 : 01.08.16 - klo:16.54 »

dev-sda6.device (10.127s)

Onko toi swap osio? Onko se oikein /etc/fstab filussa?

Siellä on vain:
/dev/sdb7




Jotain väärää siellä on. Mitä siellä pitäisi olla?
aja sudo blkid

b3organ

  • Käyttäjä
  • Viestejä: 134
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #23 : 01.08.16 - klo:16.58 »

aja sudo blkid

Koodia: [Valitse]
/dev/sda1: LABEL="Iso-nopea" UUID="1645b8b0-44b6-43cf-97b6-6c66e5159eaa" TYPE="ext4" PARTUUID="000ed532-01"
/dev/sda5: UUID="f0479927-21ba-414e-bc14-a83d18551a69" TYPE="swap" PARTUUID="000ed532-05"
/dev/sda6: UUID="656cd2ff-f563-4f65-b2ae-7d9b6ac92ebd" TYPE="ext4" PARTUUID="000ed532-06"
/dev/sda7: UUID="095f3765-6453-4827-9f47-21eda3486485" TYPE="swap" PARTUUID="000ed532-07"
/dev/sdb1: UUID="09cb9c86-88df-4626-9209-64adfb673206" SEC_TYPE="ext2" TYPE="ext3" PARTUUID="00074221-01"
/dev/sdb3: UUID="8b4941f9-6a7a-40fc-9183-4848e3a6051c" SEC_TYPE="ext2" TYPE="ext3" PARTUUID="00074221-03"

lauritx

  • Käyttäjä
  • Viestejä: 270
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #24 : 01.08.16 - klo:17.02 »

aja sudo blkid

Koodia: [Valitse]
/dev/sda1: LABEL="Iso-nopea" UUID="1645b8b0-44b6-43cf-97b6-6c66e5159eaa" TYPE="ext4" PARTUUID="000ed532-01"
/dev/sda5: UUID="f0479927-21ba-414e-bc14-a83d18551a69" TYPE="swap" PARTUUID="000ed532-05"
/dev/sda6: UUID="656cd2ff-f563-4f65-b2ae-7d9b6ac92ebd" TYPE="ext4" PARTUUID="000ed532-06"
/dev/sda7: UUID="095f3765-6453-4827-9f47-21eda3486485" TYPE="swap" PARTUUID="000ed532-07"
/dev/sdb1: UUID="09cb9c86-88df-4626-9209-64adfb673206" SEC_TYPE="ext2" TYPE="ext3" PARTUUID="00074221-01"
/dev/sdb3: UUID="8b4941f9-6a7a-40fc-9183-4848e3a6051c" SEC_TYPE="ext2" TYPE="ext3" PARTUUID="00074221-03"

ja mitä näyttää /etc/fstab?

Ja näyttäis olevan kaks swap osiota. Toinen on turha
« Viimeksi muokattu: 01.08.16 - klo:17.04 kirjoittanut lauritx »

b3organ

  • Käyttäjä
  • Viestejä: 134
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #25 : 01.08.16 - klo:17.06 »

ja mitä näyttää /etc/fstab?

Ja näyttäis olevan kaks swap osiota. Toinen on turha

Koodia: [Valitse]

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sdb6 during installation
# UUID=656cd2ff-f563-4f65-b2ae-7d9b6ac92ebd /
/dev/sdb6 / ext4 errors=remount-ro 0       1
# swap was on /dev/sdb7 during installation
# UUID=095f3765-6453-4827-9f47-21eda3486485

/dev/sdb7 none swap sw              0       0


lauritx

  • Käyttäjä
  • Viestejä: 270
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #26 : 01.08.16 - klo:17.25 »
UUID=bcbdcbe8-8f3e-4296-9673-ce429eead5c5 /               ext4    errors=remount-ro 0       1
UUID=b04da9b1-135e-4625-a40a-27c13e9caeb6 none            swap    sw              0       0

Pitäis olla ton näkönen. Korvaa UUID:it omillas. Eli dev/sda6 root  osio ja dev/sda5 on swap. Blkid näyttää oikeet numerot.

b3organ

  • Käyttäjä
  • Viestejä: 134
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #27 : 01.08.16 - klo:17.58 »
Jostain syystä en tajua / osaa tehdä mitä pitäis. Saatko tehtyä tuon fstabin sellaiseksi kun se pitäisi olla.

lauritx

  • Käyttäjä
  • Viestejä: 270
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #28 : 01.08.16 - klo:18.09 »
UUID=656cd2ff-f563-4f65-b2ae-7d9b6ac92ebd /               ext4    errors=remount-ro 0       1

UUID=095f3765-6453-4827-9f47-21eda3486485 none       swap    sw              0       0

noi rivit kopioit ja liität

En vaan tajuu miks se noin on menny. Oliko se  päivitys? Toivottavasti on nyt oikein.

Ja ton /dev/sdb7:n voi kommentoida pois siis # merkillä eteen

« Viimeksi muokattu: 01.08.16 - klo:18.26 kirjoittanut lauritx »

b3organ

  • Käyttäjä
  • Viestejä: 134
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #29 : 01.08.16 - klo:18.35 »
Kiitos. Ehkä toi kikkailu nopeutti, mut vieläkin kone on hitaalla.

lauritx

  • Käyttäjä
  • Viestejä: 270
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #30 : 01.08.16 - klo:18.41 »
Kommentoitko pois sen /dev/sdb7. Tajusin vasta myöhemmin sen.

lauritx

  • Käyttäjä
  • Viestejä: 270
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #31 : 01.08.16 - klo:19.16 »
Ja  kerro mitä
Koodia: [Valitse]
systemd-analyze blamelistaa

lauritx

  • Käyttäjä
  • Viestejä: 270
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #32 : 01.08.16 - klo:19.47 »
https://www.reddit.com/r/Ubuntu/comments/3en3af/question_what_things_commonly_slow_down_bootup/

Eli tolla näkee mitkä palvelut vie aikaa. Niin saa käsityksen mitä pitää tehdä.


b3organ

  • Käyttäjä
  • Viestejä: 134
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #33 : 01.08.16 - klo:20.54 »
Ja  kerro mitä
Koodia: [Valitse]
systemd-analyze blamelistaa

Koodia: [Valitse]
         12.524s nmbd.service
         12.521s winbind.service
         12.489s NetworkManager-wait-online.service
         12.262s samba-ad-dc.service
         10.763s dev-sda6.device
         10.349s timidity.service
          9.623s ModemManager.service
          8.195s apparmor.service
          8.170s accounts-daemon.service
          7.675s grub-common.service
          7.493s speech-dispatcher.service
          7.426s apport.service
          7.388s irqbalance.service
          7.347s networking.service
          7.143s systemd-logind.service
          7.121s ondemand.service
          7.034s udev-configure-printer@-devices-pci0000:00-0000:00:13.2-usb2-2\
          6.981s gdomap.service
          6.962s console-kit-log-system-start.service
          6.948s systemd-user-sessions.service
          6.947s pppd-dns.service
          6.945s rsyslog.service
          6.943s alsa-restore.service
          6.943s lm-sensors.service
          6.933s gpu-manager.service
          6.919s gsm-utils.service
          6.812s thermald.service
          3.187s systemd-udevd.service
          3.006s console-setup.service
          2.687s snapd.refresh.service
          2.644s lightdm.service
          1.930s NetworkManager.service
          1.757s keyboard-setup.service
          1.588s colord.service
          1.458s systemd-modules-load.service
          1.405s systemd-tmpfiles-setup-dev.service
          1.104s sys-kernel-debug.mount
          1.089s systemd-tmpfiles-setup.service
          1.011s polkitd.service
           910ms dev-mqueue.mount
           909ms dev-hugepages.mount
           870ms binfmt-support.service
           848ms systemd-journald.service
           618ms wpa_supplicant.service
           502ms systemd-sysctl.service
           464ms systemd-update-utmp.service
           408ms ufw.service
           372ms systemd-journal-flush.service
           358ms smbd.service
           342ms dev-disk-by\x2duuid-095f3765\x2d6453\x2d4827\x2d9f47\x2d21eda34
           326ms user@115.service
           312ms systemd-timesyncd.service
           307ms upower.service
           286ms systemd-rfkill.service
           278ms dns-clean.service
           277ms console-kit-daemon.service
           254ms kmod-static-nodes.service
           252ms systemd-udev-trigger.service
           241ms systemd-random-seed.service
           230ms udisks2.service
           222ms systemd-localed.service
           186ms systemd-hostnamed.service
           161ms systemd-remount-fs.service
            82ms proc-sys-fs-binfmt_misc.mount
            61ms setvtrgb.service
            43ms resolvconf.service
            39ms user@1000.service
            27ms rc-local.service
            27ms user@999.service
            17ms plymouth-start.service
            12ms plymouth-read-write.service
             8ms avahi-daemon.service
             6ms rtkit-daemon.service
             4ms snapd.socket
             4ms systemd-update-utmp-runlevel.service
             4ms ureadahead-stop.service
             2ms sys-fs-fuse-connections.mount
             2ms plymouth-quit-wait.service


lauritx

  • Käyttäjä
  • Viestejä: 270
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #34 : 01.08.16 - klo:21.04 »
Eli näyttää samba vievän aikaa. Onko tarpeellinen? Muuten näyttää normaalilta paitsi edelleen toi dev-sda6.device.
NetworkManager-wait-online.service sen voi kans ottaa pois. Häviäis jo minuutti buuttiaikaa.

b3organ

  • Käyttäjä
  • Viestejä: 134
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #35 : 01.08.16 - klo:21.57 »
Konffasin Samba-jaon joskus. Ei kai sitä kukaan käytä.

Miten saan nuo pois päältä?

lauritx

  • Käyttäjä
  • Viestejä: 270
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #36 : 01.08.16 - klo:22.46 »
Koodia: [Valitse]
sudo systemctl  disable mikä_vaan.service
Mun mielestä noi kuus ekaa voi ottaa pois mutta teet kuin näät hyväksi.
Ja takaisin saa 
Koodia: [Valitse]
sudo systemctl enable mikä_vaan.servicee
« Viimeksi muokattu: 01.08.16 - klo:22.51 kirjoittanut lauritx »

b3organ

  • Käyttäjä
  • Viestejä: 134
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #37 : 01.08.16 - klo:23.14 »
Mulla ei vissiin oo tuota systemctl-softaa. Kuinka asennan vai onko muuta tapaa?

lauritx

  • Käyttäjä
  • Viestejä: 270
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #38 : 01.08.16 - klo:23.52 »
Mulla ei vissiin oo tuota systemctl-softaa. Kuinka asennan vai onko muuta tapaa?

Kyl on. Komennat vaan päätteessä esim.
Koodia: [Valitse]
sudo sytemctl disable nmbd.service
« Viimeksi muokattu: 01.08.16 - klo:23.56 kirjoittanut lauritx »

b3organ

  • Käyttäjä
  • Viestejä: 134
    • Profiili
Vs: 16.04:n hitaus?
« Vastaus #39 : 02.08.16 - klo:08.43 »
Saan tällaisen ilmon kun lisään komentoon ässän.

Koodia: [Valitse]

winbind.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install disable winbind
insserv: warning: current start runlevel(s) (empty) of script `winbind' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `winbind' overrides LSB defaults (0 1 6).
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'binfmt-support' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `binfmt-support'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `binfmt-support'
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'screen-cleanup' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `screen-cleanup'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `screen-cleanup'
insserv: warning: current start runlevel(s) (empty) of script `winbind' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `winbind' overrides LSB defaults (0 1 6).
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'binfmt-support' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `binfmt-support'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `binfmt-support'
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
The script you are attempting to invoke has been converted to an Upstart
job, but lsb-header is not supported for Upstart jobs.
insserv: warning: script 'screen-cleanup' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `screen-cleanup'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `screen-cleanup'