B-tree file system, next-generation Linux file system

learn more… | top users | synonyms

0
votes
0answers
32 views

ext4 vs btrfs performance on SSD array

I am observing something that I cannot explain. I am trying to come up with a good filesystem configuration using HP P420i controller and SSDs. Out of curiosity I have tried BTRFS (still unstable so I ...
0
votes
2answers
20 views

Is there something analogue to LVM logical volumes in BTRFS?

I like the way BTRFS does snapshots and subvolumes but it does not feel right to use LVM just because I want my logical volume to be of certain size. Is there something analogue to LVM logical ...
0
votes
1answer
9 views

How do I deal with BTRFS raid1 when usb disk device mappings changes?

I created a btrfs raid1 one by using "mkfs.btrfs /dev/sdc1 /dev/sdg1". It worked fine but next time I restarted my pc it seemed like the sdg device became sdf therefor btrfs refused to mount this ...
0
votes
1answer
12 views

btrfs won't run from cron

I'm trying to set up a cron job to create a btrfs subvolume snapshot of my root partition. The command works perfectly if I run it from the command line, but nothing happens at the scheduled cron ...
0
votes
1answer
29 views

How to snapshot a btrfs root file system (snapshot of /)?

I have Fedora 20 and when I installed it I choose to go with btrfs as file system, by many reasons but mainly to have snapshots available. But I can't seem to create a snapshot of /. I can snapshot ...
0
votes
1answer
57 views

How to monitor BTRFS filesystem raid for errors?

I saw some documentation on a daemon that can execute a program/script for various BTRFS events, but I cannot find it anymore. How can I have a script/program be executed on a drive failure for a ...
2
votes
1answer
37 views

partitioning and subvol strategy with btrfs

I'm new to btrfs and I'd like some advice on partitioning and subvolume strategy. The system is a light-duty web server, and assume it only has a single disk. With ext filesystems, I've always ...
0
votes
0answers
17 views

Are re-combined BTRFS incrementals identical to the original?

I have several systems running btrfs, and I'd like to use the btrfs subvolume send/receive features as a backup solution. I want to send daily incrementals to remote as efficiently as possible. That ...
0
votes
0answers
39 views

Is it possible to convert a btrfs RAID5 to a RAID6 with the same disks without losing data?

How would I convert an existing RAID5 (single parity) btrfs setup to a dual parity RAID6 configuration given enough free available disk space, using the same disks, without swapping out data ? ...
1
vote
1answer
51 views

RAID 0 or btrfs on two SSDs?

I have two 500 GB SSD's, and I would like to combine the two in some way to have 1 250 GB NTFS partition, and 1 750 GB btrfs or ext4 partition. As far as I see, I have two options: the Intel Rapid ...
2
votes
2answers
91 views

Is RAID1 or similar needed for btrfs/ZFS to protect against bit rot?

I'm running a file server using Linux software raid, set up as raid6. As filesystem I've chosen btrfs. However, I'm not using btrfs own raid6 implementation as it's not very stable yet. So basically, ...
1
vote
0answers
199 views

How to recover this btrfs error?

I have a btrfs file system that cannot be mounted anymore. I resetted the computer and after boot a Java process crashed, showing a core dump with much btrfs stuff on the stack. After that happened, ...
1
vote
1answer
27 views

Is there a way to show RAID details in a similar way to MDADM?

I find mdadm --detail <device> very useful when I need to know what is going on with the device (/proc/mdadm too). Example: /dev/md0: Version : 1.2 Creation Time : Mon Mar 4 ...
1
vote
0answers
71 views

btrfs does not show drive as missing

I am trying out btrfs and I noticed some funny behaviour: I have two drives in a raid 1 configuration. sudo btrfs fi show Label: none uuid: 52b9c6f6-ce5c-4727-861e-e2fd012e475f Total devices 2 ...
1
vote
1answer
441 views

Reasoning behind hosting virtual disk images on BTRFS Filesystem

I have been reading about BTRFS and ZFS for a while and while I do appreciate the benefits of CoW when hosting important files I am currently puzzled by the following dilemma: Given that both ZFS and ...
0
votes
1answer
499 views

Full BTRFS partition unusable

I have an extremely critical set of circumstances. I installed snapper on my Fedora 20 box. It created around 20 snapshots. My btrfs partition is now full of snapper subvolumes. My partition became ...
2
votes
1answer
158 views

Is Btrfs vulnerable to RAID write hole effect?

If not, does it mean that Btrfs in RAID mode is fully resistant to power failure?
8
votes
1answer
859 views

Can a failed Btrfs drive in RAID-1 be replaced live?

I am trying to decide on a filesystem and would like to know if it is possible to replace a failed drive in btrfs RAID without downtime. Suppose I create a new btrfs filesystem using the command ...
3
votes
1answer
35 views

Hierarchical snapshots strange behaviour

I have divided my drive into two btrfs paritions: one is mounted as / (dev/sda1), second one as /home (/dev/sda2). I made my initial snapshot of /home: mkdir -p /home/snapshots/mnt mount -o ...
2
votes
1answer
344 views

How do I find out the compressed / uncompressed file sizes on btrfs?

I am using btrfs on one of my hard drives. I would like to know the actual file size and the compressed file size on btrfs. I am interested in seeing the compression ratios per file . For example ntfs ...
2
votes
0answers
60 views

Btrfs snapshot space and time overhead

Using btrfs-snapshot-rotation, I've setup a system to rotate snapshots so that it always has snapshots of: Each of the the last 24 hours Each of the last 30 days Each of the last 12 months. This ...
2
votes
0answers
67 views

For raid1, does btrfs check which partitions are on the same device?

I have btrfs on two partitions using btrfs's raid1 mode: /dev/sda3 /dev/sdb3 Now I plan to run btrfs device add /dev/sda2 /dev/sdb2, so I'll have four partitions: /dev/sda2 /dev/sda3 /dev/sdb2 ...
7
votes
1answer
878 views

btrfs: HUGE metadata allocated

I have a 256GB SSD disk on which I converted my ext4 root FS to btrfs. I erased the ext4 backup subvolume, enabled compression and defragmented recursively to enable it on all files. btrfs fi df / ...
0
votes
0answers
91 views

Understanding BTRFS CoW concept

I am experimenting with BTRFS on a home server and very newbish to BTRFS. I have been reviewing btrfs wiki and Wikipedia CoW. Bottom line, I have a 40GB SATA Hard Drive and I am out of space. The free ...
0
votes
1answer
177 views

Does mounting a btrfs subvolume work recursively?

With the following subvolumes on a btrfs filesystem on /dev/sda3: root root/home and the following mount: /dev/sda3 on / Is the /home folder on the root subvolume, or on the root/home subvolume? ...
3
votes
1answer
230 views

Is it currently stable to use, and boot to, a btrfs RAID 0 on SSDs?

As of the current (3.10+) Linux kernels, is it supported to make a btrfs RAID 0 out of SSDs the root mount and boot to it? This comprises several issues: Does the RAID 0 with SSDs support ...
4
votes
1answer
201 views

Can I merge two btrfs without data loss

I have a btrfs device mounted, it is composed of 2 partitions and it is in single mode (the partitions does not have the same size so I can't use raid 0 ). I have another disk formatted in ext4, I ...
1
vote
1answer
382 views

How can I delete a apt-btrfs-snapshot when the error is “Directory not empty?”

There is one snapshot created by apt-btrfs-snapshot that won't delete Delete subvolume '/tmp/foo/@apt-snapshot-2013-04-XX_1X:3X:XX' ERROR: cannot delete ...
1
vote
1answer
109 views

btrfs: one whole device + one partition on another device (no data-mirroring), viable?

Currently, /home claims 880G of a 1TB drive. Photos are eating this up quickly, so I want to add a 1TB drive I have lying around to the computer to expand /home. I figured I could use btrfs (I don't ...
2
votes
2answers
249 views

How to copy a btrfs filesystem

How can one copy the contents of a btrfs filesystem? This would include snapshots, subvolumes, etc. dd is not enough, since it duplicates the UUID, and there isn't a way to easily change it, ...
0
votes
1answer
2k views

Btrfs Undelete File

I would like to undelete a large file I deleted using the rm -r command on the directory it was located in. The file was on a 1TB usb external harddisk. Nothing was written to the disk after the file ...
1
vote
0answers
132 views

Linux kernel 3.9 new storage features howto?

Linux kernel 3.9 has been released, which brings new features for storage cache devices (dm-cache), as well as BTRFS RAID 5/6. These features are undoubtedly sexy, but are all but completely ...
0
votes
1answer
324 views

How do I reinstall/enable snapper?

I had errors in my root filesystem (btrfs) so I recreated it from a backup but now, snapper doesn't work anymore: # /usr/bin/snapper -v -v -v -v create --description test IO Error. # snapper -v ...
3
votes
4answers
5k views

Does rsync --inplace write to the entire file, or just to the parts that need to be updated? (for btrfs+rsync backups)

I was reading several guides how combine btrfs snapshots with rsync to make an efficient backup solution with history. However it all depends on if rsync --inplace modifies only those portions of ...
3
votes
0answers
322 views

Is it safe to resize a BTRFS partition that is part of a multi-device volume?

I have a multi-device BTRFS volume and I would like to re-size one of the partitions. To be more precise: My /home is spread across two separate BTRFS partitions. I shrunk down another partition to ...
1
vote
2answers
229 views

Is it possible to have subvolumes with different replication modes in btrfs?

I am setting up a system with two 3TB hard drives as storage backing. As it's a desktop station, I thougth about the following disk setup: sda + /boot with 500MB + btrfs for the remaining GBytes sdb ...
2
votes
3answers
3k views

Swapon failed: Invalid argument on a Linux system with Btrfs filesystem

What's wrong with this sequence of operation, running on a Debian Squeeze system with a Btrfs filesystem? $ dd if=/dev/zero of=swapfile2 bs=1024 count=524288 $ sudo mkswap swapfile2 $ sudo chown ...
2
votes
1answer
185 views

/home “cleaned” during ubuntu 12.10 installation on btrfs

I had a seperate btrfs partition for my home directory in my old ubuntu instalation. I "upgraded" the installation by installing a clean system on my ext4 partition which got formatted and mounted as ...
2
votes
1answer
629 views

GRUB broken after conversion to btrfs

First off, yes, I did, in fact, suspect that changing my filesystem from ext4 to btrfs would break GRUB and fstab. Now, here's what happened. I converted the filesystem seamlessly to btrfs and that ...
1
vote
1answer
376 views

Linux raid10 on btrfs

I've read that BTRFS requires at least 4 disks (https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices). Indeed, Linux mdadm raid10 requires only 2 disks ...
2
votes
0answers
190 views

Replace Linux Boot-Drive | ext3 to btrfs

I've got a headless server running Debian Linux currently. Linux vault 3.2.0-3-686-pae #1 SMP Mon Jul 23 03:50:34 UTC 2012 i686 GNU/Linux The root filesystem is located on an ext3 partition on the ...
0
votes
0answers
117 views

btrfs made linux kernal panic when i delete subvolume?

My environment is: VMware workstation 8 CentOS 6.3, kernel 2.6.32-279.el6.i686 Btrfs v0.19 Sorry i can't use the images for the panic because my reputation is low. Call Trace ? panic ? oops_end ? ...
2
votes
2answers
2k views

How can I use the Btrfs compression option when installing Linux?

I've been trying out the Btrfs with an SSD drive and like the compress option which is set in the fstab. However this only applies to the files created after I have installed the operating system and ...
3
votes
1answer
416 views

Any drawbacks in using an entire disk (/dev/sda) without partition table for btrfs

The title says it all. Are there drawbacks in using an entire disk (/dev/sda) without any partition table for btrfs? It seems to work, it's quite slow, though that may be because it's running on a ...
1
vote
0answers
191 views

Ubuntu 12.04: Does grub support multidevice boot from btrfs?

I'm using Ubuntu 12.04 LTS (Precise Pangolin) with grub 1.99. I installed on a RAID10 multidevice BTRFS partition. I thought that multidevice support had been included in grub for a while, but on ...
3
votes
1answer
145 views

Is there a way to list supported BTRFS compression algorithms?

Or, perhaps a better question would be - is it possible to list all available Btrfs options on the current system? The only way for a Btrfs user to find this out is to check the kernel version, and go ...
5
votes
5answers
3k views

should I put my multi-device btrfs filesystem on disk partitions or raw devices?

If I'm going to create a multi-device btrfs filesystem. The official recommendation from the documentation apppears to be to create it on raw devices; i.e. /dev/sdb, /dev/sdc, etc, but this is not ...
8
votes
2answers
3k views

How to undelete files on btrfs partition?

How do I undelete (recover) a deleted file on a btrfs partition? I have not taken a snapshot yet, so I can't use that feature. I know there are some tools for other Linux file systems, but google ...
7
votes
2answers
3k views

How to rename a BTRFS subvolume?

I have a BTRFS filesystem with a set of subvolumes in it. So far so good. I need to change the name of a subvolume, unfortunately the btrfs program does not allow me to rename a subvolume. Searching ...
7
votes
2answers
2k views

Btrfs on top of a mdadm raid10, or btrfs raid10 on bare devices?

I have a RAID10 managed by the mdadm and I have EXT4 filesystem on top of it. However, I like BTRFS and would like to convert the EXT4 filesystem to BTRFS, but I was thinking about performance and ...