Btrfs is a new copy on write filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration. Initially developed by Oracle, Btrfs is licensed under the GPL and open for contribution from anyone.

learn more… | top users | synonyms

32
votes
5answers
3k views

How can I flip a single bit in a file?

I want to intentionally damage a file in order to test the claims that btrfs can heal itself. The article talks about taking the filesystem off, damaging a photo by "flipping" a single bit and then ...
22
votes
2answers
7k views

What is the current situation with BtrFS and 11.10?

It feels like I've read about BtrFS forever, but there has always been something that makes me not want to use it. But I'm guessing things are improving, so I'd like to know what the situation is ...
21
votes
2answers
18k views

Message “Sparse file not allowed” after installing on a btrfs filesystem

I've installed Ubuntu without creating a swap partition and with / on a btrfs.# Now I get the message "Sparse file is not allowed" on each boot. This message appears before the splash-screen. Is there ...
15
votes
5answers
10k views

Is it safe to use Btrfs?

Is it safe to use btrfs in Ubuntu 12.04? Linux kernel version: 3.2.0-24-generic Architecture: x86_64 (64-bit)
14
votes
5answers
9k views

Will btrfs automatically compress existing files when compression is enabled?

I chose btrfs as the format of my / filesystem in the Ubuntu 12.04 LTS installer. After the installation completed, I added compress=lzo to the mount options in /etc/fstab and rebooted. Will the ...
14
votes
5answers
2k views

Is Btrfs in 10.10 considered stable?

I'm upgrading my laptop to Maverick (10.10) and I noticed btrfs is an option for the filesystem. I read a while ago that the Ubuntu team weren't sure if it was going to be stable for Maverick. Does ...
12
votes
2answers
3k views

btrfs partition won't mount after upgrading 64bit Ubuntu 11.10 laptop

I have tried many ideas from the net, but none of them work. This looks correct and in good order **sudo btrfs filesystem show /dev/sda2** failed to read /dev/sr0 Label: none uuid: ...
11
votes
3answers
6k views

How to make a btrfs snapshot?

My /home partition consists of an entire physical disk. It is formatted as btrfs. I want to snapshot it. I'm confused regarding subvolume naming, in particular. I am aware that there are similar ...
11
votes
2answers
4k views

How can I convert an ext4 partition to btrfs (or other file systems) without losing data?

I wish to convert my current /home partition to BTRFS (or other file systems) without losing data if possible, what steps should I take for this? is it safe?
11
votes
3answers
12k views

Should I use btrfs or Ext4 for my SSD?

Should I use btrfs (with discard, compress=lzo and space_cache options) or Ext4 (with discard option) for the SSD for my Ubuntu 11.10 (Oneiric) amd64 desktop root partition of my office machine? ...
10
votes
2answers
13k views

How can I safely resize (shrink) a BTRFS partition?

I have my /home on a BTRFS partition and I need to shrink it, unfortunately Gparted does not have the resize option for this FS. Can I resize it in any other way without losing my data?
9
votes
3answers
5k views

Btrfs subvolumes vs folders?

I've read a fair bit about btrfs's subvolumes feature. While it would seem interesting to have subvolumes for the main categories in a data filesystem, such as @films, @pictures, @music... What ...
9
votes
3answers
3k views

btrfs snapshot management

1) Is there a gui or curses tool that allows you to view/manage btrfs subvols/snapshots? 2) Is there a utility or already made script that would automatically create and delete snapshots ...
8
votes
9answers
9k views

Trick installer to use btrfs root with compression

I want to install Maverick onto a BTRFS root partition. Not for fun or testing, but because I need compression due to a small flash disk (4GB). Now the 10.10 installer finally supports btrfs, but ...
8
votes
1answer
12k views

Can 12.04 be installed using Btrfs only?

In the past it was not possible to install Ubuntu on a pure Btrfs file system (/ btrfs + swap), will it be possible for 12.04?
7
votes
2answers
2k views

ext4 to btrfs conversion: how long can it take? space requirements?

I started btrfs-convert for my ext4 partitioned hdd. I did a fsck first which was fine. So since it is running over 4 hours now (1.) I wonder if it will ever finish ? I read multiple articles ...
6
votes
3answers
1k views

What is btrfs? What advanced features does it have?

I heard that Kernel 2.6.35 will have btrfs and that Ubuntu 10.10 could have btrfs by default. What will be its features? Will I be able to migrate my data from my current ext4 partition?
6
votes
3answers
2k views

