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

0
votes
0answers
59 views

unable to mkfs.btrfs ERROR: unable to open /dev/sdc: Device or resource busy

I have an old Dell PowerEdge 1950 with a LSA SAS card connecting three hard drives. I am running Ubuntu 16.04 server. When I run the following command: sudo mkfs.btrfs -d raid6 -f /dev/sdc /dev/sdd ...
0
votes
1answer
17 views

scheduler: how to tune cfq to favor interactive processes

Problem: scheduler doesn't seem to favor interactive processes: On a desktop system with automatic cron-scheduled backups from one (btrfs) disk to another (ext4). The backup process mounts the idle ...
1
vote
0answers
89 views
+100

How to use snapshots with BTRFS in Ubuntu along with a separate HOME partition

My goal is to make snapshots while upgrading software. I installed Ubuntu in LVM partitioning with a separate HOME partition in another HDD formatted in XFS ("/" in BTRFS), but I'm trying to follow ...
1
vote
1answer
38 views

Filesystem/RAID configuration to stripe/mirror three hard drives

I have 3 HDDs in my workstation: 1.5 TB (drive "A") 2TB (drive "B") 4TB (drive "C") I am doing a fresh install of 16.04. I would like to find a filesystem/RAID configuration that allows me to ...
0
votes
2answers
35 views

Two mount points of my partition

I freshly set up Ubuntu, and formatted the whole disk with the btrfs file system. When I look at the mount point in gparted, /dev/sda5 is mounted both at / and /home. Is this a problem? This did not ...
1
vote
0answers
50 views

btrfs balance “No space left on device” with no success on any -dusage and -musage values

I have the following issue with btrfs balance start / on a btrfs on an 140 GB LVM with 4 physical device (in case that matters): sudo btrfs balance start / fails with ERROR: error during balancing ...
0
votes
0answers
23 views

SSD Not part of Raid?

I was playing around with BTRFS calculator (link below). I have 2 2TB Drives and 1 3TB drive. I also have a 120GB SSD. I was thinking Raid 5 with the operating system loaded on the SSD. It said I ...
1
vote
0answers
61 views

Sometimes shutdown takes 2 extra minutes

While usually shutdown takes less than a minute, sometimes it takes 2 or 3. May be my 7 btrfs HDDs are a culprit (they take 3 minutes to mount), but the problem is inconsistent. The screen goes black ...
0
votes
0answers
44 views

“sudo btrfs filesystem defragment -r /” can't defrag immutabe files, right?

Files made immutable by sudo chattr +i can't be defragmented by "sudo btrfs filesystem defragment". I get the message: "ERROR: defrag failed on /path/filename: Success total 1 failure" Is this a bug ...
0
votes
0answers
40 views

encryption - separate data partition / dual boot

