You are not logged in.

#1 2020-08-23 18:32:01

tethys
Member
Registered: 2019-08-13
Posts: 178

[SOLVED] Should I do some checks after a sudden power cut?

The power was cut suddenly, I did not have the chance to shutdown properly. The laptop (no battery!) booted properly afterwards, however I would like to ask if I need to do something after such an incident. Doing a search for recent files I found two new files in /var/log/journal/ with the extension "journal~" but nothing else unusual.

Last edited by tethys (2020-08-24 02:59:51)

Offline

#2 2020-08-23 20:46:53

fistrosan
Member
Registered: 2020-04-01
Posts: 171

Re: [SOLVED] Should I do some checks after a sudden power cut?

I am by no means an expert, but as far as I know a sudden power outage is likely to have more consequences for the hardware (components in the motherboard can be fried due to the sudden drop in voltages and currents). If the computer seems physically fine and if your filesystem supports journaling (i.e. ext4) you should be fine.

Offline

#3 2020-08-23 21:06:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: [SOLVED] Should I do some checks after a sudden power cut?

Any checks you should do would be dictated by what was happening at the time of the poweroff.  If you were running a pacman update/upgrade, completely/redo it now and run `pacman -Qk` to check for anything out of the ordinary.  If you were modifying a system-wide config file, check it's content to ensure it is appropriate.  But otherwise, a suddent poweroff should not impact software aside from processes that may have been active and would normally have to write to disk.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2020-08-24 02:59:17

tethys
Member
Registered: 2019-08-13
Posts: 178

Re: [SOLVED] Should I do some checks after a sudden power cut?

Thanks for the replies. The computer was idle at the time of the power cut and I did not see anything abnormal afterwards, so I will mark this as solved.

Offline

Board footer

Powered by FluxBB