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

218 questions
0
votes
1 answer

Grub2 w/ RAID5 and btrfs "error: unknown filesystem"

I have a Virtual Machine (in ESXi 5.1) running Ubuntu Server 12.04. When I try to boot my system I grub2 tells me "error: unknown filesystem". I've tried booting a Live CD then reinstalling grub from both a chrooted environment and by supplying the…
jbo5112
  • 101
  • 4
0
votes
1 answer

btrfs balance kernel bug?

After getting a little annoyed with no space left errors when deleting files I started a btrfs balance process and 2-3 times the following appeared. Is this serious for my data or can I just ignore it because there is a security measure that handles…
kschurig
  • 152
  • 3
0
votes
1 answer

Different options on btrfs subvolumes

I'm using kernel 3.0 and was wondering if btrfs supports / is planning to support different options on different subvolumes. For example I'd like to turn compression on for /usr, /lib, ..., but not for the faster changing directories like /home and…
viraptor
  • 1,264
  • 6
  • 21
  • 40
0
votes
1 answer

Appropriate Linux (ubuntu 10.04) FS type for rapid FS management many small files and directories

Possible Duplicate: Linux's best filesystem to work with 10000's of files without overloading the system I/O I have an 240gb image store of approximately 1.5 million entries. About half of these entries are image files (4 to 100kb) and the other…
Michael Pearson
  • 145
  • 3
  • 8
0
votes
3 answers

btrfs vs. ZFS on a Ubuntu file server

I have a server which is running Ubuntu (Server Edition), and its main job is serving files through FTP (vsftpd) and AFP (netatalk). My /srv directory is starting to fill up, and I need to add more hard drives. Because its technology is outdated for…
Kudu
  • 247
  • 2
  • 4
  • 8
0
votes
0 answers

Restore disk with btrfs

I need an assistance with restoring HDD where was BTRFS after I tried to install Windows on SSD within the same PC. So, my PC has 3 disks: SSD with Fedora under BTRFS - /dev/sda{x} SSD without any FS - /dev/sdb HDD as a file storage under BTRFS -…
0
votes
0 answers

How do I mount a BTRFS filesystem where both devices have the CHANGING_FSID flag and one devices has journal errors?

I have a RAID-1 BTRFS setup with two 8 TB hard drives. Due to unclean reboots, I cannot mount them anymore, even with recovery flags: rockpro64:~:# mount -t btrfs -o rootflags=recovery,nospace_cache /dev/sda…
lenny.myr
  • 101
  • 1
0
votes
1 answer

Do BTRFS self-healing mechanisms apply when a folder of the host with BTRFS enabled storage is remotely mounted by a different host?

the file system BTRFS comes with some useful features regarding data consistency/error detection and correction (let's call them self healing mechanisms). Given the following situation, will these mechanisms apply? Server with BTRFS storage <-->…
stev-e
  • 101
  • 1
0
votes
0 answers

List only writable subvolumes on a btrfs filesystem

Is there any way to list just writable subvolumes in a btrfs filesystem like the way we can list just read-only subvolumes using -r flag in btrfs subvolume list [path] (which gives all subvolumes regardless of being read-only or writable)? I know…
abexamir
  • 3
  • 2
0
votes
0 answers

Remove degraded flag on BTRFS array mount

I have a BTRFS array of 4 drives. One failed recently, so I bought a new one and replaced it. I mounted as degraded, then replaced the disk. Once it was done, the array has been healthy: # btrfs fi show Label: none uuid:…
Benoit Duffez
  • 143
  • 2
  • 11
0
votes
0 answers

Restore docker btrfs subvolumes from another drive

I use OpenSUSE Tumbleweed with btrfs as root fs. I decided to free up space on root and move docker root directory to my home (XFS filesystem). Problem was, after moving and made symbolic link to /var/lib/docker, docker refuse to start. After change…
nintyfan
  • 101
  • 1
0
votes
0 answers

Can I replace a disk in btrfs raid1 without a reboot?

I am trying to understand how btrfs raid1 mode behaves when you take out one disk and put it back (odroid hc4 is an example device) Here is what I have before the test: Label: none uuid: f85fb0ab-e643-4266-9f61-0f6e4980b871 Total devices 2 FS…
0
votes
1 answer

Convert Ext4 partition to an exsisting Btrfs volume

I recently installed Fedora on my laptop and I have my old /home ext4 partition (/dev/sdb2). I would like to convert then merge this partition with the btrfs filesystem. Here is my current setup : $: btrfs filesystem show Label: 'fedora' uuid:…
Gwendal
  • 3
  • 1
0
votes
0 answers

What capabilities do you lose when turning off COW on a qcow2 file?

I run a small internal cloud utilizing 3 redundant, live migration capable Ubuntu/Qemu/KVM hosts with ~30 mixed OS VMs. The Pool volumes are BTRFS and before any of you give me crap about it: this is small shop, utility is more important than…
Frobozz
  • 163
  • 8
0
votes
1 answer

How to resize unmountable BTRFS filesystem

I have a disk with LVM with two logical volumes media and root. The former is almost empty the latter is almost full, so I wanted to resize both. The logical volume media is dm-crypt + BtrFS. In order to resize the filesystem, the LUKS container and…