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

learn more… | top users | synonyms

3
votes
2answers
388 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 ...
3
votes
1answer
217 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
1answer
482 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 ? ...
2
votes
1answer
194 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
118 views

Linux, SSD, BTRFS and Trim

I'm running a Linux system (based on Gentoo) with a BTRFS file system installed on an SSD (Toshiba Q300 with 480GB net). My /etc/fstab looks like: UUID=14cb9b65-... swap swap defaults,...
1
vote
1answer
304 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 ...
1
vote
1answer
157 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
210 views

File server VM on a btrfs host

I want to build a file server/NAS while using btrfs to protect the data (from bitrot), but I'd like to use my existing KVM/QEMU server (debian with btrfs raid1) and create a VM for this purpose. If I ...
0
votes
1answer
88 views

Is running a linux VM on a windows machine for btrfs software raid a good idea?

A bit of backstory: I used to have a raid 5 array on my main (win 7) computer using a highpoint raid controller. I used to think if any part died I could replace it, so I was safe as long as I did not ...
0
votes
1answer
32 views

Error occurrs while configuring Snapper on Btrfs file system

I am getting an error while trying to configure snapper on Fedora 23. My root partition is btrfs, and I have installed the snapper package. The error is occurring when I initially try to create the ...
0
votes
1answer
125 views

Three Disk RAID0+1 Array with BTRFS

Would it be possible to have two or three disks in a RAID0 array and have a separate disk that is as large as the RAID0 disks combined size for pairity? Or, would it be better to just RAID0 the ...
0
votes
1answer
332 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)
-1
votes
1answer
37 views

Unmount btrfs subvolume from tree

On an btrfs volume, I have a folder snapshots/ in which I store a snapshot of the whole volume from time to time. btrfs automatically mounts all subvolumes, eg. after mounting the top volume, ...
6
votes
0answers
701 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
31 views

btrfs RAID-1 size

I have a btrfs raid1 filesystem with a couple of disks 1TB 2TB 2TB 2TB 5TB which should result in a total of a 6TB RAID-1 array. The result of the http://carfax.org.uk/btrfs-usage/ Total space ...
2
votes
0answers
55 views

btrfs mounts wrong subvolume on boot

My system uses btrfs for its root volume, with daily snapshots. I'm trying to roll back to a recent backup, but it persists in mounting the same subvolume on boot even though I updated the default ...
2
votes
0answers
128 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
29 views

btrfs out of space, even though there should be ~10% left

I've got an issue with btrfs free space (not that uncommon), but I was unable to solve it by following most obvious sources. I don't know what I'm missing. Sources: https://btrfs.wiki.kernel.org/...
1
vote
0answers
173 views

How to read btrfs volumes on windows?

Basically the same asHow to read ext4 partitions on Windows ?. As I wanted to enjoy btrfs features such as transparent compression or auto defragmentation, I installed my Linux system on a btrfs ...
1
vote
0answers
54 views

How to restore from truncated btrfs?

I'm suffering from the combination of two issues: after changing the HDD enclosure once and changing back to the initial enclosure (and others in order to test), a 5TB btrfs is now truncated after ...
1
vote
0answers
61 views

How to undelete a directory on btrfs multi-disk volume

I'm new to btrfs and have an issue. I originally posted this as an answer on an identical question but i have been told that I'm supposed to ask it again. First things first. I have exhausted Google ...
1
vote
0answers
83 views

Resume btrfs balance after interruption due to ENOSPC

I'm building RAID5 out of 3 devices (3.7TB each). I run: btrfs balance start -dconvert=raid5 -mconvert=raid5 /mnt/storage0 and it did process 3471 out of 3472 (sic!) chunks after which it failed ...
1
vote
0answers
220 views

BTRFS: too many missing devices, writeable mount is not allowed

Environment $ btrfs --version btrfs-progs v4.2.1 $ uname -a Linux [REDACTED] 4.2.1-040201-generic #201509211431 SMP Mon Sep 21 18:34:44 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Problem Today the ...
1
vote
0answers
45 views

