Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 934|Reply: 1

How to safely turn off a headless Linux based mini computer?

[Copy link]

1

Threads

1

Posts

7

Credits

Novice

Rank: 1

Credits
7
Post time 2019-4-26 17:13:32 | Show all posts |Read mode
[color=rgb(187, 192, 196) !important][color=rgb(106, 115, 124) !important][size=1.61538]0



I am using orange pi zero and using Linux operating system(armbian) where am launching my firmware in the Start up. Hence there is no monitor, keyboard or mouse attached to the computer. My application will gets started upon startup.
Now I have an issue upon power failure or during forcefully cutting the power, the file system may tend to damage if it repeatedly happens and since PI is not connected to any monitor I can't turn off the OS Safely using the Shutdown button nor using the cmd terminal.
Now question is how to safely Shutdown the OS? This could be a common problem where headless computer used in any products, now how do people in industry handle this problem?



9

Threads

619

Posts

4188

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4188
Post time 2019-4-27 02:26:23 | Show all posts
With turning/tunning up file system toward read-only. I/O performances are degraded, but something you need to sacrifice.
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-12-7 17:45 GMT+8 , Processed in 0.026967 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list