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
3
votes
1 answer

Directories inside /var are on root partition not /var partition

Few weeks ago I installed Opensuse 13.2. I partitioned the disk so that root '/', /var, /tmp and /home are on different partitions. Today I noticed that although /var is on partition sda8, all directories in /var, such as /var/tmp and…
3
votes
1 answer

Can I mount a read-only btrfs volume across multiple machines?

Is it possible to have a single btrfs mounted volume read-only mounted across multiple machines? Can one of the hosts mount it read/write to provide updates to the others? The reason I'm asking this is I'm wondering if it's sensible to mount…
hookenz
  • 14,472
  • 23
  • 88
  • 143
3
votes
1 answer

btrfs: Looking for experience on btrfs error modes on bad sectors / read errors / medium erros

While running a Hadoop cluster that uses HDFS (so data is already replicated 3x) we experience often issues with ext4 because some bad sectors (the filesystem is unable to read or write to them) causing ext4 to remount the filesystem read-only.. So…
kei1aeh5quahQu4U
  • 445
  • 5
  • 22
3
votes
2 answers

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 "disk" (volume on cloud), and create a Btrfs…
Locke
  • 91
  • 4
  • 7
3
votes
1 answer

Converting BTRFS filesystem to RAID1 fails with "Inappropriate ioctl for device"

I had a ~1.6TB BTRFS volume on a single partition, to which successfully I added another freshly created and formatted partition (on another device) of exact same size with the intent of mirroring them. The size of the volume now appears to be…
3
votes
1 answer

SLES 11 recommended filesystem

We are upgrading some servers from SLES 10 to SLES 11 and I just saw that ext4 is not supported. Should I move to XFS or keep ext3? I will be moving the programs and databases to a new VM so reformatting is not a problem. We are currently using…
Jure1873
  • 3,702
  • 1
  • 22
  • 28
3
votes
1 answer

Solaris support for ext4/ext3/btrfs

Does anyone know if Solaris 11 (Sparc version) supports mounting ext3/ext4 or even better Btrfs volumes ? Most of the topics I find on the web are quite outdated (2006/2007) and reference old versions of Solaris which were pretty unfriendly to Linux…
devlearn
  • 141
  • 1
  • 6
3
votes
1 answer

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 default: @ and @home, and I want to separate also…
Paco
  • 31
  • 3
3
votes
1 answer

Pooled storage with varying redundancy per file system

I have some files that I want stored mirrored. I have some files that I only need single copies (i.e. scratch data, easily regenerated data, etc). And I have some files that are so critical, I want it mirrored in triplicate so I can handle a 2-disk…
David Pfeffer
  • 214
  • 1
  • 11
3
votes
3 answers

How to increase speed of RAID 5 with mdadm + luks + lvm

I think I am kinda lost with my current server setup. It is an HP Proliant dl160 gen 6, and I put 4 spinning disks with a setup that has mdmadm + luks + lvm and on top of it btrfs (maybe I went too far?) and it is really suffering on IO speed it…
Jayson Reis
  • 133
  • 1
  • 5
3
votes
1 answer

how to triage linux disk IO system-wide "hang"

I have a box that is periodically "going out to lunch". Symptoms are anything requiring actual disk IO hang for 30+ seconds, and it appears anything already paged in is unaffected. The problem occurs intermittently, up to a few times an hour),…
3
votes
2 answers

What is the overhead of ZFS RAIDz1/2 in HPC SSD Environment?

Example hardware / host: Modern 64 Core CPU, 128GB Memory 8 x Micron Pro 15.36TB u.2 SSDs SSDs connected by dedicated Oculink per device (no backplane or PCIe sharing) Ubuntu 20.04 Use case: A backup server for hundreds of hosts. Backup is…
epea
  • 406
  • 1
  • 9
  • 19
2
votes
0 answers

BTRFS RAID5 issues with chunk, mount and more

I'm using a RAID5 BTRFS system with three disks on my Ubuntu 18.04.2 server. One of the drives started to give errors and the filesystem remounted as read-only continusly. I tried btrfs scrub but it did not work - the filesystem was remounted as…
Daniel Holm
  • 131
  • 3
2
votes
1 answer

While RAID1 is resyncing after create, can i write files to it immediately?

I searched but i just found this. How to interrupt software raid resync? My question is can i write files to my raid1 device while... [root@centos ~]# cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb[1] sda[0] 3906886464…
ShenLin
  • 33
  • 1
  • 3
2
votes
1 answer

Can not delete btrfs subvolume inside Docker

I have a btrfs partition (mounted on /srv) on my host system with a subvolume (old). I would like to manage it from a docker container (I have launched it with -v /srv:/srv). While I'm perfectly able to create a snapshot of it, I can not list other…
GlinesMome
  • 199
  • 2
  • 11