btrfs is a B-tree based, copy-on-write filesystem for Linux. It's main features include snapshots, checksumming of data and filesystem level RAID support. It's similar to [tag:ZFS].

learn more… | top users | synonyms

3
votes
2answers
378 views

Removing files takes too long

Short version: rm -rf mydir, with mydir (recursively) containing 2.5 million files, takes about 12 hours on a mostly idle machine. More information: Most of the files being deleted are hard links to ...
2
votes
2answers
219 views

ext. 2-bay USB-Drive with RAID: btrfs RAID vs built-in RAID

For backups I want to use an external USB3 Drive: two HDD with RAID 1 (mirror) in one 2-bay enclosure. As filesystem I'll use btrfs because of subvolumes and checksums. Performance isn't important, ...
1
vote
2answers
2k views

NFS on Btrfs on multi-devices .vs. Glusterfs on distributed-volume?

I considering a storage for Email. This storage system run on my own private cloud (already replicated), then i does not care about replication. I'm thinking about 2 options: 1- I will create few "...
2
votes
1answer
671 views

BTRFS, sector alignment and Advance Format Disks

I want to set up a BTRFS RAID1 setup with two WD Red 4TB disks, which possess 4K sectors. Since I am keen to get it right the first time before copying data to it (yes it will be backed up), my ...
2
votes
1answer
888 views

Debian package performance on XFS, btrfs, ext3, ext4

