Ubuntun käyttö > Laitealue

SSD trim

(1/1)

jarmala:
Kas vaan, huomasin juuri, että joskus sitä SSD:täkin trimmataan:


--- Koodia: ---$ systemd-analyze blame
    6min 12.314s fstrim.service
         19.789s apt-daily.service
          4.331s plymouth-quit-wait.service
          3.898s apt-daily-upgrade.service
          1.282s snapd.service
          1.057s dev-sda1.device

--- Koodi päättyy ---

Koskaan ennen huomannut moista. Lienee normaalia? Eh?

Roberto:
Trim (discard) is enabled to run weekly by default in 18.04.
It is a systemd service managed via systemctl, not CRON.
fstrim is set to run for all mounted filesystems on devices that support the discard operation.

View fstrim.timer status:

--- Koodia: ---systemctl status fstrim.timer

--- Koodi päättyy ---

raimo:

--- Lainaus käyttäjältä: Roberto - 23.07.19 - klo:06.35 ---Trim (discard) is enabled to run weekly by default in 18.04.
It is a systemd service managed via systemctl, not CRON.
fstrim is set to run for all mounted filesystems on devices that support the discard operation.

View fstrim.timer status:

--- Koodia: ---systemctl status fstrim.timer

--- Koodi päättyy ---

--- Lainaus päättyy ---

Active: inactive (dead) tulee minulla, siksipä olen ajastanut fstrim:in cronilla kerran viikossa

Roberto:
Muita hyödyllisiä komentoja:

sudo systemctl [start/stop/restart] fstrim.timer
sudo systemctl [enable/disable] fstrim.timer
systemctl cat fstrim.timer
systemctl cat fstrim.service

jarmala:

--- Lainaus käyttäjältä: Roberto - 23.07.19 - klo:06.35 ---
--- Koodia: ---systemctl status fstrim.timer

--- Koodi päättyy ---

--- Lainaus päättyy ---

Jees. Noinhan se taitaa olla:

--- Koodia: ---$ systemctl status fstrim.timer
● fstrim.timer - Discard unused blocks once a week
   Loaded: loaded (/lib/systemd/system/fstrim.timer; enabled; vendor preset: enabled)
   Active: active (waiting) since Sun 2019-07-21 20:29:53 EEST; 4 days ago
  Trigger: Mon 2019-07-29 00:00:00 EEST; 3 days left
     Docs: man:fstrim

heinä 21 20:29:53 ari systemd[1]: Started Discard unused blocks once a week.
$

--- Koodi päättyy ---

Eli varmaan ajettiin ensimmäisen kerran, joten se vei aikaa peräti kuusi minuuttia...

Navigaatio

[0] Viestien etusivu

Siirry pois tekstitilasta