Announcement

Collapse
No announcement yet.

Kubuntu 26.04 LTS - important things to do after an installation

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #46
    Originally posted by Kabelbaum View Post
    Hello, short question about the fstab.
    Code:
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' 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>
    UUID=3CC7-8DA5 /boot/efi vfat defaults 0 2
    UUID=08dd13a7-9b53-4073-8ebb-e1fb35e42a42 / ext4 defaults,noatime 0 1
    /swapfile swap swap defaults 0 0
    tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0​


    I did not have discard​ somewhere but I added the noatime. Is this correct?
    UUID=08dd13a7-9b53-4073-8ebb-e1fb35e42a42 / ext4 defaults,noatime 0 1
    I preferer this:
    / ext4 defaults,errors=remount-ro 0 1

    But your noatime (line in your fstab), also, its good.

    Comment


      #47
      Originally posted by wonder View Post

      I preferer this:
      / ext4 defaults,errors=remount-ro 0 1

      But your noatime (line in your fstab), also, its good.
      Oh, tank you. errors=remount-ro seems to be a good addition too.

      Comment


        #48
        Originally posted by Kabelbaum View Post
        Hello, short question about the fstab.
        Code:
        # /etc/fstab: static file system information.
        #
        # Use 'blkid' 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>
        UUID=3CC7-8DA5 /boot/efi vfat defaults 0 2
        UUID=08dd13a7-9b53-4073-8ebb-e1fb35e42a42 / ext4 defaults,noatime 0 1
        /swapfile swap swap defaults 0 0
        tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0​


        I did not have discard​ somewhere but I added the noatime. Is this correct?
        UUID=08dd13a7-9b53-4073-8ebb-e1fb35e42a42 / ext4 defaults,noatime 0 1
        discard, aka "fstrim" should already be enabled via a systemd unit so no need to add it to fstab. You can check this with:
        Code:
        systemctl list-unit-files --state=enabled |grep trim
        which should return
        Code:
        fstrim.timer                       enabled enabled
        You can also add nodiratime to your fstab if you want. It's the same as noatime but for directories.

        Please Read Me

        Comment


          #49
          @oshunluvr
          Thanks for the replay! Oh sorry my English is not so good.

          This is my original (fresh after install) fstab:
          Code:
          # /etc/fstab: static file system information.
          #
          # Use 'blkid' 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>
          UUID=B271-7C65 /boot/efi vfat defaults 0 2
          UUID=fa1c95a7-7a23-4dfd-8279-35b2d113c072 / ext4 defaults 0 1
          /swapfile swap swap defaults 0 0
          tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
          So I just added the noatime at the ext4 part.
          I thought discard is the bad thing

          Comment

          Users Viewing This Topic

          Collapse

          There are 0 users viewing this topic.

          Working...
          X