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

4
votes
3answers
2k views

How can I use Kernel 3.19 in 14.04 now?

So I'm rebuilding my storage server. For stability, I want to use Ubuntu server 14.04 LTS as the OS. However, I'm planning to use Btrfs with RAID 5, and this has been greatly improved in kernel 3.19. ...
0
votes
0answers
29 views

Some error messages while boot, after upgraded to 14.04 from 12.04

Recently I upgraded to 14.04 from 12.04. Now I see some error messages during every startup. Could anyone please let me know, that why am I seeing such messages? The error message as follows : ...
0
votes
0answers
17 views

Unable to mount secondary BTRFS filesystem to specific subvolume

So I'm trying to wrap my head around BTRFS and set up my fileserver using BTRFS filesystems. Here is my setup: /dev/sda1 : BTRFS filesystem, contains @, @home subvolumes mounted to / and /home. ...
0
votes
0answers
7 views

How can I make proper use of subvolumes in btrfs?

In the past, I've always used three ext4 partitions to fulfill my needs: /dev/sda2: / /dev/sda3: /home /dev/sda4: /mnt/Data Right now, I'm using Ubuntu 15.04 with the btrfs filesystem. After ...
0
votes
1answer
21 views

Installing Windows 7 after installing Ubuntu on btrfs: how to restore boot?

I've looked at the answers on this question, but none of them solved my problem: How can I repair grub? (How to get Ubuntu back after installing Windows?) My system is partitioned as follows. ...
17
votes
6answers
11k 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 ...
2
votes
1answer
32 views

How to find the size of a filesystem?

How can I find out the size of a filesystem in Linux? By that I mean the exact number of bytes that are used from the partition, not just the output of df, as that can differ from the true size when ...
1
vote
1answer
324 views

Error while starting ubuntu 15.04

After i have upgraded my Dell Latitude E5540 to Ubuntu 15.04 i have the following upon booting up ! Scanning for Btrfs filesystem [FAILED] Failed to start Load Kernel Modules. See "systemctl status ...
7
votes
3answers
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 ...
3
votes
2answers
179 views

Ubuntu and Live USB won't Boot after power cut 15.04 BTRFS

I didn't think this was a problem until it happened to me twice on two different systems and have never seen this before. First time I was running Xubuntu 15.04 on a Lenovo T61 using BTRFS. The ...
0
votes
0answers
24 views

Ubuntu not starting after resizing partition

my (K)Ubuntu 15.04 on btrfs ran out of space. So I fixed the issue and also resized the partition (including the btrfs volume). The next time I tried to boot the following lines showed up: Loading ...
1
vote
1answer
36 views

Re-install and keep home partition with btrfs - lost files

So, I was running Arch Linux with separate / and /home. Both were btrfs partitions, but the whole drive was not managed by btrfs. I decide to install Ubuntu 14.04. I carefully select to format / and ...
0
votes
1answer
32 views

Problem accessing old data on btrfs /home in ubuntu 14.04

I recently did a fresh installation of ubuntu 14.04 64 bit on my pc. Previously I was dual booting ubuntu 14.04 with windows(both 32 bit). My hdd is 500 GB. The previous structure of the hard disk was ...
1
vote
0answers
23 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 ...
8
votes
3answers
11k 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.
1
vote
1answer
41 views

Can somebody explain this changing `du` output?

Just tripped across a weird case of du. Putting arguments one way gives: $ du -s htdocs/.git/ feuerkraft/.git/ media/.git/ 40564 htdocs/.git/ 40740 feuerkraft/.git/ 204 media/.git/ Putting them ...
0
votes
0answers
20 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
41 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 ...
1
vote
0answers
26 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 ...
0
votes
1answer
38 views

btrfs performance parallel access

I'm running a Raid5 (3x 500GB Sata2 HDD) based on btrfs 3.12 (Ubuntu 14.04 x64) and a VirutalBox VM uses this volume. As long as no other process accesses the volume, the VM runs fine. But recently I ...
0
votes
0answers
12 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
49 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 ...
9
votes
3answers
4k 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 ...
3
votes
1answer
108 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 ...
0
votes
1answer
54 views