Using btrfs cow functionallity to rapidly and efficiently subset large files

[My aim is to use btrfs cow features to subset 30GB to 300GB files into several 10GB files without producing substantial i/o nor using additional disk space. i.e.: 300GB dna_original.fastq 10GB ...
1
vote
0answers
105 views

using btrfs features to rapidly and efficiently combine large files

My aim is to use btrfs features to combine several 3GB files into a single 9GB file without producing substantial i/o nor using additional disk space. If this works for this set of data, I plan to ...
1
vote
0answers
25 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
256 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 1.1m)...
1
vote
0answers
40 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
94 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 ...
1
vote
0answers
141 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
232 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
6 views

Snapshots vs. clones in Btrfs

What is the difference between a clone and a snapshot in Btrfs? I read here that the only difference is that snapshot is read-only while clone allows for reading and writing. I haven't found a ...
0
votes
0answers
20 views

btrfs contains much more data that fi df claims

Sorry, I know this btrfs df question #1012819281. I converted my data grave from ext4 to btrfs (due to the need for incremential backups). I used a Ubuntu Trusty live system, since there is a ...
0
votes
0answers
54 views

Problems booting the archlinux ISO from grub

I've downloaded the archlinux ISO to my drive and would like to set up a grub entry so I can boot from it, but I get these errors when I select the new grub entry on startup (even though /boot/iso/...
0
votes
0answers
7 views

Is there any way to get information of which of btrfs subvolumes is currently mounted?

I cannot see any option to check which volume (id) is currently mounted at specified mount point. Is there any way to obtain this information?
0
votes
0answers
21 views

btrfs snapshot chain - performance impact or other disadvantages?

Supposing I have a chain of subsequent snapshots like this: /btrfs/snapshots/sn0 /btrfs/snapshots/sn1-snapshot_of_sn0 /btrfs/snapshots/sn2-snapshot_of_sn1 /btrfs/snapshots/sn3-snapshot_of_sn2 /btrfs/...
0
votes
0answers
50 views

How to make automatic hourly/daily/weekly snapshots with Btrfs

I remember working at a company with a NetApp server in 2003, and we had a snapshot directory in our home directories, with various snapshots appearing in it. I think there were snapshots for the last ...
0
votes
0answers
26 views

Snapper: Create snapshot as non-root

Is there a way (using OpenSUSEs snapper) to create a snapshot as a non-root user? I.e. executing (as a normal user): $ snapper -c foo-config create I already followed the instructions from the ...
0
votes
0answers
52 views

List missing files on a degraded read-only btrfs mount

I have a btrfs filesystem spanning 3 drives. The metadata is using raid1 (mirroring), but the data is using single, so no mirroring or parity just spanning. For example: mkfs.btrfs -m raid1 -d single ...
0
votes
0answers
7 views

Post-“btrfs replace” - get data from replaced device

Prelude: I have a laptop with a HDD, and I added an SSD recently to the DVD-bay. I used btrfs replace start to migrate from the HDD to the SSD live, and all went well. There is a big "mysterious" ...
0
votes
0answers
34 views

How to configure btrfs raid1 to be bootable again

Setting up my home server with two 1TB devices (btrfs, raid1) two years ago, I recently added two new 4TB devices to my btrfs-volume. After removing the 1TB devices btrfs device delete ..., my server ...
0
votes
0answers
39 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
0answers
31 views

List btrfs subvolumes limited to path

Is there a way to filter btrfs subvolumes by path prefix without using scripting (awk/sed/etc.)? I thought that the -o option to btrfs subvolume list would work based on its description: usage: ...
0
votes
0answers
29 views

Single Hypervisor storage deduplication using a filer VM : performances

I'm looking forward to use a dedicated server as an hypervisor using VMware ESXi, and I would like to find a way to have storage deduplication and save some disk space. The idea would be to create a ...
0
votes
0answers
149 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
164 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
103 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
37 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
129 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 ? ...