Comments on A Beginner's Guide To btrfs

A Beginner's Guide To btrfs This guide shows how to work with the btrfs file system on Linux. It covers creating and mounting btrfs file systems, resizing btrfs file systems online, adding and removing devices, changing RAID levels, creating subvolumes and snapshots, using compression and other things. btrfs is still marked as experimental, but all those features make it a very interesting and flexible file system that should be taken into consideration when you look for the right file system.

8 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: fizzlifax

how I see btrfs seem to have included all Options of lvm2 also. Is this true...

Thanks for reply

 

fi

By: Christian

Thanks a lot for this tutorial...it really helped me

By: k4tfish

Do you run ispconfig on top of btrfs?

Atm, I'm trying to convert my /var partion of my webserver managed with ispconfig to btrfs. I expect issues with the quotas...

By: trula schock

Great post. I loved the specifics , Does anyone know where my assistant can locate a fillable a form version to edit ?

By: Dutch2005

[...] /dev/sdb /mnt btrfs defaults,compress=lzo 0 1 [...]

This is no longer the case in Ubuntu 16.10

 

# /etc/fstab: static file system information.

#

# Use 'blkid' to print the universally unique identifier for a

# device; this may be used with UUID= as a more robust way to name devices

# that works even if disks are added and removed. See fstab(5).

#

# <file system> <mount point>   <type>  <options>       <dump>  <pass>

# / was on /dev/sdc2 during installation

UUID=d97dbfcd-xxxx-xxxx-a20d-e4205937da7e /               ext4    errors=remount-ro 0       1

# /boot/efi was on /dev/sdc1 during installation

UUID=XXXX-B7A1  /boot/efi       vfat    umask=0077      0       1

# swap was on /dev/sdc3 during installation

UUID=XXXXXXXX-98ed-4ffd-9165-62234f97fb48 none            swap    sw              0       0

UUID=6941bb75-XXXX-XXXX-9a60-da8eed688c3b btrfs  /mnt/xxxxxxx errors=remount-ro,compress=lzo 0       0

 

 

By: Spencer LeBlanc

Can you add onto this guide, how to add cache to a BTRFS array?

Or build one with cache?

By: Zygo

If you are replacing a failed hard drive, and the new drive is equal or larger in size, always use btrfs replace instead of device add and remove.

Replace is roughly 20-40x faster.  Add/remove will rewrite more or less the whole filesystem--slowly.

By: will

2022-4-20?Thanks a lot for this tutorial...it really helped me