this post was submitted on 24 Jul 2025
32 points (90.0% liked)

Arch Linux

8945 readers
5 users here now

The beloved lightweight distro

founded 5 years ago
MODERATORS
 

I'm using Endeavor OS. My computer lost power during system update. Now I can boot into it.

you are viewing a single comment's thread
view the rest of the comments
[–] crankyrebel@lemmy.dbzer0.com 13 points 3 days ago (2 children)

Are you using BTRFS as your file structure? If so, this is the little dirty secret the BTRFS fans don't like to discuss. It is well documented in the BTRFS wiki, that during power-outages/power fails, even OS errors, files become corrupt under BTRFS. I finally had enough of this happening to me (lots of power outages where I live,) and switched back to ext4, never had this issue again.

[–] HiddenLayer555@lemmy.ml 3 points 3 days ago (1 children)

All the drives in my file server are btrfs. Is there an easy way to switch in place? I don't have enough spare space to hold everything while reformatting.

[–] crankyrebel@lemmy.dbzer0.com 1 points 2 days ago

I don't think you can switch filesystems with files in place, sorry.

[–] monovergent@lemmy.ml 5 points 3 days ago (1 children)

How often did it corrupt for you? As a BTRFS user, is there anything that can be done about it short of reformatting?

[–] crankyrebel@lemmy.dbzer0.com 5 points 3 days ago* (last edited 3 days ago) (1 children)

It did it first on my PC, then it happened again on my laptop. That is when I investigated the cause and found out BTRFS corrupts on hard shutdowns/failures. Beyond maybe a UPS battery backup that will allow you to MAYBE have some extra time to shut down properly before the battery fails, no. I would highly recommend backing up your data and reformatting to ext4.

[–] Sonotsugipaa@lemmy.dbzer0.com 3 points 3 days ago (1 children)

I have several (at least 5) BTRFS filesystems, on SSDs and HDDs of varying speeds, with somewhat longer cache writeback and commit times, AND some wire problems that trip my apartment breakers once or twice every month;
I've been using BTRFS for about a year and a half, and at worst I suffered loss of newer data.

[–] crankyrebel@lemmy.dbzer0.com 1 points 2 days ago (1 children)

The BTRFS users are relying on backup systems, so make sure you have extensive backups as power failures can happen at any moment, etc. For me personally, a files system that so easily corrupts files, especially when power failures occur frequently, is not what I want. I will stick with ext4, a log file system, which is more stable.

[–] Sonotsugipaa@lemmy.dbzer0.com 1 points 2 days ago

BTRFS lets me backup my stuff more conveniently too, although it does start throwing a tantrum if you run out of space due to COW...