Comment on Best Filesystem for NAS?
Atemu@lemmy.ml 9 months agoExt4 does not have CoW.
That’s the only true part of this comment.
As for everything else:
Ext4 uses journaling to ensure consistency.
btrfs’ CoW makes it resistant to that issue by its nature; writes go elsewhere anyways, so you can delay the “commit” until everything is truly written and only then update the metadata (using a similar scheme again).
Please read en.wikipedia.org/wiki/Journaling_file_system.
Eideen@lemmy.world 9 months ago
BTRFS is currently not Journaling
lore.kernel.org/linux-btrfs/…/T/#m46f1e018485e6cb…
Qu Wenruo did a write up on some of the edge cases. Partial write being one of them.
Atemu@lemmy.ml 9 months ago
What you just posted concerns the experimental RAID5/6 mode which, unlike all other block group modes, did not have CoW’s inherent safety.
As it stands, there is no stable RAID5/6 support in btrfs. If we’re talking about non-experimental usage of btrfs, it is irrelevant.