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

6
votes
1answer
2k 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 ...
2
votes
1answer
167 views

How to mount btrfs subvolume, it isn't working / mounting

I just did: # btrfs subvolume create /@srv then: # btrfs subvolume list / ID 257 gen 73 top level 5 path @ ID 258 gen 71 top level 5 path @home ID 260 gen 65 top level 257 path @srv And added to ...
2
votes
1answer
528 views

Is there a way to install 13.10 on btrfs and full disk encryption?

I like the fact that the default desktop Ubuntu installer only requires me to check a single checkbox in order to have a fully encrypted disk in the end (which is a requirement within our company, so ...
2
votes
1answer
604 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 ...
1
vote
1answer
2k views

How to change btrfs partition label/uuid?

I upgraded to a new harddisk by using dd to copy the partition. As the old disk is still in place, the computer seems to randomly boot one or another. To fix this I thought, changing the UUID/LABEL of ...
0
votes
1answer
140 views

I am unable to mount my previous btrfs RAID 1 home directory on reinstall of Ubuntu server 14.04 (was using 14.10)

Update 2 I mounted as degraded to /home and something interesting happened: jake@DAVYJONES:~$ sudo mount -o degraded /dev/sdb1 /home jake@DAVYJONES:~$ sudo btrfs fi show Label: Home uuid: ...
0
votes
1answer
43 views

Moving boot disc to another

I have Ubuntu 14.10 installed on a Corsair SSD but am becoming a little nervous at the increase of smart errors appearing from it. I am considering the purchase of a new SSD to take over the role but ...
0
votes
1answer
87 views

Mounted btrfs will [not] compress?

I have a partition formated to btrfs and im willing to store there stuff that I don't use that often but which I need fast access from time to time (some dumps of my PS2 games for now) because I have ...
0
votes
1answer
679 views

How can I get rid of “scanning for btrfs filesystems” at start-up?

When I start up my computer, it says: "scanning for btrfs filesystems". I do need the btrfs-tools, but my btrfs filesystems are on a removable disk which is disconnected at start-up. Scanning for ...
0
votes
1answer
80 views

How to set USER_SUBVOL_RM_ALLOWED capability?

I try to remove btrfs snapshot as a normal user. I've read, that a user needs to have some special capability/right set: USER_SUBVOL_RM_ALLOWED. How to grant such capability to user??
0
votes
1answer
239 views

Delete snapshot make filesystem read-only

I am using Btrfs 3.12 and each time i delete a snapshot, the entire btrfs volume become "Read only". So i umount it and try a btrfsck --repair But every time it failed on this line: Extent back ...
0
votes
1answer
151 views

Btrfs snapshot marked as deleted

I am using Btrfs v3.12 and each time I delete a snapshot it is not deleted, marked as "DELETED" but the global size of the volume doesn't change. I have never seen that in older version of BTRFS. ...
0
votes
1answer
436 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.
3
votes
0answers
312 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, ...
2
votes
0answers
132 views

Deleted Items not appearing in Trash folder. Stuck in .TRASH-1000

I have a three 3TB discs in a BTRFS RAID 1 configuration mounted at /mnt/btrfs on my machine. There is a symlink at /btrfs. There are a number of subvols within this, /archive /backups /games /home ...
1
vote
0answers
14 views

btrfs: Resultant copy is twice the size of source

I just got an SSD and wanted to migrate my current Ubuntu installation to take advantage of its performance. So I booted to an Ubuntu live CD, mounted source (ext4) and target (SSD, btrfs mounted ...
1
vote
0answers
16 views

What does btrfs do if a disk in my RAID10 dies?

I've just moved from mdadm to "native" btrfs. Under mdadm I could set my email in /etc/mdadm/mdadm.conf and if it had any issues with a disk, it would fire emails at me on boot. This has saved my ...
1
vote
0answers
39 views

Harddisk operations totally brings down my system respond time to its knees

I have massive system slowdowns during harddisk operations on my PC. My Firefox is responding slow, it gets to a extreme at times that it actually becomes a not responding program and greys out during ...
1
vote
0answers
115 views

upgrade btrfs without upgrading kernel?

We're running ubuntu 14.04.4 LTS with 3.13.0-38-generic kernel and btrfs v3.12 I've read that a min version for btrfs of 3.14 is desirable. Due to one of our programs integrating with kernel we are ...
1
vote
0answers
127 views

Grub does not start anymore after removing a btrfs partition

I'm using Ubuntu 14.10. Consider the following setup: ubuntu@ubuntu:~$ sudo blkid /dev/sdb1: UUID="0dde146f-ebdc-472d-83a2-48104e23cb8f" TYPE="swap" PARTUUID="00061e41-01" /dev/sdb5: ...
1
vote
0answers
58 views

Mount and access similar BTRFS filesystem

Say that I duplicated a disk to a new disk (using dd or similar), and have been using the new disk for a while. But, then I decide I want to view a file or files on the old disk quickly, specifically ...
1
vote
0answers
66 views

Multiple Independent BTRFS Volumes

I have 4 x 2 TB drives. I want to set up one pair as a BTRFS RAID 1 volume, which I have done. I want to set up the second pair as a RAID 0 data, RAID 1 metadata volume, which I have not been able to ...
1
vote
0answers
183 views

BTRFS cannot delete snapshot - operation not permited

I cannot delete a the btrfs subvolume "2014-07-28" which is a snapshot of the "@" created by the kubuntu installer to serve as the kubuntu root. teneighty@teneighty-MS-7924:/$ sudo mount -o ...
1
vote
0answers
1k views

How to get rid of the “scanning for btrfs file systems” at start-up?

At start-up, I see the message Scanning for btrfs file systems. How can I get rid of it? I have tried to remove the package with sudo apt-get purge btrfs-tools, but it just shows a blank screen ...
1
vote
0answers
474 views

Strange output of btrfs fi df after converting from RAID0 to RAID1

I just converted my 3 disk btrfs filesystem from RAID0 to RAID1 and balanced it. At first the data was all in the RAID0 filesystem, so running btrfs filesystem df showed something like this: (XX are ...
1
vote
0answers
383 views

Installing and booting Lubuntu on ReadyNAS with Btrfs

I have NetGear ReadyNAS Business Pro with 6 Place for 6 Disks I did a hack the box (basically it is a normal PC with Intel CPU) I upgraded the CPU and I used the ReadyNAS OS 6 (which is Debian ...
1
vote
0answers
178 views

Open multiple LUKS partitions at boot

I have a setup where I have 4 LUKS partitions that need to be mounted at boot time in order to assemble a RAID10 btrfs partition holding the root partition of my system. I was able to finalize the ...
0
votes
0answers
9 views

How to copy a btrfs subvolume along with it's snapshots to a different drive?

A drive contains /@home along with snapshots /snapshots/@home-2015-01-01, .... How do I move all of them to another drive without duplicating the data in the snapshot (i.e. simple rsync -ax would lose ...
0
votes
0answers
20 views

XUbuntu 14.04 with btrfs on SSD

I have a PC with two hard drives: SDD and HDD. On SSD I've installed Xubuntu to BTRFS partition , also I have BTRFS on second drive. The issue is that during boot I'm waiting for a long time (I guess ...
0
votes
0answers
9 views

How to hide btrfs devices in nautilus dynamicly

According to this question and answer: How to hide btrfs devices in nautilus? Is it possible to do this dynamically? Devices like /dev/sdc1 might not be the same on next boot, so a static ...
0
votes
0answers
16 views

How to remove a write-back EnhanceIO cache on root partition?

I accidentially created a write-back EnhanceIO cache for my root partition. I didn't know that Creating a writeback cache on root device is not supported. This is because the root device is ...
0
votes
0answers
38 views

SSD drive errors in dmesg but smartctl says all is ok

I am not extremely experience in SSD monitoring so not sure if there is an issue or not, but yesterday I noticed in dmesg a number of errors being generated from my root disk (/dev/sdb). These seem to ...
0
votes
0answers
72 views

Ubuntu does not boot successfully with btrfs root partition errors

I have a setup on my laptop in which there are three partitions relevant to Ubuntu: a ext4 /boot partition, a btrfs root partition on LUKS and a swap partition on LUKS. Sometimes, after an unclean ...
0
votes
0answers
42 views

Why does my computer always need to scan for my btrfs partitions even though they are always in the same place?

I use btrfs for the / and /home partitions of my filesystem. All of the btrfs partitions I use are listed in the fstab, with the appropriate block devices, and their mounting configuration and ...
0
votes
0answers
67 views

How to recursive delete btrfs snapshot?

How can I delete a snapshot that contain in itself other snapshots? The normal sudo btrfs subvolume delete will give a error.
0
votes
0answers
33 views

How to properly restore a btrfs snapshot?

My / and /home partitions of my Ubuntu 14.10 system are formatted with btrfs. What is the proper way to restore a snapshot I made with out using any third party software?
0
votes
0answers
42 views

Ubuntu not booting up after uninstalling Gnome desktop

I Have Ubuntu 14.10 installed on my machine. I installed Gnome desktop on top of that. But I didn't liked it so I uninstalled the Gnome desktop using the commands sudo ppa-purge ...
0
votes
0answers
86 views

btrfs naming conventions and best practices

What are commonly used naming conventions and best practices for btrfs? How are subvolumes and snapshots named? Where are they placed? Subvolumes within subvolumes good/bad/matter-of-taste/avoid? Any ...
0
votes
0answers
29 views

How to rsync a home folder

I have a btrfs snapshot of my home folder ( let's say my snapshot is in /home/dan/snap1) How can I use rsync to "rollback" to that snapshot and not mess up things?
0
votes
0answers
44 views

Can't rollback btrfs snapshot

I have a btrfs snapshot in /home/user1/snapshot of my home folder and I want to rollback, but mv /home/user1/snapshot /home doesn't work it will just move it in /home/snapshot. What should I do?
0
votes
0answers
116 views

grub-install fails during 14.04 install with btrfs on sda

I used the manual partitioning option in the Kubuntu 14.04.1 installer to make a btrfs partition on /dev/sda. Of course it leaves 1 MB free at the start of the disk and I verified this with ...
0
votes
0answers
29 views

Uncompressing btrfs drive

I know you can compress or recompress an entire drive during a defrag with -clzo or -czlib flag but is there a way to uncompress during a defrag? Like -cnone or something? Also does defrag compression ...
0
votes
0answers
87 views

Why is my read speed limited to 40 MB/s (< 25 %) reading from ext4 when compress-force is zlib and there's no CPU usage?

I'm moving data from an ext4 filesystem on a HDD connected with USB 3.0 which usually reads and writes with 170 MB/s to a btrfs subvolume on a SSD which usually reads and writes with 360 MB/s with ...
0
votes
0answers
47 views

changing root ssd with btrfs data array

I have a Corsair 120GB SSD holding my Ubuntu OS and three 3x 3TB disks in a BTRFS RAID1 configuration holding everything else including home, photos, music, etc. I may need to replace my SSD for ...
0
votes
0answers
50 views

Is it correct behavior if badblocks destroys the partition table if invoked with -n option/in non-destructive mode on a device file?

I'm having trouble to believe that badblocks didn't destroy my partition table (help for restauration shall not be the issue here), so this question came up. There's been one btrfs partition on the ...
0
votes
0answers
11 views

Weird “btrfs” item in bootchart without having any bootchart partition

I've bound two weird items in the bootchart: https://public.v6ak.com/bootchart-btrfs-ntb-precise-20140918-3.png There is "btrfs" and "btrfsctl". It seems that other processes are delayed after the ...
0
votes
0answers
49 views

Recover a mbox file from a overwritten btrfs partition

I had 14.04 on a hard drive using btrfs as the file system. One morning, the file system randomly failed and I couldn't boot into it anymore. I loaded up a live CD and extracted all the files I needed ...
0
votes
0answers
49 views

Install on a large btrfs partition with two sub volumes

I have a computer with a large btrfs partition containing two sub volumes / and /home. They are both compressed. There's also a separate swap partition. the /home partition has data on it and I hoping ...
0
votes
0answers
417 views

How to install ubuntu to a already encrypted partiton without formatting it in 14.04

Ubuntu killed the alternative installer buuuuuuh!! I am not sure but I think this was possible before with it. As far as I understand it the installer actually recreates a encrypted volume even if ...
0
votes
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 ...