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

learn more… | top users | synonyms

0
votes
1answer
38 views

Boot from btrfs RAID5/6?

I'm trying to build an Arch Linux system with a btrfs RAID5/6 root. When I install GRUB on one of the volume's disks, it prints a message like this on startup: error: no such device: [my btrfs volume ...
-1
votes
1answer
23 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, ...
0
votes
1answer
70 views

Linux BTRFS - convert to single with failed drive

A small amount of backstory: I have a small media filesystem, on which I store various movies and TV shows that are used for my HTPC setup. This was originally set up, using btrfs, on a 1TB WD ...
1
vote
0answers
86 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 ...
6
votes
3answers
14k views

Swapon failed: Invalid argument on a Linux system with Btrfs filesystem

What's wrong with this sequence of operation, running on a Debian Squeeze system with a Btrfs filesystem? $ dd if=/dev/zero of=swapfile2 bs=1024 count=524288 $ sudo mkswap swapfile2 $ sudo chown root:...
1
vote
1answer
82 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,...
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
31 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/...
4
votes
3answers
951 views

How to copy a btrfs filesystem

How can make a full copy of the contents of a btrfs filesystem? By full copy I mean not only the current data, but also different subvolumes with their snapshots, ideally preserving their CoW ...
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
16 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
34 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 ...
2
votes
1answer
1k 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

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 ...
2
votes
3answers
4k views

How can I use the Btrfs compression option when installing Linux?

I've been trying out the Btrfs with an SSD drive and like the compress option which is set in the fstab. However this only applies to the files created after I have installed the operating system and ...
0
votes
0answers
42 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 ...
6
votes
6answers
15k 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
1answer
77 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 ...
2
votes
1answer
125 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
142 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, ...
2
votes
2answers
135 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 ...
2
votes
3answers
3k 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
58 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
177 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
183 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 ...
1
vote
1answer
282 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
80 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 ...
1
vote
2answers
125 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
28 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
75 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
81 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
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
30 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
528 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 ...
2
votes
1answer
463 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
50 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
4k 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
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
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
0answers
37 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 ...
6
votes
1answer
3k 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
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
28 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
227 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 well,...
0
votes
1answer
231 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 ...
4
votes
3answers
2k 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
211 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
99 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 ...