Questions tagged [btrfs]

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 ZFS.

Btrfs tag should be used with all questions referring to usage of features specific to this filesystem:

  • defragmentation
  • resizing and addition and removal of block devices
  • it's RAID implementation
  • snapshot creation and usage

Also see:
for a similar copy-on-write filesystem.
http://btrfs.wiki.kernel.org for detailed information about the filesystem

232 questions
2
votes
1 answer

BTRFS remove directory from snapshot

There is the: btrfs subvolume delete command for deleting snapshots, but is there any solution if you need to delete a single directory from 60 snapshots? Not possible with rm -rf it will say Read-only file system. Thanks
defiler
  • 171
  • 2
  • 5
2
votes
2 answers

Copying between lzo compressed BtrFS's: de/re-compressing?

I'm copying a large number of files between two lzo compressed BtrFS filesystems on different drives mounted on the same machine. It appears that the files are being de/re-compressed. Is there a way avoid this?
Diagon
  • 246
  • 1
  • 11
2
votes
0 answers

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 noticed I can't write to it: [root@X hdd]# dd…
KaP
  • 123
  • 6
2
votes
0 answers

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 the conclusion that I need something that uses…
piotrek
  • 127
  • 1
  • 3
2
votes
1 answer

BTRFS new device cannot be added

I have a raid10 setup with btrfs with 5 disk currently: Total devices 5 FS bytes used 6.89TiB devid 1 size 3.64TiB used 2.83TiB path /dev/sde devid 2 size 3.64TiB used 2.83TiB path /dev/sdd devid 3 size 3.64TiB used 2.83TiB path…
Tesla43
  • 31
  • 1
2
votes
2 answers

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 question is whether it needs any special considerations…
packoman
  • 175
  • 1
  • 2
  • 8
2
votes
1 answer

Using grml with btrfs

I'm trying to boot an ISO using grml and grub on a BTRFS root. However, after selecting the boot option from the menu grub (or some subsequent loader) fails to find the iso /@/boot/grml/ubuntu-14.10-desktop-amd64.iso : Below is the entry from my…
user1295450
  • 51
  • 1
  • 5
2
votes
1 answer

Mounting compressed filesystem using FUSE

I'd like to move some folders on my computer to a compressed read/write images, so I could get it to take less disk space on my machine (the folders contain some Mercurial and Git repositories). Because I am not using these repositories daily, I'd…
Tomer Cohen
  • 121
  • 1
  • 4
2
votes
1 answer

Multi-Volume data storage without striping

I have a network storage server running Debian, containing multiple hard drives. These drives are all mounted into subdirectories of a samba-shared folder. All members of the network have full read and write access. The problem in this setup is the…
Finwood
  • 131
  • 3
2
votes
0 answers

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 kernel. btrfs-tools This package is not available…
artfulrobot
  • 2,949
  • 13
  • 36
  • 60
2
votes
1 answer

What kind of "volume/storage management" has the largest support/feature set these days?

(DISCLAIMER: This is "time bound" as probably every other question, I just point it out now instead of implicating it) part of reviewing a few basic decisions for our infrastructure is once again the topic of volume/storage management. I'm mainly…
serverhorror
  • 6,478
  • 2
  • 25
  • 42
2
votes
2 answers

ZFS/Btrfs/LVM2-like storage with advanced features on Linux?

I have 3 identical internal 7200 RPM SATA hard disk drives on a Linux machine. I'm looking for a storage set-up that will give me all of this: Different data sets (filesystems or subtrees) can have different RAID levels so I can choose performance,…
Easter Sunshine
  • 256
  • 1
  • 5
  • 11
2
votes
1 answer

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:sec, less is faster): XFS: 3:12 btrfs: 2:45 ext3: …
ujifgc
  • 186
  • 1
  • 10
2
votes
0 answers

how to migrate docker to use a different storage driver?

I have a server running docker with btrfs storage driver. How can I migrate it to use a different storage driver? I would like to use overlay2. I've tried to migrate using the instructions here: stop docker rename /var/lib/docker to…
2
votes
1 answer

btrfs check shows checksum verify failed even after scrub

Running btrfs check shows several errors like this (13 in total): checksum verify failed on 369098752 wanted 0x0000000000000000000000000000000000000000000000000000000000000000 found…
13xforever
  • 161
  • 5