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

Why doesn't btrfs send | btrfs receive preserve the "no dump" file attribute?

Btrfs supports the "no dump" file attribute and it is preserved when taking snapshots. But after sending such a snapshot to another Btrfs using btrfs send and btrfs receive, all values of the "no dump" attribute are lost. By contrast the "compress…
Dzamo Norton
  • 123
  • 5
2
votes
1 answer

NFS export an overlay of ext4 and btrfs

I have 2 data sources. One is btrfs (raid) and one is a simple ext4 partition. Those should be transparently displayed as one. This is a simple read only example, but the lower/upper/workdir version produces the same problem, with btrfs as upper and…
wuppi
  • 123
  • 1
  • 6
2
votes
1 answer

BTRFS, out of space, but there is plenty of space

I am facing No space left on BTRFS. What I already tried myself: After remount RW: btrfs filesystem resize max /mnt/hdd I ran balance (for weeks ;-) ) with different parameters btrfs balance start /mnt/hdd -dlimit= Nothing did help. What…
2
votes
1 answer

How to reduce size of mounted lvm volume with btrfs file system

My State: $: lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert home myvg -wi-ao---- 100.00g $: btrfs filesystem resize -20g /home $: lvreduce -L-20G /dev/myvg/home WARNING: Reducing active and open…
danba
  • 147
  • 7
2
votes
2 answers

How do I generate a regex to restore a specific folder for "btrfs restore"?

I am trying to recover files after a crash of a btrfs filesystem using: btrfs restore --path-regex 'regex' -sv -D /dev/sdXX /mnt/destination for example, to retrieve all files in /snapshots/@_2018-06-01T23:29:33-04:00.preupgrade/ I tried following…
rick
  • 21
  • 1
  • 2
2
votes
2 answers

Move LXD container to other storage

I have an issue with my current storage.img file (btrfs). I had 2TB data inside a container and so the storage.img got 2TB large. After this I deleted everything, leaving me with 100GB of real data. The problem is now, that the storage.img did not…
Amon Bune
  • 63
  • 1
  • 6
2
votes
1 answer

Possible to see btrfs defrag progress?

If I do btrfs fi defrag -rv /home then I get a long list of files which needs to be defragmented. It seams as if it doesn't actually do anything. Is it possible to see how far in the defrag progess it is?
Jasmine Lognnes
  • 2,520
  • 8
  • 33
  • 51
2
votes
1 answer

Is it possible to partially recover files from a btrfs RAID-0 filesystem with a missing disk?

I've got a bit of a quite terrible situation on my hands and I'm just looking for a bit of insight before calling this a lost cause. To put things into context, I'll just give you my partitioning scheme first. I've got a server with a four-disk…
Tristan
  • 21
  • 2
2
votes
0 answers

btrfs: subvolume/snapshot tree

How do I list all subvolumes / snapshots on a btrfs filesystem in parent / child hierarchy? I want something like the tree command for directories/files, but for parent/child subvolumes with subvolume ID and the location of the snapshot on disk.
Tom Hale
  • 1,105
  • 1
  • 12
  • 24
2
votes
1 answer

Does BTRFS self-healing work only by software RAID?

Afaik. there are 3 types of RAID: hardware - e.g. an expensive PCIE RAID card / or rarely onboard RAID which have a dedicated CPU, probably with write cache and BBU software - e.g. ZFS, MD, BTRFS software RAID fake - e.g. a cheap PCIE RAID card /…
inf3rno
  • 408
  • 2
  • 5
  • 17
2
votes
1 answer

Mount command hanging after attaching EBS volumes on AWS

I'm creating four volumes from four EBS snapshots on AWS. The four volumes make up one BTRFS multi-device drive. The drives have no partition tables, i.e I've ran mkfs.btrfs /dev/xvdf /dev/xvdg etc. When I create the volumes I attach them with the…
Tanner
  • 143
  • 8
2
votes
1 answer

multi-device btrfs with single data mode and disk failure

I had a btrfs partition on a 6 disk array without raid (metadata in raid10, but data in single), and one of the disks just died. So I lost some of my data, ok, I knew that. But two question : Is it possible to know (using metadata I suppose) what…
pums974
  • 31
  • 4
2
votes
2 answers

Can HDFS be installed on ZFS or BTRFS hard disks?

I am new to hadoop and confused about how HDFS works with ZFS or BTRFS. Can physical drives be mounted using ZFS and then have HDFS installed on top of ZFS? Or can HDFS be installed directly?
Greg
  • 1,657
  • 5
  • 27
  • 38
2
votes
1 answer

Fresh CentOS 7.2 VM hangs before asking for drive password after initial yum update and subsequent crash

Sequence of events: Start install CentOs 7.2 using Everything ISO in Vmware vSphere 5.5 Choose Server with Gui, manual partitioning, encrypted sdd contains /home, /data Initial boot is great, fast, works; requests partition password, login with…
tacos_tacos_tacos
  • 3,250
  • 18
  • 63
  • 100
2
votes
1 answer

BTRFS: no space left, errno=-28

We are using BTRFS filesystem, informations with df -h: Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_brick4-lv_brick4 22T 7.3T 15T 34% /NFS/SHARE there are lot of space available, but still we had error…
Martin
  • 23
  • 3