I did 4 clean installations of debian 6 and measured time of installing some average virtual package. FS options are default. time apt-get install build-essential I got very strange results (min:...
1
vote
1answer
111 views

BTRFS raid with odd number of devices

I used to have RAID10 btrfs setup with 4 disks. Now I added sdf a new disk (its doing the balancing): Total devices 5 FS bytes used 5.73TiB devid 1 size 3.64TiB used 2.78TiB path /dev/sdd devid ...
0
votes
1answer
17 views

Add menu entry in grub2 for os on btrfs partition

How can I add a menu entry in grub 2 for an os on a btrfs partition? Currently update-grub does not detect an os on a btrfs partition.
0
votes
1answer
15 views

BTRFS remove directory from snapshot

There is the: btrfs subvolume delete <subvolume> command for deleting snapshots, but is there any solution if you need to delete a single directory from 60 snapshots? Not possible with rm -...
0
votes
1answer
136 views

Multiple btrfs volumes with different RAID levels on the same devices

I have two disks - one xGB and one (2x)GB. I would like to have one mountpoint from these disks under raid0 and one under raid1, spread over the total available space. Is that possible with btrfs ...
0
votes
1answer
390 views

How do I use 2 disks for CoreOS?

I've got a bare metal server with 2x 480gb SSD disks. I will run a CI server with docker on CoreOS. Do I have to add another small disk to hold CoreOS and mount the 2x SSDs as /var/lib/docker?
4
votes
0answers
51 views

Can Btrfs use SSD for metadata and leave bulk data on HDD?

is it possible for Btrfs to use SSD for metadata only & leave bulk data on less costly storage such as HDD? I refered to this page Using_Btrfs_with_Multiple_Devices and can not find a solution. ...
2
votes
0answers
34 views

btrfs increase raid capacity by replacing disks (and not adding disks!)

I'm very excited about the new features of btrfs and would like to start tesing it. Before I get started, I would like to ask if btrfs supports increasing raid capacity by replacing disks by bigger ...
2
votes
0answers
112 views

btrfs write operations hang when appending to files

When writing sequentially to files on my large-ish (70 TiB) btrfs filesystem, I am noticing that something is causing prolonged write blocks (seconds to several minutes). This is inconvenient at best ...
2
votes
0answers
75 views

Remove a file from a btrfs snapshot and still use btrfs send/receive?

I'm planing to use btrfs send/receive to synchronize two filesystems and keep a few older snapshots (like a time machine) on the backup. Now what happens if a user ask me to remove a file or ...
2
votes
0answers
1k views

Preparing to use BTRFS in Debian 7 Wheezy

Kernel According to the BTRFS wiki support is green-lit for the 3.12 kernel, and neutral for the Wheezy kernel. I have installed the 3.12 kernel from wheezy-backports, so that I'm using a recommended ...
1
vote
0answers
174 views

LXC Snapshotting on Ubuntu 15 and BTRFS file backend

i have a dedicated server with Ubuntu 15 Wily and i want to play/study with LXC. My main goal is to snapshot and clone containers without stopping them, and for so i have formatted a partition with ...
1
vote
0answers
104 views

Why is ReFS not appropriate for Work Folders

I'm looking to setup a NAS for a small team. Two main requirements are using it as an archive and a folder syncing. Because I want to make sure that the archive is not prone to bit rot, I've came to ...
1
vote
0answers
112 views

btrfs send from a 3tb drive ti btrfs-receive on a 1tb drive

I have question about the nature of a subvolume Snapshot sent and received. I have 2 3tb raid1 drives with only about 300gbs on them. I have a spare 1tb drive I placed in an enclosure for backups. ...
1
vote
0answers
130 views

Snapshot of BTRFS Device on top of luks Volume

I have the following problem: I can't figure out, how to create a snapshot of a btrfs volume residing on a crypted disk. This is the setup: /dev/sdb is a 1TB USB 3 disk. it has a partition /dev/...
1
vote
0answers
110 views

Multiple groups of RAID devices in btrfs

In btrfs, is it possible to have multiple groups of devices, and each group is in different btrfs RAID? For example, 2 devices in raid0 and 4 in raid1?
1
vote
0answers
437 views

Install Ubuntu with BTRFS and more subvolumes

I want to install an Ubuntu Server 11.10 with a BTRFS filesystem (in a RAID1 way). The problem is that I can't see the option in the installer to make more subvolumes. The installer creates two by ...
0
votes
0answers
50 views

btrfs will not delete device although there is enough unallocated space

I have a btrfs filesystem set up with 2 partitions - each 2,7 TB. Btrfs version is 4.4 btrfs version --> btrfs-progs v4.4 on Ubuntu 16.04 This is the current status and the result of a previous ...
0
votes
0answers
15 views

Fixing smartd errors on btrfs raid 10

I had some errors during smartd test May 5 10:08:05 c3po smartd[856]: Device: /dev/sdb [SAT], 236 Currently unreadable (pending) sectors May 5 10:08:05 c3po smartd[856]: Device: /dev/sdb [...
0
votes
0answers
49 views

Merge btrfs subvolumes of lxc container

Problem: I've made some snapshots of an lxc container in the past. When I tried to make one earlier using the command lxc-snapshot -n base -c commentfile it echo'd Container is not defined. I ran that ...
0
votes
0answers
97 views

Btrfs multiple devices with dm-cache

Unlike md-raid, when you create a btrfs file system with multiple devices, there is no special block device exposed (ex. /dev/md0). With the lack of built in cache support (ex. L2ARC), can one set up ...
0
votes
0answers
119 views

Can't mount BTRFS with write permissions. Btrfs check crashes (Core dumped)

I was using btrfs filesystem for some time on one of my external drives mainly to test deduplication and everything was working just fine. Unfortunately yesterday when I mounted the partition I ...
0
votes
0answers
121 views

I'm unable to mount a btrfs partition

I had a raid 5 array of 3 disks using btrfs (raid provided by btrfs) one of the disks was damaged and I replaced the disk via: btrfs device add /dev/sdc /media/raid/ btrfs device delete missing /...
0
votes
0answers
89 views

Cannot remove stale file on btrfs

I have a btrfs filesystem which in one directory has the following entry: -????????? ? ? ? ? ? 1448367601.M899489P12992.mst19,S=8958,W=9072:2,S I cannot remove this file, every operation ...
0
votes
0answers
27 views

btrfs - how list/find snapshots by age

I've been using a simple shell script to manage my snapshots and I'm happy with it -- so please don't suggest that I start using snapper or something else -- but I'm now looking to increase the ...