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

    TRIM error? SG-4860 + Micron M600 SSD

    Official Netgate® Hardware
    3
    8
    1.2k
    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.
    • luckman212L
      luckman212 LAYER 8
      last edited by

      Just a typical paranoid OCD thing but… I have an SG4860 running 2.4rc with a Micron M600 128GB SSD (the SSD is from the Netgate store but was originally from another unit...)

      When I run dmesg I see an error

      # dmesg | grep TRIM
      WARNING: /tmp/mnt/cf: TRIM flag on fs but disk does not support TRIM
      
      

      However, tunefs reports TRIM enabled:

      # tunefs -p /
      tunefs: POSIX.1e ACLs: (-a)                                disabled
      tunefs: NFSv4 ACLs: (-N)                                   disabled
      tunefs: MAC multilabel: (-l)                               disabled
      tunefs: soft updates: (-n)                                 enabled
      tunefs: soft update journaling: (-j)                       enabled
      tunefs: gjournal: (-J)                                     disabled
      tunefs: trim: (-t)                                         enabled
      tunefs: maximum blocks per file in a cylinder group: (-e)  4096
      tunefs: average file size: (-f)                            16384
      tunefs: average number of files in a directory: (-s)       64
      tunefs: minimum percentage of free space: (-m)             8%
      tunefs: space to hold for metadata blocks: (-k)            6408
      tunefs: optimization preference: (-o)                      time
      tunefs: volume label: (-L)
      
      

      Which to believe? Does it even matter?  :P

      1 Reply Last reply Reply Quote 0
      • ivorI
        ivor
        last edited by

        Looks like that disk does not support TRIM. From what unit was the SSD originally?

        Need help fast? Our support is available 24/7 https://www.netgate.com/support/

        1 Reply Last reply Reply Quote 0
        • luckman212L
          luckman212 LAYER 8
          last edited by

          99% sure it was from a SG-2440 that we ordered. Honestly I can't remember… did you guys ever ship Micron SSDs?

          1 Reply Last reply Reply Quote 0
          • ivorI
            ivor
            last edited by

            OK, I apologize I've been getting partial information internally. Looks like your readings are from a different device, not the mSATA device. Do you by any chance attempt to enable TRIM on the built-in eMMC?

            Need help fast? Our support is available 24/7 https://www.netgate.com/support/

            1 Reply Last reply Reply Quote 0
            • luckman212L
              luckman212 LAYER 8
              last edited by

              I thought when you had an mSATA device installed, the eMMC was "disabled"?  /dev/ada0 is definitely my 128GB mSATA SSD…

              1 Reply Last reply Reply Quote 0
              • ivorI
                ivor
                last edited by

                @luckman212:

                I thought when you had an mSATA device installed, the eMMC was "disabled"?  /dev/ada0 is definitely my 128GB mSATA SSD…

                It's not disabled, mSATA always boot first if it's present. eMMC is still active but not used in that case. Our support says you are definitely getting a reading of eMMC, which is why it says TRIM not supported. TRIM is enabled on your SSD.

                Need help fast? Our support is available 24/7 https://www.netgate.com/support/

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  During boot up the external config loader attempts to mount any external drives to check them for config file you might want to restore. Since the eMMC on the RCC-VE appears as a USB device it is checked. The scripts attempts to mount it with TRIM but it doesn't support TRIM hence the error you see there. It's not a problem, we mount the all the drives with TRIM in the factory image anyway and whilst it doesn't support TRIM it doesn't cause any issues for the eMMC drive. That's not true of all drives though which is why TRIM is not enabled globally.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • luckman212L
                    luckman212 LAYER 8
                    last edited by

                    @stephenw10: great, thanks for your informative answer. My OCD can rest now ;)

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