B-tree file system, next-generation Linux file system

learn more… | top users | synonyms

2
votes
1answer
583 views

Finding files with BTRFS Uncorrectable Errors

I have a question concerning unrecoverable errors on a BTRFS file system. Specifically, I've run a BTRFS Scrub recently after experiencing a problem with one of my RAM sticks and it seems to have ...
2
votes
1answer
192 views

Mirror / backup laptop btrfs drive to sometimes connected external USB disk

I have a laptop with an internal drive using Btrfs. There are several subvolumes and snapshots on here. I want a copy of this drive to be made periodically to an external USB disk of approximately the ...
2
votes
1answer
192 views

/home “cleaned” during ubuntu 12.10 installation on btrfs

I had a seperate btrfs partition for my home directory in my old ubuntu instalation. I "upgraded" the installation by installing a clean system on my ext4 partition which got formatted and mounted as ...
1
vote
1answer
51 views

BTRFS size on disk 200x larger than actual size

Why is BTRFS so grossly misquoting the size of small files on my filesystem? [pi@rpi scipy]% cat __init__.py | wc -c # literal byte count 4729 [pi@rpi scipy]% du --apparent-size -h ...
1
vote
1answer
94 views

Btrfs volume management for normal home user

Btrfs is by design for enterprise use, but that doesn't stop normal home users from using it. By normal home user, I mean those people who don't use complicated setup like mirroring, or any level of ...
1
vote
1answer
233 views

Is it possible to convert a btrfs RAID5 to a RAID6 with the same disks without losing data?

How would I convert an existing RAID5 (single parity) btrfs setup to a dual parity RAID6 configuration given enough free available disk space, using the same disks, without swapping out data ? ...
1
vote
1answer
131 views

RAID 0 or btrfs on two SSDs?

I have two 500 GB SSD's, and I would like to combine the two in some way to have 1 250 GB NTFS partition, and 1 750 GB btrfs or ext4 partition. As far as I see, I have two options: the Intel Rapid ...
0
votes
1answer
201 views

btrfs check: “Couldn't open file system”

When I run btrfs check /dev/sda1, it returns "Couldn't open file system," whether /dev/sda1 is mounted or not. Why? (cf. this)
0
votes
1answer
3k views

ext4 vs btrfs performance on SSD array

