System Recovery
The lxmeta
component watches the status for other components and will stop
the system when there is a failure that cannot be recovered online.
Should the system crash or fail-stop, upon a system restart, lxmeta
will
guide the system recovery.
At start time, each system component checks out its on-disk information and decides to start either as a ready component or as a component needing recovery.
The lxmeta
process, guides the whole system start process following these steps:
-
Wait for all required components to be executing.
-
Look up the component status (ready/recovering).
-
If there are components that need recovery, their recovery process is executed.
-
After all components are ready, the system is made available by accepting queries.
The command lx status
can be used both to inspect the system status and the
recovering process, or to wait until the recovery process finishes and the system
becomes available for queries.