Power outage now my server asks for fck, what to do?

Gilles Gravier ggravier at fsfe.org
Tue Jan 5 16:22:53 UTC 2021


Hi!

On 05/01/2021 14:47, Liam Proven wrote:
> On Mon, 4 Jan 2021 at 17:38, Gilles Gravier <ggravier at fsfe.org> wrote:
>
>> But any journaling filesystem indeed would/should have handled power
>> failures reasonably well by itself...
> I hear this a lot. As a cynical, jaded old hacker from before the era
> of long filenames on FAT, I still don't really believe it or trust it.
> On Windows boxes, I have quite a few times rescued a dead machine, or
> one that won't boot, by simply running `CHKDSK /F` on the C drive.
> NTFS is very prone to minor cumulative disk corruption which the OS
> does not notice or report.
>
> I occasionally run an `fsck` on my Macs and my Linux boxes as a
> precautionary measure, and it usually finds and fixes some small
> problems. As it generally is, Linux is more resilient than Windows,
> but not that much more. I've certainly had Linux boxes trash their own
> hard disks, many times. It is in my experience a _particular_ problem
> with Btrfs, exacerbated by the fact that the disk-repair tools for
> Btrfs don't really work and you are advised not to use them.

I've had several machines running ext4 or other journaling filesytems
survive major power failures without as much as a blink. That's the
point of having a journaling file system. Coherency is always
maintained. ZFS handles that also quite well...


Now if your filesystem is not fully supported (btrfs) or not
journalized, then this is another story.


>
>> This email has been checked for viruses by Avast antivirus software.
>> https://www.avast.com/antivirus
> :-o Really? Avast? I.e. a free version, on Windows?

I don't control the OS on which my key applications are made
available... both for work (my employer provides my machine) and for my
photography work (try running DxO on Linux). Actually for work, I moved
the original Windows partition to a VMDK file, installed Ubuntu, and run
Windows in VBox (I still need Windows to authenticate to the corporate
environment).

And I use a payed version of Avast. Why do you make the assumption that
it is free?


-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus





More information about the ubuntu-users mailing list