Press "Enter" to skip to content

BTRFS Guide | The Best Desktop File System



This video goes over BTRFS in-depth, and in this guide, you will learn basic commands, structure, snapshots, and raid capabilities.

BTRFS Article for Reference: https://www.christitus.com/btrfs-guide

💻⚠ Anti-Virus, Cloud Services, and Other Recommendations ⚠💻
(Windows) Recommended Anti-Virus – https://links.christitus.com/webroot
Recommended VPN Service – https://links.christitus.com/expressvpn
Other Recommendations – https://www.christitus.com/recommendations

💰 My Amazon Store (YouTube Gear, PC Hardware, and Books I recommend) 💰
– https://www.amazon.com/shop/christitustech

🕹 Chat with me on Twitch (Live Streams) 🕹
🎮 Mon-Wed-Fri 9AM-Noon CST 🎮
– https://www.twitch.tv/christitustech

🖥 Contact me 🖥
– Patreon ➜ https://www.patreon.com/christitustech
– Official Site ➜ https://www.christitus.com
– Twitter ➜ https://twitter.com/christitustech

🚑 Need Help!? Ask our community! 🚑
– Discord ➜ https://www.christitus.com/discord
– Reddit ➜ https://www.reddit.com/r/ChrisTitusTech/

DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps supports the channel and allows us to continue to make videos like this. Thank you for your support!

25
Leave a Reply

avatar
25 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
0 Comment authors
MorokianeWilliam BaldwinWaitwhat469WizardNumberNextAussieEevee Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
yvrelna
Guest
yvrelna

scrubbing and balancing is really only needed if you're doing RAID setup and/or after you added/removed devices. Especially if you're doing RAID 1 (mirroring), scrubbing will compare and fix any failed hash checks by restoring from the good mirror. If you're not doing mirroring though, scheduled scrubbing is probably not very useful, as the filesystem can't really do anything to fix the corrupted file anyway, all it does is tell you a file is corrupted. Personally, I'd probably only run it manually occasionally, so if it finds corrupted files, I'm actually around to restore from backup. But if you somehow… Read more »

praetorxyn
Guest
praetorxyn

It's worth pointing out that Snapper and timeshift only support certain subvolume schemes IIRC (Timeshift is way more restrictive, it basically only supports what Ubuntu sets up I think).

madmax906a
Guest
madmax906a

I use openSUSE tumbleweed with btrfs and its great. openSUSE supports it great I had a bad update and my system refused to boot so I rolled back to snapshot that was created before openSUSE it did the update worked great was back a up and running in no time.

Paul
Guest
Paul

Hi what is your terminal?

AussieEevee
Guest
AussieEevee

I think I'll stick to ext2 and 4 (2 for small partitions that don't need journaling and 4 for everything else)

WizardNumberNext
Guest
WizardNumberNext

And absolutely nothing about biggest issue
NEVER attempt to store BTRFS filesystem as a file on BTRFS filesystem
It WILL FAIL and there is no way to avoid FAILURE
All B-Tree filesystems have this issue. They cannot store another B-Tree filesystem inside, especially of same type. ReiserFS have same issue, but due to murder ReiserFS is dead. ReiserFS 5 may have been ZFS like and then it would be by far best FS ever.

WizardNumberNext
Guest
WizardNumberNext

I have lost data due to RAID6 on BTRFS
I would not touch pure stripe (RAID0) using hardware (LSI MPT or LSI MegaRAID), not to mention RAID0 over BTRFS

WizardNumberNext
Guest
WizardNumberNext

I don't know if you are aware
Snapshots on BTRFS are explicitly read only
This is not how you should use snapshots
Just mount snapshot somewhere and pull what you need
Don't swap normal subvolume for snapshot. This is weird idea.

Waitwhat469
Guest
Waitwhat469

Have you tried statisd+xfs as a filesystem yet? (and if you have what were your thoughts?)

William Baldwin
Guest
William Baldwin

I have been thinking, of the whole RAID 1 striping for performance. Could you take lets say two drives, put them in R 1 and get great speeds, THEN, make a R 0 mirror of two other disks, and have the R 0 copy everything to the R 0?