I am observing something that I cannot explain. I am trying to come up with a good filesystem configuration using HP P420i controller and SSDs. Out of curiosity I have tried BTRFS (still unstable so I ...
0
votes
1answer
160 views

How do I deal with BTRFS raid1 when usb disk device mappings changes?

I created a btrfs raid1 one by using "mkfs.btrfs /dev/sdc1 /dev/sdg1". It worked fine but next time I restarted my pc it seemed like the sdg device became sdf therefor btrfs refused to mount this ...
4
votes
0answers
558 views

Is it safe to resize a BTRFS partition that is part of a multi-device volume?

I have a multi-device BTRFS volume and I would like to re-size one of the partitions. To be more precise: My /home is spread across two separate BTRFS partitions. I shrunk down another partition to ...
2
votes
0answers
45 views

Why is moving files between btrfs subvolumes an expensive operation?

From what I understand, btrfs subvolumes share the same file system "storage", so I was surprised to know that moving files between different subvolumes is an expensive operation, like moving between ...
2
votes
0answers
144 views

btrfs does not show drive as missing

I am trying out btrfs and I noticed some funny behaviour: I have two drives in a raid 1 configuration. sudo btrfs fi show Label: none uuid: 52b9c6f6-ce5c-4727-861e-e2fd012e475f Total devices 2 ...
2
votes
0answers
121 views

Btrfs snapshot space and time overhead

Using btrfs-snapshot-rotation, I've setup a system to rotate snapshots so that it always has snapshots of: Each of the the last 24 hours Each of the last 30 days Each of the last 12 months. This ...
2
votes
0answers
98 views

For raid1, does btrfs check which partitions are on the same device?

I have btrfs on two partitions using btrfs's raid1 mode: /dev/sda3 /dev/sdb3 Now I plan to run btrfs device add /dev/sda2 /dev/sdb2, so I'll have four partitions: /dev/sda2 /dev/sda3 /dev/sdb2 ...
1
vote
0answers
16 views

How do I get the current subvolid of a mounted btrfs?

How do you get the top level subvolid of a mounted btrfs? I want the actual subvolid that is mounted at this moment and not the default subvolid (which could be different.)
1
vote
0answers
19 views

btrfs not distributing data to smaller disks in 4-disk RAID1 array

I have a btrfs filesystem composed of four disks of sizes 3TB, 3TB, 1TB, and 1TB, configured in a RAID1 (data and metadata). I've noticed that btrfs doesn't seem to want to use the smaller disks at ...
1
vote
0answers
115 views

Online Drive Replacement: BTRFS with RAID 6

on a testing machine I installed four HDDs and they are configured as RAID6. For a test I removed one of the drives (/dev/sdk) while the volume was mounted and data was written to it. This worked ...
1
vote
0answers
138 views

Linux kernel 3.9 new storage features howto?

Linux kernel 3.9 has been released, which brings new features for storage cache devices (dm-cache), as well as BTRFS RAID 5/6. These features are undoubtedly sexy, but are all but completely ...
1
vote
0answers
221 views

Ubuntu 12.04: Does grub support multidevice boot from btrfs?

I'm using Ubuntu 12.04 LTS (Precise Pangolin) with grub 1.99. I installed on a RAID10 multidevice BTRFS partition. I thought that multidevice support had been included in grub for a while, but on ...
0
votes
0answers
12 views

BTRFS, Files on a single drive in array but keep 2-parity?

Is it possible to setup a BTRFS array of disk but tell it to keep files on individual disks instead of stripping them and still keep a 2-parity? The idea is that if three drives die, the files on the ...
0
votes
0answers
33 views

Install Ubuntu on USB within VirtualBox

In order to test the stability of Btrfs-RAID1 I wanted to install Ubuntu on two USB sticks from within Virtualbox. What I would like to achieve: Having a btrfs-based RAID1-System that boots on ...
0
votes
0answers
20 views

BTRFS delete missing drive, ignoring I/O errors

I have a BTRFS file system, distributed on 3 drives (no raid). One of my drives died yesterday. I can still mount the file system using sudo mount $path -o degraded,ro About 120k files (out of ...
0
votes
0answers
24 views

Btrfs I/O errors - crappy disks or btrfs fault?

I'm using btrfs for quite a long time, but I wasn't using any more advanced features before. Recently I've moved to btrfs on all drives, on all machines, turned on snapshots, raid and all the cool ...
0
votes
0answers
18 views

BTRFS RAID10 improperly handling broken device

Today my personal hypervisor experienced a harddrive failure. Plain and simple, one drive completely stopped responding and any attempts to access it resulted in I/O errors: [root@Helium ~]# ...
0
votes
0answers
69 views

Repair btrfs RAID? Error: Inappropriate ioctl for device

I have a RAID5 btrfs with 8 disks and a hard disk died and just disappeared from the list. Now I tried removing it but got an error: ERROR: error removing the device '/dev/sdb' - Inappropriate ioctl ...
0
votes
0answers
12 views

How to apply a snapshot of root filesystem which is BTRFS?

I have a snapshot of the root filesystem. The following is the output of my btrfs subvolume list / command : ID 257 gen 90 top level 5 path root ID 258 gen 91 top level 5 path home ID 263 gen 44 top ...
0
votes
0answers
59 views

partclone.btrfs thousands of correctable csum errors

I just cloned a btrfs file system from one disk to another using partclone.btrfs --dev-to-dev. Afterwards, I mounted the cloned file system and started a scrub to see if everything is in order. After ...
0
votes
0answers
34 views

Is a btrfs RAID1 mountable if the added device isn't available/offline/failed/degraded?

Assume I created a RAID1 with btrfs's functions (btrfs device and btrfs balance subcommands instead of mdadm) like so: btrfs device add /dev/sdxZ /dev/sdxY btrfs balance start -dconvert=raid1 ...
0
votes
0answers
81 views

After a crash computer will not boot with btrfs drive

So since I started using btrfs, when my computer crashes (mainly because battery ran out but on any crashe i had up until now) it does not boot anymore (the issue seems that the kernel cannot mount ...
0
votes
0answers
29 views

Error when installing BURG on BTRFS

I can't seem to install BURG on BTRFS. I get the error: /usr/bin/burg-probe: error: cannot find a device for /boot/burg (is /dev mounted?)
0
votes
0answers
59 views

How many volumes should I add in my btrfs?

How much overhead does a single physical partition add to a btrfs volume? ps aux | grep btrfs | wc -l results in 102. I have 4TBx4 in my NAS and 16GB RAM and Core i3 processor. The NAS also hosts a ...
0
votes
0answers
28 views

Files in $HOME losing executable bit

On my laptop running Arch, I have a bunch of git repositories cloned under ~/git. My problem is that from time to time (maybe once in a month or so), all the executable files inside the clones will ...
0
votes
0answers
48 views

Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting

Whenever I try updating grub, I get this error: # grub-install /dev/sda Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting. and # grub-mkconfig -o ...
0
votes
0answers
24 views

BTRFS & F2FS userspace utilites cross compilation

Is there any weblink/document which describes the steps to cross-compile btrfs & F2fs user space utilities ? Any steps ? special tuning suggestion for arm based board.(AM335x) ?
0
votes
0answers
33 views

What are btrfs snapshot and subvolume restrictions speaking in terms of read/write access instead of access and data sharing?

The btrfs subvolume manpage tries to explain which type of access is granted to btrfs subvolumes and snapshots. Unfortunately it exclusively uses terms like "access", "use just like a directory" and ...
0
votes
0answers
22 views

How to figure out which partition number an entry in the list has in the Fedora 20 installation routine?

I started the Fedora 20 installation image which I dded onto an USB stick. During the installation I started wondering whether it really is impossible to determine the parition number or UUID of ...
0
votes
0answers
116 views

It is possible to minimize size of a btrfs sparse file with btrfs filesystem resize and truncate?

Motivation: Assume I have created an oversize sparse file with truncate -s 4T test.img, mounted it over a loop device and put inside 1M files with 100 GB size together. One can assume that btrfs put ...
0
votes
0answers
92 views

BTRFS multiple devices mix raid1 and raid0

Hi Consider the following use case: I have two disks same size (let's say 3TB each). Then create a btrfs filesystem using both devices. Now I want to have two subvolumes "idata" and "ndata". Where ...
0
votes
0answers
124 views

btrfs made linux kernal panic when i delete subvolume?

My environment is: VMware workstation 8 CentOS 6.3, kernel 2.6.32-279.el6.i686 Btrfs v0.19 Sorry i can't use the images for the panic because my reputation is low. Call Trace ? panic ? oops_end ? ...