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

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 ...
0
votes
0answers
206 views

Grub in 13.10 doesn't notice a btrfs root?

I'm using Ubuntu 13.10 (saucy) as my primary system and installed a daily version of trusty in a btrfs partition. For some reason my grub from 13.10 can't find that partition, even though it finds a ...
0
votes
2answers
204 views

Exclude hidden directories from subvolume/snapshot

I am using snapshots for backing up data of my @home subvolume. But I would like to backup the real important data (like all my files, which are in @home, but not hidden directories because I am not ...
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?
0
votes
0answers
16 views

Cant resize partition with gparted due to failed btrfsck? [duplicate]

I cant resize my home partition with gparted. Here is the output that causes gparted to fail http://pastebin.com/AXWCTaeK
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 ...
2
votes
2answers
2k views

How to create an external selfhealing btrfs USB HDD RAID 1 array?

The hardware is an external 2TB bus powered USB disk. What I want is a RAID1 setup of 2x 1TB btrfs. Is this possible? How? __ Motivation The motivation for me to use RAID1 btrfs is because I ...
0
votes
2answers
124 views

Will Ubuntu 13.10 boot if I enable compression on / which is a btrfs volume

I installed Ubuntu 13.10 on btrfs and the installer created the following fstab: UUID=0eff8daf-5924-4a1f-922c-ec82ec594dc0 / btrfs defaults,subvol=@ 0 0 ...
0
votes
1answer
301 views

How to mount Btrfs with “errors=remount-ro” equivalent?

Btrfs does not appear to support errors=remount-ro. In /etc/fstab, what option can I use with Btrfs to achieve equivalent result as "errors=remount-ro"?
0
votes
1answer
265 views

btrfs mount options not working

I'm running Ubuntu 12.04.3 LTS I converted my data drives with btrfs. I first did apt-get update before installing btrfs-tools. Unfortunately, that still only installed version 0.19 I can mount the ...
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 ...
2
votes
2answers
560 views

Can I have two distros on the same partition using btrfs?

I'm using btrfs successfully and have luckily separate home and system partitions. Using Ubuntu 13.10 and wanting to test 14.04, how can I do this using the btrfs file system? The system has an EFI ...
0
votes
2answers
677 views

Using btrfs with bcache on /

I am using btrfs with bcache for / on Ubuntu 13.10. It's fast. Unfortunately, during normal boots the step "Scanning for btrfs filesystems" fails. To successfully boot I have to enter recovery mode ...
2
votes
1answer
131 views

Missing 50GB on my 100Gb harddrive

I have a 128GB harddrive formatted with the btrfs. However, for some reason I'm missing around half of the disk space. Do any of you have any idea of how to fix it? See this screenshot for details ...
0
votes
1answer
955 views

Installing Ubuntu on btrfs over multiple drives

When I installed Ubuntu 13.04, I managed to combine a couple of outdated askubuntu answers, as well as some of the btrfs documentation in order to figure out how to install Ubuntu over two SSDs using ...
0
votes
1answer
495 views

Boot existing ubuntu installation on uefi, GPT BTRFS

I have looked through many of the questions, and haven't found anything that quite satisfies this problem. I have an ssd hard drive that is bootable from my old computer. It is a standard BIOS, ...
2
votes
2answers
1k views

How can I install Ubuntu Saucy Server with BTRFS?

So, a week ago I installed the latest beta version of Ubuntu Saucy Server in a MacMini using BTRFS as only partition to mount / on it (I know it's not recommended to do this, but it's not the point ...
0
votes
0answers
22 views

Hi.. I had the blue screen of death and Installed Ubuntu Test from my sons disk [duplicate]

I would like to erase windows 7 from my laptop ASUS Core i7. I do not care about the programs nor info on the hard drive, I have it all backed up.. Please help as I am running on a CD and when I close ...
2
votes
2answers
813 views

Does btrfs support per user quota?

If I move the /home/... folders to a btrfs partition, can I still enable per user quota? That is, each user should be able to use a limited amount of storage.
0
votes
0answers
28 views

Btrfs fsck running on boot every time? [duplicate]

I've read some stuff that says that Btrfs fsck is run every time on bootup. Is this still true? If so how can you tell when it runs or does not run on bootup? I just installed Ubuntu Raring Ringtail ...
0
votes
1answer
371 views

Use IOzone to check read/write performance of ext4 and btrfs?

Can someone help me to use IOzone filesystem benchmark tool on Ubuntu to check the performance of ext4 and btrfs filesystems? I have installed Ubuntu into a VM.
2
votes
2answers
3k views

Creating btrfs subvolume like @ or @home

Being intrigued by btrfs I decided to toy around with it in a VM. Installation works great as long as I remember to put /boot on a separate partition and it all seems to work fine. What I would like ...
0
votes
1answer
2k views

Moving a subvolume to another drive

I'm trying to move my root subvolume to another drive. I've booted into a live disc, ran "cp -a /mnt/sdb/@ /mnt/sda", fixed my FSTAB, and reinstalled grub. However when I boot up I can see that both ...
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
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 ...
0
votes
1answer
99 views

“btrfs filesystem show” gives me “failed to read” errors

My /home is a raid1 btrfs partition spanning two disk. As far as I can tell, it's working fine. This morning I wanted to check the status of the partition so I entered the btrfs filesystem show ...
2
votes
1answer
3k views

btrfs: not enough free disk space, but device not fully used

I'm using btrfs for my home directory, which spans multiple devices. In total I should have around 7.3TB of space - and that's what df shows, but I ran out of space after using only 5.7TB of data: # ...
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 ...
1
vote
1answer
748 views

Cannot use 'btrfs balance' to convert to raid1

I'm trying to convert a 2 drive btrfs array on Ubuntu 12.04 to use RAID1. Following the instructions on the btrfs wiki I've tried this command, with no success: valorin@gimli:~$ sudo btrfs filesystem ...
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 ...
0
votes
2answers
438 views

Why does Ubuntu create a @home directory on home partition?

I want several Linux distros to share the same home/data partition, each having a unique user name and implicitly a separate home directory. I installed Debian Wheezy, and formatted this partition as ...
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
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 ...
0
votes
1answer
246 views

Can I Recover The Files in the Directory /usr from a btrfs Snapshot?

Some time ago, I moved the folder /usr to its own partition. Before this it had lived in the / partition which has a btrfs filesystem. Accidentally, I formatted my /usr partition from my Windows XP ...
2
votes
1answer
3k views

How to use Btrfs with compression on external USB hard drive?

I would like to make use of Btrfs' transparent compression on an external drive. Which tool is best for formatting the drive? Disk Utility or GParted? How do I activate the compression? During ...
0
votes
1answer
877 views

Is this tactic of switching from btrfs to ext4 safe?

I've been using btrfs on Ubuntu 12.10 for both / and /home for several weeks. Through out the time I've come to the conclusion that ext4 performs better on my system and I'd like to switch back ...
1
vote
0answers
2k views

Errors during start-up: “Scanning for Btrfs filesystems”

I have installed Ubuntu 12.10 desktop on three systems and one virtual machine. On every system I have opted for a single Btrfs partition. During start-up I get the following two error messages. It ...
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?
1
vote
3answers
8k views

Moving /boot to a separate partition

I've installed Ubuntu 12.04 on a partition with BTRFS as its file system, but it appears that grub2 seems to have some issues with that file system. For some reason it takes it very long time to boot ...
2
votes
1answer
548 views

Ubuntu Server 12.04 start fails after update

I did an system update on Ubuntu Server 12.04, which requested a reboot. Since that, the system never reaches the login. It hangs on: mount: mounting /dev on /root/dev failed: No such file or ...
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 ...
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 ...
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: ...
1
vote
1answer
741 views

How does one undelete or repair BTRFS partitions?

Had a power‐cut last week and thought nothing of it but today when I opened (mounted) a data partition for archiving edited video files, I noticed it had 50GB free when it previously had only 2… ...
2
votes
2answers
1k views

How do I install the btrfs-restore utility on 12.04?

I would like to install btrfs-restore on Kubuntu 12.04 apt-cache search btrfs-restore returns nothing. Google "ubuntu download OR install btrfs-restore" returns nothing useful. Also, where do I get ...
1
vote
5answers
6k views

How do I recover a BTRFS partition that will not mount?

The installation for 12.04 kept failing, and the solution was to have the installer ignore the btrfs partition that I have previously been using for /home. Now that it's installed, I've been trying ...
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 ...
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 ...
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 ...
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)