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

learn more… | top users | synonyms

0
votes
0answers
13 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 ...
1
vote
1answer
197 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
1answer
25 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
0answers
28 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
1answer
38 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 ...
0
votes
0answers
36 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
58 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
15 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 ...
4
votes
7answers
12k views

Does rsync --inplace write to the entire file, or just to the parts that need to be updated? (for btrfs+rsync backups)

I was reading several guides how combine btrfs snapshots with rsync to make an efficient backup solution with history. However it all depends on if rsync --inplace modifies only those portions of ...
0
votes
0answers
43 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 ...
1
vote
1answer
22 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
4 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
20 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 ...
2
votes
2answers
469 views

Btrfs raid level for large NAS (8+ 5tb disks)

I'm planning to build a new NAS to store a large amount of media (20tb+). I would like to use btrfs for both the NAS and the backup (might be a separate system, not sure yet) I want to use raid1 or ...
1
vote
1answer
343 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
0answers
26 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 ...
1
vote
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 ...
1
vote
3answers
2k views

How to monitor BTRFS filesystem raid for errors?

I saw some documentation on a daemon that can execute a program/script for various BTRFS events, but I cannot find it anymore. How can I have a script/program be executed on a drive failure for a ...
0
votes
1answer
1k views

Full BTRFS partition unusable

I have an extremely critical set of circumstances. I installed snapper on my Fedora 20 box. It created around 20 snapshots. My btrfs partition is now full of snapper subvolumes. My partition became ...
0
votes
0answers
17 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
15 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 ...
1
vote
0answers
26 views

Is Btrfs the right choice for my home server [closed]

I'm trying to understand if btrfs is a good choice for my home server. My server is a low power AMD PC with 2 sata ports, so no raid for now, maybe I will add some sata in the future. My home server ...
5
votes
2answers
1k views

How does btrfs scrub work and what does it do?

What exactly does btrfs scrub do? According to the manual page, which is totally unclear, it does some error checking. What kind of error checking? How reliable is it? Is it able to recover some ...
0
votes
1answer
25 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
18 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) - ...
1
vote
1answer
193 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 ...
0
votes
1answer
61 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 ...
3
votes
3answers
1k 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 ...
3
votes
1answer
185 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 ...
1
vote
0answers
68 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 ...
3
votes
1answer
2k views

Btrfs: RAID 1 on 3+ devices

I currently have a Btrfs partition with four devices: three 3 TB drives and a 4 TB drive. Data and metadata are RAID 10, so I have 6 TB of usable space, which is almost full. I'd anticipated that RAID ...
10
votes
3answers
1k views

How to make a redundant desktop system with daily snapshots? (Is btrfs ready for use?)

I want to configure a desktop system in which the home filesystem would be redundant (e.g. RAID-1), and would have weekly snapshots taken. I've already done this with ZFS, the snapshot system is ...
4
votes
3answers
589 views

Is RAID1 or similar needed for btrfs/ZFS to protect against bit rot?

I'm running a file server using Linux software raid, set up as raid6. As filesystem I've chosen btrfs. However, I'm not using btrfs own raid6 implementation as it's not very stable yet. So basically, ...
1
vote
2answers
54 views

How come system snapshots are so small in size?

So let’s say a have a file called bob with the size of 10GB in /home. I make a snapshot of /home and delete the original bob file. However I can still access the bob file because I have a snapshot it. ...
1
vote
0answers
36 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 ...
0
votes
1answer
84 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 ...
1
vote
0answers
35 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 ...
2
votes
1answer
5k views

Btrfs Undelete File

I would like to undelete a large file I deleted using the rm -r command on the directory it was located in. The file was on a 1TB usb external harddisk. Nothing was written to the disk after the file ...
11
votes
2answers
4k views

Can a failed Btrfs drive in RAID-1 be replaced live?

I am trying to decide on a filesystem and would like to know if it is possible to replace a failed drive in btrfs RAID without downtime. Suppose I create a new btrfs filesystem using the command ...
0
votes
2answers
1k views

btrfs convert from raid1 to raid5

Is it possible to easily convert a btrfs raid1 to a raid5. I mean at the end of the day. Its really just two mirrored drives. So I would think this should be easy to do. I want to now have 3 3TB ...
3
votes
2answers
474 views

Is Btrfs vulnerable to RAID write hole effect?

If not, does it mean that Btrfs in RAID mode is fully resistant to power failure?
1
vote
0answers
47 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
20 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
90 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
123 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
236 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
42 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 ...
4
votes
0answers
169 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
0answers
53 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
257 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 ...