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

learn more… | top users | synonyms

0
votes
0answers
10 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 ...
0
votes
0answers
39 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 ...
0
votes
0answers
6 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
10 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 ...
0
votes
0answers
19 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
17 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
34 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
1answer
53 views

Define btrfs subvolume parent?

How can I create a btrfs subvolume such that it is the child of another specific subvolume? Or, how can I ensure that it will be created with parent/top level of 5, as many of my existing subvolumes ...
0
votes
1answer
44 views

ACL not working on btrfs filesystem

I'm trying to use ACL's to make all new files and folder in a directory belong to a certain group, but it doesn't seem to have any effect. I've run these commands in the directory: setfacl -d -m ...
0
votes
1answer
146 views

ioctl error during btrfs send

I am getting this error when I try to back up my @home btrfs subvolume from my laptop running Arch Linux to my external drive. This seems like a straightforward error, but the strange thing is that I ...
0
votes
1answer
135 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 ...
2
votes
2answers
123 views

What easy to manage file system to choose on Linux for homeserver?

I have a homeserver running on a HP Proliant Microserver Gen7 with 10GB of ECC Memory running Debian 8 (jessie). Right now i have one small system disk (backed up using rsnapshot) and 2x 3TB storage ...
1
vote
1answer
98 views

Which filesystem to use for hosting virtual machines?

Goal A reliable server configuration which serves as the off-site backup for several, distributed servers as well as hosting a few virtual machines. Each server's backups should be encrypted, ...
1
vote
2answers
103 views

calculate checksum of every file that is being written to HDD

Is it possible to automatically calculate checksum of every file that is being written to HDD? My OS is Linux. I've read that btrfs stores some kind of checksums for files. Would be possible to dump ...
1
vote
0answers
25 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 ...
0
votes
0answers
63 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
0answers
6 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
25 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 ...
1
vote
1answer
72 views

btrfs (v0.20-rc1) Check tree block failed

I am trying to recover a btrfs filesystem and have hit a dead end btrfs check --repair --init-csum-tree --init-extent-tree /dev/mapper/VG_00-LV_opt enabling repair mode Creating a new CRC tree` ...
0
votes
0answers
34 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
27 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
1answer
62 views

BTRFS - Revert to snapshot

I have disk with btrfs file system which is mounted on root directory. $ sudo btrfs subvol show /media/qkiz/Corsair/ /media/qkiz/Corsair is btrfs root On this this root is a snapshot. $ sudo ...
0
votes
1answer
30 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 ...
2
votes
1answer
27 views

What should happen in Btrfs if I unplug a HDD while reading?

I'm quite new to Linux (Debian) and Btrfs. Started to test it on my DIY Nas at home. Setup: - Medium-level hardware with 2 WD RED 3TB disks - Debian (latest stable) - Btrfs-tools (latest stable) - ...
2
votes
0answers
42 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 ...
0
votes
1answer
174 views

BTRFS - how to replace a failed drive

I have a RAID10 BTRFS on /dev/sda4, /dev/sdb4, /dev/sdc4, and /dev/sdd4. The sdd drive failed. I replaced it, and rebuilt the partition table like with sfdisk -d /dev/sda | sfdisk /dev/sdd. I ...
1
vote
0answers
47 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
47 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
69 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 ...
0
votes
0answers
23 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
1answer
110 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 ...
1
vote
0answers
183 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 ...
3
votes
1answer
418 views

Rsync backups on btrfs very slow

My environment is Ubuntu 15.04 with kernel 3.19.0-28-generic and Btrfs v3.17. I have two identical external USB hard disks that I use with my backup script. One of them is formatted with btrfs and ...
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
92 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 ...
2
votes
1answer
116 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 ...
1
vote
1answer
393 views

how to fix bit rot / back up strategy

I'm planning to backup my personal file on a NAS (which will use the btrfs filesystem). It's a cheap nas so unfortunately no ECC ram in it. In my backup strategy the will be other copies of the files ...
1
vote
0answers
24 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.)
0
votes
1answer
95 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 ...
4
votes
0answers
286 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 ...
1
vote
1answer
20 views

Documentation for BTRFS shorthand?

I came across this post where the answerer wrote btrfs sub snap -r fs snapshot among other things, where subvolume and snapshot were substituted for sub and snap. Sure enough, those commands work, ...
1
vote
0answers
210 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
126 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
55 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 ~]# ...
1
vote
1answer
255 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 ...
2
votes
1answer
981 views

expose Btrfs snapshots with samba4 and vfs_shadow2

I'm trying to implement the vfs_shadow2 module with samba 4.2 running on Fedora 22 to get windows explorer feature "previous versions" on clients to work. The shared "folder" is an Btrfs subvolume in ...
0
votes
0answers
24 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
144 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 ...
3
votes
1answer
2k views

GRUB2: /boot as BTRFS subvolume

Aside from /boot, all my partitions (including root, /) are BTRFS subvolumes. I'm switching to BTRFS RAID1, and for the sake of integrity, want to include /boot within the BTRFS partition. Preferably ...
1
vote
0answers
37 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 ...