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

    Reroot not working and causing fsck

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    1 Posts 1 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.
    • D
      deadmalc
      last edited by

      On an SG-1000, I've been having weird problems the last few nights,
      (There were error(s) loading the rules: pfctl: DIOCXCOMMIT: Device busy - The line in question reads [0]:
      PF was wedged/busy and has been reset.
      etc.)
      I think this was possibly down to a wlan interface being removed.
      anyway…after cleaning up I thought I'd update the FW as well.

      To install the firmware update I needed to reboot as DNS totally died along with other things (the GUI was unavaliable)
      So I rebooted from the console, thought I'd try reroot:

      Enter an option: 5

      pfSense will reboot. This may take a few minutes, depending on your hardware.
      Do you want to proceed?

      Y/y: Reboot normally
          R/r: Reroot (Stop processes, remount disks, re-run startup sequence)
          Enter: Abort

      Enter an option: r
      .....
      bla bla....

      U-Boot SPL 2016.03 (Dec 28 2016 - 11:09:45)
      Trying to boot from MMC
      Card doesn't support part_switch
      MMC partition switch failed
      *** Warning - MMC partition switch failed, using default environment

      bla bla bla reboots:
      WARNING: / was not properly dismounted
      warning: no time-of-day clock registered, system time will not be set accurately
      Configuring crash dumps...
      No suitable dump device was found.
      ** SU+J Recovering /dev/ufsid/58480ee2a77beec6
      ** Reading 7503872 byte journal from inode 4.
      ** Building recovery table.
      ** Resolving unreferenced inode list.
      ** Processing journal entries.
      ** 193 journal records in 18432 bytes for 33.51% utilization
      ** Freed 43 inodes (3 dirs) 7 blocks, and 46 frags.

      ***** FILE SYSTEM MARKED CLEAN *****

      Everything is back and normal, but if the system doesn't support reroot it would be better not to offer it as an option.
      But even if there is dying and forcing an fsck isn't what I would expect.

      Is this a bug?

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