How to force a FAST emergency shutdown?
I have the need to preserve disk integrity across a power failure.
I cannot use the normal means (i.e.: use a PSU), so the delay between when I can detect power loss and the actual end of juice is <100msec.
I know there's no time for a clean shutdown even using Alt + Sysrq + REISUO or programmatic equivalent.
I don't care for the data of any program that may be running in that moment.
What I need to ensure is that when the mains is back the machine will boot (more or less) cleanly.
Nowadays sometimes I'm stuck at a command-line prompt by a failed fsck (run fsck manually....),
Can someone suggest the fastest possible emergency shutdown?
TiA
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu linux Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask ZioNemo for more information if necessary.