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

    MSATA question

    Scheduled Pinned Locked Moved Hardware
    5 Posts 2 Posters 1.7k 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.
    • J
      JonH
      last edited by

      Few weeks ago I purchased SG-2440 w/ 30GB mSATA SSD.  I've never used pfSense before and still reading pfSense book online and reading this forum.

      The output of df -H is:

      
      Filesystem                     Size    Used   Avail Capacity  Mounted on
      /dev/ufsid/57c48cdd1f22f12b     21G    706M     18G     4%    /
      devfs                          1.0k    1.0k      0B   100%    /dev
      /dev/md0                       3.6M    123k    3.2M     4%    /var/run
      devfs                          1.0k    1.0k      0B   100%    /var/dhcpd/dev
      

      That doesn't make 30GB?

      So I ran fsck -p as suggested in 'the book'

      /dev/ufsid/57c48cdd1f22f12b: NO WRITE ACCESS
      /dev/ufsid/57c48cdd1f22f12b: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
      

      So then I did

      touch /root/force_fsck
      ```and rebooted.
      
      That didn't change anything.
      
      The output of fsck with no modifiers is:
      

      ** /dev/ufsid/57c48cdd1f22f12b (NO WRITE)

      USE JOURNAL? no

      ** Skipping journal, falling through to full fsck

      SETTING DIRTY FLAG IN READ_ONLY MODE

      UNEXPECTED SOFT UPDATE INCONSISTENCY
      ** Last Mounted on /
      ** Root file system
      ** Phase 1 - Check Blocks and Sizes
      INCORRECT BLOCK COUNT I=1444626 (8 should be 0)
      CORRECT? no

      INCORRECT BLOCK COUNT I=1444627 (72 should be 0)
      CORRECT? no

      ** Phase 2 - Check Pathnames
      ** Phase 3 - Check Connectivity
      ** Phase 4 - Check Reference Counts
      UNREF FILE I=1444610  OWNER=root MODE=100666
      SIZE=0 MTIME=Sep  9 16:35 2016
      CLEAR? no

      ** Phase 5 - Check Cyl groups
      FREE BLK COUNT(S) WRONG IN SUPERBLK
      SALVAGE? no

      SUMMARY INFORMATION BAD
      SALVAGE? no

      BLK(S) MISSING IN BIT MAPS
      SALVAGE? no

      17738 files, 172292 used, 4892706 free (898 frags, 611476 blocks, 0.0% fragmentation)

      
      It seems that perhaps I should answer 'yes' rather than the default 'no' but I do not know how to do that.
      
      Since my 30GB SDD does not seem to be fully accounted for I would hope that fsck might fix that.
      
      What is the best way to proceed to correct the errors reported in phase 4 & 5?
      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Swap. Run pstat -s

        8GB?

        SG-2440 has only 8GB eMMC so you're definitely running on the mSATA.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • J
          JonH
          last edited by

          @Derelict:

          Swap. Run pstat -s

          8GB?

          SG-2440 has only 8GB eMMC so you're definitely running on the mSATA.

          Yes, 8GB

          Device          512-blocks    Used    Avail Capacity
          /dev/label/swap0  16777208        0 16777208    0%

          So i guess the 8gb swap is a partition of the mSATA to total 30gb.
          That helps, thanks.

          What about the fsck error "UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY."?
          Is this insignificant?

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            That can happen particularly after a sudden power loss. Always use Halt system in Diagnostics or console option 6 when possible.

            Connect a console, Reboot, press 2 for single-user mode at the "logo" menu, let it boot, press RETURN for /bin/sh, then run /sbin/fsck -y / a couple times until it comes back clean then /sbin/reboot.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • J
              JonH
              last edited by

              @Derelict:

              That can happen particularly after a sudden power loss. Always use Halt system in Diagnostics or console option 6 when possible.

              Connect a console, Reboot, press 2 for single-user mode at the "logo" menu, let it boot, press RETURN for /bin/sh, then run /sbin/fsck -y / a couple times until it comes back clean then /sbin/reboot.

              I did have a power outage last week.  Now attached to UPS.
              Thanks for console info.  Haven't tried connecting yet in that manner so now I have an excuse to do it  :)

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