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

    Error Booting System -- 2.4.4 (after upgrade)

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    2 Posts 2 Posters 1.1k 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.
    • W
      wangel
      last edited by

      So I just moved my pfsense firewall to my new server room, and after turning it back on, it failed to boot.
      I shut the system down before moving it. It was a full power off.

      It boots the menu screen, but trying to load the kernel fails with:

      zfs io error all block copies unavailable.
      

      Of course I start to panic ... but then I realize I can boot kernel.old ... which booted fine.

      Once I got the system booted, I ran: zpool scrub zroot ... which came back with an error. Running:

      zpool status -v gives me this:

      [2.4.4-RELEASE][admin@fw.alteredreality.cc]/root: zpool status -v
      
      pool: zroot
      
      state: ONLINE
      
      status: One or more devices has experienced an error resulting in data
      
      corruption. Applications may be affected.
      
      action: Restore the file in question if possible. Otherwise restore the
      
      entire pool from backup.
      
      see: http://illumos.org/msg/ZFS-8000-8A
      
      scan: scrub repaired 0 in 0h0m with 1 errors on Tue May 28 19:53:08 2019
      
      config:
      
      NAME STATE READ WRITE CKSUM
      
      zroot ONLINE 0 0 1
      
      ada0p4 ONLINE 0 0 25
      
      errors: Permanent errors have been detected in the following files:
      
      //boot/kernel/kernel
      

      Obviously it looks like my kernel is corrupt / bad. My question is. How do I fix it?

      Can I just copy kernel.old over kernel? lol. I doubt this would work.

      Anyways, this is a fairly new machine -- however the ssd in it is 100% new, maybe only 3months old at that ... and it's not like it gets a ton of data writes. Also, SmartData reports everything is ok.

      Thanks guys!

      ~wangel

      1 Reply Last reply Reply Quote 0
      • RicoR
        Rico LAYER 8 Rebel Alliance
        last edited by

        A clean reinstall with 'Recover config.xml' option is probably the fastest way: https://docs.netgate.com/pfsense/en/latest/backup/automatically-restore-during-install.html
        Before the reinstall take a Backup first just in case...

        -Rico

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