Error Booting System -- 2.4.4 (after upgrade)



  • 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


  • LAYER 8 Rebel Alliance

    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


Log in to reply