Reroot not working and causing fsck
-
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: AbortEnter 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 environmentbla 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?