Which subdirectories of / should have compression disabled in btrfs root filesystem?

Imagine you set up your root filesystem to be btrfs with Ubuntu 14.10 defaults (one subvolume for / and one for /home) and you want to compress and deduplicate as much as possible. Which directories ...
0
votes
0answers
67 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
1answer
1k views

how to disable 'scanning btrfs filesystem' at system startup

After upgrading from Ubuntu 12.04 to Ubuntu 14.04, I get a message "scanning for btrfs file systems" at starting-up. I don't have any BTRFS filesystem. It delays the booting for about 15 seconds. I ...
3
votes
1answer
1k views

Install Ubuntu with BTRFS and more subvolumes

I want to install an Ubuntu Server with a btrfs filesystem (in a RAID1 way). The problem is that I can't see the option in the installer to make more subvolumes. The installer creates two by default: ...
2
votes
1answer
2k views

Installing 14.04 Server to exisiting btrfs subvolume

I have an existing btrfs raid1 volume consisting of 4 disks. This already contains a few subvolumes of which I'm looking to install Ubuntu to one of. I've done the following: mount -o subvolid=0 ...
1
vote
0answers
110 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 ...
2
votes
1answer
244 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 ...
0
votes
0answers
47 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 ...
4
votes
1answer
141 views

Is it a good idea to restore a btrfs snapshot with rsync?

Is it safe to use rsync to restore a btrfs snapshot? Just to give a example rsync -ax /home/snapshot/my_user_folder /home/my_user_folder where /home is my home folder and /home/snapshot is my ...
0
votes
1answer
176 views

Is it advisable to install Ubuntu on btrfs or ext4? [closed]

I used to install ubuntu on ext4 but I heard about btrfs. Is it advisable to use it for Ubuntu installation? What are the pros and cons?
0
votes
0answers
13 views

btrfs is full, but only half a disk is really used [duplicate]

I see this: root@wm-bot:/var/lib# du -ksh /var/lib/mysql/ 2.0G /var/lib/mysql/ root@wm-bot:/var/lib# root@wm-bot:/var/lib# df -h df: `/public/backups': Stale NFS file handle Filesystem ...
-1
votes
1answer
105 views

How to restore btrfs snapshot with out reboot?

If I make a btrfs snapshot of my / folder as described here, I can't roll back until I restart the PC, because I can't delete the old btrfs subvolume with btrfs subvolume delete @_baroot. It will ...
0
votes
0answers
81 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
35 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?
2
votes
3answers
3k 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 ...
0
votes
1answer
120 views

create '@' like subvolume in another partition

I have /var/log as a btrfs filesystem in a separate partition from root. I'm using snapshots for update and will later rollback. # mount /dev/sda2 on / type btrfs (rw,relatime,ssd,subvol=@) ...
0
votes
1answer
2k views

btrfs for deduplication and compression at the same time?

I'm thinking about using btrfs functions for both deduplicate and compress my storage... My question is: is it efficient? I mean, does it deduplicate AND compress at the same time efficiently?! I'm ...
0
votes
0answers
48 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
24 views

Do I likely have a bad WD Red HDD? [duplicate]

upon install of a new WD Red HDD in my server I reboot and get the Ubuntu 14.04 loading screen of An error occurred while mounting /home. Brief description: Btrfs Raid 1 filesystem 4 existing disks ...
0
votes
0answers
114 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
1answer
149 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: ...
6
votes
4answers
3k 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?
2
votes
1answer
869 views

Does Ubuntu plan to move to btrfs as default filesystem?

Btrfs seems to have a set of useful features such us snapshots and is default in Opensuse and Suse.Fedora plans to move to it. Does Ubuntu plan to move to it? If not, why ?
0
votes
1answer
27 views

Why does mv refuse to work?

I am writing a small software in Java to act as a G.U.I for btrfs commands as a high school diploma project . I want to be able to take a snapshot and restore it in real time if I do a btrfs subvolume ...
0
votes
0answers
48 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
31 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?