Morokiane
Guest
Morokiane

It's B-Tree FS. For a community that complains about the pronunciation of Gnome…I'd think BTRFS would be said correctly.

Dayne Close
Guest
Dayne Close

11:46 You gonna share that webm?

Rick O'Shay
Guest
Rick O'Shay

Is that bat guano dripping down the front of your Batman shirt?

Krisztián Kovács
Guest
Krisztián Kovács

#fshopping is also a thing with Linux, everyone expect to find the hidden top secret top performing file system… I think BTRFS is at the moment just an intresting hype. Still under development, not ready for mission critical systems. But, for a rolling distro its perfect, because you always getting the latest features in the latest kernels. openSUSE Tumbleweed using it as default with snapshots enabled, just to make the system more stable. Read more about the development status: https://btrfs.wiki.kernel.org/index.php/Status I spent some days last summer to learn all the popular file systems under Linux. The most tempting file systems… Read more »

yvrelna
Guest
yvrelna

If you're booting into an old snapshot to rollback, it may not be wise to boot directly into the snapshot. The reason being that that if you boot from a snapshot and the snapshot isn't a read only snapshot, you'll be modifying files in that snapshot.

You'll likely want to create a snapshot of that snapshot first, then boot from that new snapshot. That way, you can, if you need to, revert back to the pristine snapshot again.

Fabrice Quenneville
Guest
Fabrice Quenneville

Raid info on their site hasn't been updated in a few years. The mailing lists hint that it's (raid 5/6) mostly fixed In latest kernels. Also being block level raid you can use any random mix of drive it doesn't matter: Raid 1 : 1tb 2tb 3tb = 3tb usableRaid 1 : 1tb 2tb 3tb 4tb = 5tb usableRaid 1 : 1tbssd 2tb 3tb 4tb 1tbssd= 5.5tb usable and btrfs will buffer on the SSD for write performance when possible…Raid 5 : 1tb 2tb 3tb 4tb 1tb= 7tb usable as btrfs gets ready to loose 4tb… Add another 4tb and… Read more »

Rossonero Diavolo
Guest
Rossonero Diavolo

XFS very underrated FS

Hammerhead Corvette
Guest
Hammerhead Corvette

I'll stick with XFS 👍👍👍

Nita Vesa
Guest
Nita Vesa

I been using Btrfs RAID1, RAID5 and RAID6 in various forms for years and I love the ability to convert between RAID-profiles on-the-fly. E.g. in my fileserver, I started with a single 2TB-drive, then added a second later on, joined the two and converted them to RAID1. Then I added yet another 2TB later on, converted to RAID5 on-the-fly, and the again later added more drives — it's fabulous to be able to grow it as my budget allows, to mix-and-match differently-sized drives as I like, remove drives, split it up and so on.

Reinier de Groot
Guest
Reinier de Groot

How can I use archfi to install with btrfs ?

z i z z u
Guest
z i z z u

Opensuse uses BTRFS by default, it have a configuration where each snapshot of the root subvolume (which is a snapshot), is appended to the grub menu so you can boot into a different snapshot when you start the pc and set the default volume from there in case of damage or rollback, without touching fstab. This looks way better of using fstab, since fstab is on a subvolume?? It also uses a ui tool named snapper which let you browse snapshots and it show a list of changed files and what is changed inside those files.

Leonard M.T
Guest
Leonard M.T

I was wondering what btrfs is ever since ReactOS let me install on it

LifeLongLearner
Guest
LifeLongLearner

Which is the best linux OS for windows user?? Mint?

mazen yasser
Guest
mazen yasser

Trying to dual boot Manjaro KDE "Juhraya" with windows 10 , currently stuck on "Waiting for 1 module" in the installer..
From the terminal I figured out that the remaining module is partition.
Anyone can help?
I asked on the Manjaro fourms and the subreddit but didn't get an answer so I don't know where else to ask

William Baldwin
Guest
William Baldwin

Using Linux Mint here, I am sure it is EXT4, works great though.