Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Pfsense 2.4.2

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 3 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      ghkrauss
      last edited by

      Gentlemen:

      Does Pfsense 2.4.2 have "TRIM" tuned on by default when installing the image?

      1 Reply Last reply Reply Quote 0
      • K
        kejianshi
        last edited by

        I still remember when I bought a batch of several MCCOE64G5MPP-0VA

        Bought them for about $60 each…

        SLC SSD SATA 3.0Gbps 2.5"

        SLC drives are just indestructible.  All are still going strong.

        Anyway - To check to see if it is enabled by default after install, in Diagnostics > Command Prompt try something like:

        camcontrol identify /dev/ada0

        Look down and find Data Set Management (DSM/TRIM) - See if it says yes and yes.

        If so, its on by default if the drive supports trim.  Mine doesn't.  But I suspect the drive will be running strong long after the sata interface is as legacy as usb 1.0

        1 Reply Last reply Reply Quote 0
        • K
          kpa
          last edited by

          It should be on by default but you can check yourself after installation.

          Depending on the filesystem used:

          UFS - run this on the command prompt:

          
          tunefs -p /dev/ufsid/
          

          Where <identifier>is the UFSID for the root filesystem, you can get that from /etc/fstab from the line that has "/" as the mountpoint (second column).

          ZFS - run this:

          
          sysctl vfs.zfs.trim.enabled
          
          

          If it reports value of 1 then your system is using TRIM.</identifier>

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.