OC for you.

You are viewing a single thread.
View all comments View context

Ooh! Ok cool! I’ve never used btrfs. How does it compare to ext4?

permalink
report
parent
reply
2 points

Hmm… it’s complicated since it’s a very opinionated topic. There will be people who like it and there are people who will kill your entire family because you mentioned it :D The benefits depend on what are you using it for. The difference is mainly in features it provides. I am using it mainly for snapshots, subvolumes and raid support. Raid is stable only for jbod, 0, 1 and 10. 5 and 6 are still having issues. Raid is self healing if I am correct. So if there are some checksum errors it will repair stuff from working mirror.

You need to do some research before using it. For example since it is cow FS it is not good for databases or VM images. But you can turn off the QCOW feature for specific directory. The other thing is space usage. Due tyo snapshots and cow feature 'df -h ’ will not show exactly correct usage data. You have 'btrfs filesystem df -h ’ instead. If you kill up the disk it can be more bothersome to clean it up afterwards.

I would say, try it out and decide yourself. There are definitely videos online that explain it better than I did just now.

permalink
report
parent
reply

Sounds like btrfs is still more on the bleeding edge side of things. Sounds pretty cool for a tester laptop. I installed OpenSuse with it last night, but forgot to format the drive first, so it installed on a small partition. I would just rearrange partitions, but the manpages state that it can cause issues with btrfs, so a reinstall it is haha

permalink
report
parent
reply
1 point

Oh cool. Yeah. The update pre/post snapshots are enabled by default so you need a bigger partition. I think they recommend 60g? But in the worst case you can turn them off.

Regatding bleeding edge thing. I think it is pretty stable for general use. SLES (opensuse enterprise) is using it as default for root fs enterprise deployments. I don’t think they would risk finantial loses using unstable filesystem.

I can imagine the problems will probably appear on large scale deploymets, maybe with deduplication. For example I am using btrfs on my home server in raid10 array… for abou 6-8years now. I had issue only once so far which was due to me being a dumbass.

permalink
report
parent
reply

Memes

!memes@lemmy.ml

Create post

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

Community stats

  • 7.8K

    Monthly active users

  • 12K

    Posts

  • 265K

    Comments