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

    Mounting failed with error 5

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 2 Posters 2.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.
    • S
      signalz
      last edited by

      My pfSense 2.7 VM suddenly won't boot. Last shut down was clean, though the host (Ubuntu 22.04) has crashed with the pfSense VM running before. I never noticed any apparent problems because of that. The hard drive the disk image is on doesn't seem to be having problems either.

      What do I do now? Is this recoverable? I'm having a hard time getting anywhere is this shell.

      VirtualBox_testament_16_11_2023_00_39_34.png

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

        I would try to boot into single user mode and run a ZFS scrub:
        https://docs.netgate.com/pfsense/en/latest/troubleshooting/filesystem-check.html#troubleshooting-disk-and-filesystem-issues

        Steve

        1 Reply Last reply Reply Quote 0
        • S
          signalz
          last edited by signalz

          Is there something else going on, or am I just very bad at FreeBSD? What out of anything on the screen is the pool name?

          VirtualBox_testament_16_11_2023_01_42_39.png

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

            Run: zpool status to see it. By default it's pfSense.

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

              For example:

              23.09-RELEASE][admin@5100.stevew.lan]/root: zpool status
                pool: pfSense
               state: ONLINE
              status: Some supported and requested features are not enabled on the pool.
              	The pool can still be used, but some features are unavailable.
              action: Enable all features using 'zpool upgrade'. Once this is done,
              	the pool may no longer be accessible by software that does not support
              	the features. See zpool-features(7) for details.
              config:
              
              	NAME        STATE     READ WRITE CKSUM
              	pfSense     ONLINE       0     0     0
              	  ada0p3    ONLINE       0     0     0
              
              errors: No known data errors
              [23.09-RELEASE][admin@5100.stevew.lan]/root: zpool scrub pfSense
              [23.09-RELEASE][admin@5100.stevew.lan]/root: zpool status
                pool: pfSense
               state: ONLINE
              status: Some supported and requested features are not enabled on the pool.
              	The pool can still be used, but some features are unavailable.
              action: Enable all features using 'zpool upgrade'. Once this is done,
              	the pool may no longer be accessible by software that does not support
              	the features. See zpool-features(7) for details.
                scan: scrub in progress since Thu Nov 16 01:58:20 2023
              	5.20G / 12.1G scanned at 1.73G/s, 0B / 12.1G issued
              	0B repaired, 0.00% done, no estimated completion time
              config:
              
              	NAME        STATE     READ WRITE CKSUM
              	pfSense     ONLINE       0     0     0
              	  ada0p3    ONLINE       0     0     0
              
              errors: No known data errors
              
              1 Reply Last reply Reply Quote 0
              • S
                signalz
                last edited by

                Both zpool status and zpool scrub pfSense return Invalid file system specification

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

                  Hmm, probably going to be easier to just reinstall but you could try geom part list just to make sure it sees the partition at all.
                  Very unusual to a ZFS failure like that. I'd have to assume it's some filesystem issue at the hypervisor level.

                  1 Reply Last reply Reply Quote 0
                  • S
                    signalz
                    last edited by

                    Thanks for your help. geom part list says the same thing. I'll reinstall.

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