I want to have my installation encrypted, but the data partition separated (or if you've dual boot..) cause there's no need for that. It'd be nice installation to support this option - right now it ...
0
votes
0answers
61 views

How to install Ubuntu Desktop on XFS or BRTFS using automatic partitioning?

Currently, when install Ubuntu Desktop, and by choosing automatic partition for a brand new hard drive, there is no way to select which file system will be used for it. It auto-selects EXT4 and the ...
0
votes
1answer
55 views

What's the best way to try newer versions?

I'm running Ubuntu 14.04 LTS in two computers. One is the desktop version, my alternate (and almost) everyday computer, and a second server (headless) version.Eventually the server will be a ...
0
votes
0answers
51 views

Will mounting a btrfs volume with compress=no decompress already compressed data?

If not, how may the data be decompressed? Will defrag process decompress files?
1
vote
1answer
98 views

Is there a way to use badblocks with btrfs?

I have a hard drive with bad sectors that I've found using badblocks and whatever Windows uses. I have Lubuntu installed on btrfs, and it's running smoothly for now (where Windows would freeze up), ...
1
vote
2answers
65 views

Tried to delete files; disappeared from home folder, but did not appear in Trash (Btrfs)

I deleted some files from my home folder that added up to about 50GB. They did not go to my Trash, but are no longer in the home folder. I still have the same amount of disk space remaining as I did ...
1
vote
3answers
244 views

BTRFS on Ubuntu 14.04.3 [closed]

I know, I know, I know. Bear with me. BTRFS is listed as stable now (wiki page updated Nov of 2015) https://btrfs.wiki.kernel.org/index.php/Main_Page#Stability_status The filesystem disk format ...
1
vote
1answer
38 views

Can I get SSD rw performance while keeing data security if I combine SSD & HDD in RAID1

I have 2 storage devices; classical slow HDD( 750GB, /dev/sda ) and faster SSD( 128GB, /dev/sdb ). Currently I have installed Ubuntu & Mint on same btrfs partition on SSD ( /dev/sdb5 ). My btrfs ...
1
vote
1answer
172 views

Upgrading btrfs-progs

I am running Ubuntu Server 14.04 LTS and have setup a btrfs RAID 10 volume with 6 member drives for storing data. I've additionally set it up so that btrfs scrub runs every week using cron so that the ...
0
votes
0answers
70 views

grub fails to find btrfs-filesystem after adding new devices

Having my server (Ubuntu 15.04) equipped with two 1TB HDDs in raid1, I added yesterday two new 4TB HDDs. After adding those with btrfs device add ... I rebalanced the system with btrfs balance ...
0
votes
1answer
163 views

Boot to Btrfs snapshot in Ubuntu

OpenSuse recently implemented an GRUB entry that allows you to boot directly into a previous Btrfs snapshot of your root. Is there any way of bringing it to my Ubuntu installation? Such feature would ...
0
votes
0answers
26 views

How to rollback btrfs snapshot not at the top of the btrfs tree

(I may be using the wrong terms in this question, but I'm trying to use the terminology in the linked page.) The ubuntu wiki explains how to rollback a snapshot that is located at the top of the ...
5
votes
1answer
233 views

How do I convert from RAID1 to JBOD with btrfs?

I have the following RAID1 btrfs set: Label: none uuid: 87595481-7b5c-464e-b10d-d9b2b0852e11 Total devices 4 FS bytes used 4.77TiB devid 1 size 2.73TiB used 2.63TiB path /dev/sdb ...
3
votes
1answer
249 views

How to list compression ratio on compression enabled btrfs?

I enabled compression on a btrfs volume. Now how do I know the compression ratio of files or directories? Or at least the overall stats?
2
votes
0answers
186 views

Ubuntu 14.04 bad taint

Any body got the solution for the below question? please share it. I couldn't add comment ,so i created new question here. Ubuntu 14.04 bad taint on XFS and BTRFS Problem: I have installed Ubuntu ...
0
votes
0answers
64 views

btrfs kenel error

getting some kernel error while mounting btrfs for remove the missing devices. Oct 19 07:31:57 backup kernel: [ 1883.691633] ------------[ cut here]------------ Oct 19 07:31:57 backup kernel: [ ...
1
vote
1answer
195 views

How do I find out which driver version of BtrFS I am using?

I was reading through a couple of BtrFS articles online. Sometimes I saw statements like Do not use BtrFS versions older than 0.20rc1. How can I find out which version is in my Kernel?
0
votes
0answers
147 views

BTRFS RAID6 array is broken, how do I fix it?

My Btrfs raid 6 array seems to be broken. When try to mount it I get the following error message. I don't know how or why it broke maybe a power outage or something (it happened during my vacation). ...
1
vote
0answers
75 views

Install Ubuntu on Btrfs Raid1 pool

I have seen the post Installing Ubuntu on btrfs over multiple drives, but the solution suggested there does not help me. Before using Btrfs in a production environment I wanted to give it a try in ...
1
vote
0answers
177 views

LUKS + LVM at Install Time

I am trying to use the Ubuntu 14.04.3 LTS installer to create a disk layout that logically looks like this during installation: /dev/sad | +-- /dev/sda1 (/boot) | +-- /dev/sda2 (LUKS) ...
0
votes
1answer
166 views

How to create a snapshot of an encrypted btrfs @home subvolume?

We are using btrfs for its snapshot capabilities so we can backup user home directories. The user home directories are encrypted with encryptfs. We run sudo btrfs subvolume snapshot /home ...
1
vote
1answer
218 views

Error removing an HDD from a RAID1 BTRFS array

I setup a btrfs filesystem on 3 disks with RAID 1. Somehow, a small portion (2GiB) got used as RAID0. At the time, no amount of running btrfs balance -dconvert raid1 -mconvert raid1 would change it so ...
1
vote
1answer
120 views

btrfs - Need help understanding it correctly

After spending hours and hours i cannot manage to understand btrfs enough to use it the way i want. In the end my goal is simple: Having a clean fail-proof solution for os upgrades. So i've exactly 3 ...
0
votes
1answer
69 views

How to start services only after BTRFS filesystem has been mounted?

I've been trying to make some services only start after a BTRFS system gets mounted, with no success. I have the following in my service start/stop script: # Required-Start: $local_fs $remote_fs ...
3
votes
2answers
214 views

Is it safe to delete apt-snapshot-*?

I think I did a mistake when I decided to use Btrfs. I am not using any of its features, but now have troubles with not enough space. I did sudo btrfs balance start / -v as suggested in some ...
0
votes
1answer
180 views

Error “Unknown unclaimed register before writing to 4a000” after scanning for btrfs filesystem

I had upgraded Ubuntu from 12 to 14 version. I have "scanning for Btrfs filesystems" before starting up, and then I've got error "Unknown unclaimed register before writing to 4a000". How can I fix it. ...
2
votes
1answer
118 views

How to mount BTRFS filesystem via CLI with switches defaults,noatime,commit=300,autodefrag

I have ubuntu on a 32GB USB2 flash stick that I carry around with me, it works fine booting on other machines I have to sometimes access. Recently I added a volume that contains a lot of data (a ...
0
votes
1answer
71 views

Scanning for BTRFS files systems

After upgrading from Ubuntu 14.04 to a point release, I get a message "scanning for btrfs file systems" at start-up. I presently do not have any drives with BTRFS, (am considering it potentially for a ...
1
vote
1answer
832 views

Raid 6 on btrfs in Vivid

Hi I'm trying to make a Raid 6 on multiple drives in Ubuntu 15.04, Btrfs is already running on 4 in raid10 when I do sudo btrfs balance start -dconvert=raid6 -mconvert=raid6 /mnt/storage/ it ...
5
votes
4answers
7k views

2015: Is BTRFS stable?

I know, questions like this have been asked before, but I'd like to get some up to date experiences.. From what I've read in various discussions, BTRFS seems like it's relatively stable, but once in a ...
0
votes
0answers
106 views

Which btrfs features are stable? How to know?

with the adaption of Btrfs by SuSe, Oracle and Facebook Btrfs has prominent support. The question appears to shift from "is btrfs stable for production" to "which set of btrfs-features are stable ...
0
votes
0answers
94 views

How do I setup JBOD by installing Lubuntu?

I want to setup JBOD (Just a Bunch Of Disks) with Btrfs on Lubuntu 15.04.
0
votes
1answer
307 views

How do I setup software RAID 0 or JBOD with BTRFS?

I've a 4GB SSD drive which is BTRFS formatted and is running Lubuntu 15.04 and a 8GB SD card (which I've always inserted) formatted as BTRFS. I want to setup software RAID 0 or JBOD, so I've more ...
1
vote
2answers
4k views

How can I deduplicate my data with BTRFS?

I have installed Lubuntu 15.04 on my EEE PC 701 with the file-system BTRFS. I want to deduplicate my data, but I don't know how.
1
vote
1answer
743 views

BTRFS bad tree block start

First some background on my setup. I have 7 Hard Drives in a raid 5 (I know, move to raid 6, but not the issue here) array. On top of that, I run LVM, with a partition for btrfs. BTRFS is at version ...
0
votes
0answers
58 views

Filesystems not mounting on boot?

I'm getting this fail after rebooting: I tried the instructions here and no dice. I also found a thread about getting rid of Btrfs but I'm not sure if that's a good idea to try. This is all on ...
2
votes
1answer
295 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
1answer
66 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
210 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. ...
2
votes
1answer
144 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
166 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 ...