How stable is BTRFS in Ubuntu?

I see entries describing BTRFS on Ubuntu 12.04 has some concerns due mostly to the maturity of the BTRFS product. Now that we have 13.10 available, is the BTRFS file system reliable?
6
votes
2answers
9k views

How can I convert my root partition from BTRFS to EXT4?

Is it possible to convert btrfs to ext4 without losing data? I'm experiencing a very low speed on read/write operations on btrfs.
6
votes
1answer
2k views

How does apt-btrfs-snapshot work?

I read on the planet that apt-btrfs-snapshot would be available for Natty. The brief description of what it does sounds very nice: it will automatically create filesystem snapshot (of everything ...
5
votes
2answers
13k views

Which is better for a home media server: zfs or btrfs or LVM/md? [closed]

I'm looking at building a new home server and would like a flexible filesystem. Both btrfs and zfs are interesting. I want to be able to do soft raid and have flexible solution allowing me to expand ...
5
votes
1answer
3k views

What is the best way to partition, and what is the best file-system for a new Hard Disk? [duplicate]

Possible Duplicate: What's your recommendation on drive partitioning schemes for a desktop and home server? Is Btrfs in Maverick considered stable? Bonus: What is the "best" filesystem ...
5
votes
2answers
705 views

Is it safe to remount btrfs with compression?

I've finally found how to enable compression in btrfs, and would like to do so. However, as my main drive, I'm not really wanting to risk a change that could corrupt the hard drive. Everything I've ...
5
votes
2answers
808 views

Is there another way for me to backup /home/user other than creating a subvolume?

I think I'm having difficulty fully understanding subvolumes and snapshots. The /home partition is btrfs. I want to create a "backup" snapshot of /home/user (for example) but user has existed for ...
5
votes
4answers
2k views

btrfs - Unknown filesystem?

Today when I went ahead with Natty installation I had selected btrfs for root filesystem. To my utter surprise I was presented with the screen Unknown filesystem grub rescue > None of the ...
5
votes
1answer
888 views

How to layout the filesystem for a small SSD and a big HDD?

Since I don't use my laptop's CD-drive I want to put a small (8 GB) SSD into the CD-drive slot (I'll use a caddy similar to this one). I want to use compressed btrfs on the SSD and put all the data on ...
5
votes
1answer
2k views

Grub fails to install - core.img 'unusually large' [closed]

When trying to resurrect my (t)rusty 'ol router who's system disk (CF card) had failed (probably because I neglected to tune Ubuntu properly for this type of media), I wanted to use the opportunity to ...
5
votes
1answer
1k views

How to stop disks from being automagically mounted on boot?

I have a btrfs filesystem RAIDed across several disks. The machine is connected via USB to an external hard-drive bay where three disks live. In my fstab I have a mount entry for one of the disks ...
5
votes
1answer
1k views

Ubuntu 14.04 bad taint on XFS and BTRFS

I've done a fresh install of Ubuntu 14.04 on a physical machine and a virtual machine and after the first reboot (and also at random times) on the screen I get a bad taint message for XFS and BTRFS ...
4
votes
2answers
5k views

Btrfs Defragmentation Of Files/Folders

I have just installed Ubuntu 11.10 on the Btrfs filesystem and I want to ask a question about defragmentation of files. Do I really need to defragment files or the whole system? Defragment # btrfs ...
4
votes
4answers
317 views

My approach for replacing current Ubuntu with newer

I'm working on Ubuntu 13.04 currently. I want to replace it with Ubuntu 13.10. For the same, please approve whether my approach mentioned below is right! I have created a bootable usb stick having ...
4
votes
1answer
1k views

Filesystem Label Rename

I'm getting a strange error quark 11 on renaming my filesystems on Ubuntu 12.10 64. I'm sure 100% I've already done it in the past without issues using the disk utility. Maybe some recent upgrade or I ...
4
votes
1answer
301 views

How to hide btrfs devices in nautilus?

I've got a btrfs file system consisting of 3 devices and using raid1. The file system contains one subvolume "home" which is defined in the fstab and mounted at "/home". fstab entry looks like this: ...
4
votes
3answers
3k views

How can I upgrade to a newer version of btrfs-tools?

The btrfs tools package in 12.04 appears outdated and doesn't take advantage of the newer features such as scrub introduced in kernel v 3.0. How can I upgrade to a newer version? Do I need to compile ...
4
votes
1answer
1k views

How do I recover a BTRFS partition formatted by mkfs.btrfs?

I've accidentally formatted one of my partitions with btrfs 0.19 filesystem, on 11.04, kernel 2.6.38-8-generic. The command issued was: mkfs.btrfs -L EADS-old /dev/sdd2. After this I didn't write ...
4
votes
2answers
2k views

Block-level deduplicating filesystem

I'm looking for a deduplicating copy-on-write filesystem solution for general user data such as /home and backups of it. It should use online/inline/synchronous deduplication at the block-level using ...
3
votes
2answers
4k views

How to install using btrfs in RAID10 mode?

As a test I want to install Ubuntu 11.10 onto a btrfs file system in raid10 mode. However, I have no clue on how I should go about that. I have tried the installer, and then creating the fs in the ...
3
votes
1answer
421 views

Are btrfs updates rolled in to 12.04 LTS (3.2) kernels?

Many BTRFS bug fixes and updates are being applied to the 3.10 Kernel by the filesystem maintainers - is Ubuntu actively pushing those fixes and updates down to their current LTS kernel (3.2.0-X)? ...
3
votes
2answers
3k views

How does btrfs RAID work in degraded mode?

My idea was that (using loopback devices) it works like this Create the raid array sudo mkfs.btrfs -m raid1 -d raid1 /dev/loop1 /dev/loop2 You mount them sudo mount /dev/loop1 /mnt and mark them ...
3
votes
1answer
940 views

Error on mounting BTRFS volume on Precise

I use a 12.04 (Precise) fully updated (kernel 3.2.0-58-generic x86_64). In other partitions, I installed the Ubuntu 14.04 Trusty (Alpha version) to try out. I can't boot into the Trusty system any ...
3
votes
1answer
1k views

How do I show the current amount of fragmentation on a btrfs filesystem

Wiki pages for btrfs and other how-tos talk about online defragmentation and other related topics but they don't say how to find out how fragmented a file system is. Is there a method to determine how ...
3
votes
1answer
2k views

btrfs and missing free space

I converted my ext4 partition to btrfs and deleted the save subvolume after doing so. Then I enabled the compression (lzo) of the filessystem in the fstab file and everything is correct so far. Then ...
3
votes
3answers
2k views

btrfs with multi devices fails automount in fstab

I'm trying to automount btrfs on 12.04-desktop-amd64. During bootsplash, fstab failed to mount btrfs and asked skip or manually prepare. On the rootshell, btrfs device scan and mount -a could ...
3
votes
1answer
109 views

Is there anything to remember when I exchange my /?

I have a laptop computer with the following setup: / on a btrfs /dev/sda3 subvolume @ /home on a btrfs /dev/sda3 subvolume @home /boot on an ext4 /dev/sda2 /boot/efi on a vfat /dev/sda1 no swap /tmp ...
3
votes
0answers
68 views

How can I prune my BTRFS backups?

I have a BTRFS backup system where I take daily snapshots (btrfs subvolume snapshot) and serialize them into incremental change files based off the previous days backup (btrfs send -f backup.date ...
3
votes
0answers
236 views

btrfs two Data sections and enospc error when trying to convert

I currently have a btrfs filesystem setup like this: # btrfs fi df /storage/ Data, RAID1: total=2.33TiB, used=2.32TiB Data, RAID0: total=2.00GiB, used=2.00GiB System, RAID1: total=32.00MiB, ...
3
votes
0answers
307 views

Can't mount btrfs on boot [duplicate]

I have a server running Ubuntu 12.04 (with a 3.8.13 kernel) that fails to boot if I include in /etc/fstab a mount point for a btrfs volume: /dev/sda3 /home btrfs ...
3
votes
0answers
560 views

Is there a way to upgrade BTRFS? [closed]

Do I need to upgrade a BTRFS filesystem after upgrading Ubuntu, like I would with ZFS?
2
votes
2answers
3k views

How to convert a btrfs file system in raid1 mode to raid0?

I've install Ubuntu 11.10 with btrfs as the / file system (was a bit of a mess to do, I'll explain if people are interested) so I can expand the primary file system into the second drive on the ...
2
votes
2answers
1k views

Ubuntu thinks btrfs disk is full but its not

cat /etc/fstab # <file system> <mount point> <type> <options> <dump> <pass> UUID=a168d1ac-4e13-4643-976d-6e47ea1732b1 /boot ext2 defaults ...