User can Shutdown or Reboot or Reboot & check filesystem the IPFire device.

Reboot & check filesystem

Forces a file system consistency check, using fsck, during reboot via shutdown -F -r now

The recommended filesystems, ext4 & xfs, are both journaling filesystems so that any file corruption during a system crash or power loss stands a good chance of being automatically recovered during reboot.

If the Reboot & check filesystem is used then the filesystem will be checked for consistency and information about any problems found will be stored in the boot log. It is recommended to make sure that you have an up to date IPFire backup file.

  • If the log of the fsck command indicates problems exist with the filesystem then the recommended approach is to carry out a fresh install and restore from the backup.

  • fsck can be used to also repair filesystems but this has to be carried out on an unmounted filesystem otherwise further filesystem damage could occur. A rescue cd/usb system would be needed for this and the fsck repair should be run in interactive mode so that all the errors can be reviewed and the appropriate choice made for the repair so that the likelihood of creating further filesystem damage during the repair is minimised. This repair approach is not recommended.

In both approaches above if the file system check shows problems when there has been no system crash or power loss, it is advised to review the S.M.A.R.T information on the disk drive to see if there are issues with any of the S.M.A.R.T attributes indicating potential failure.