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

learn more… | top users | synonyms

2
votes
0answers
121 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 ...
3
votes
2answers
1k 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
786 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
309 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?
9
votes
2answers
2k 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
40 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
707 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
103 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
87 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 ...
8
votes
2answers
1k 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
1answer
255 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
334 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
515 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 ...
2
votes
1answer
720 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
186 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 ...
3
votes
2answers
530 views

How to copy a btrfs filesystem

How can make a full copy of the contents of a btrfs filesystem? By full copy I mean not only the current data, but also different subvolumes with their snapshots, ideally preserving their CoW ...
0
votes
1answer
3k 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
136 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
670 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 ...
4
votes
4answers
8k 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
497 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 ...
3
votes
2answers
428 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 ...
4
votes
3answers
6k 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
192 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
1k 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
586 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
1answer
240 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
124 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
489 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
215 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
154 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 ...
6
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 ...
9
votes
3answers
4k 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 ...
12
votes
2answers
4k 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 ...
9
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 ...
1
vote
1answer
618 views

Raw partition vs btrfs for Windows 7 guest?

If my root filesystem is btrfs on an SSD, will my Windows 7 Virtual Machine guest run better if I install it to a raw partition than if I install it to a file on the btrfs partition? Host OS: Ubuntu ...
2
votes
1answer
455 views

Accidently put BtrFS on plain device - how to revert?

On a fresh hard disk, I created a GPT partition table with three partitions: /dev/sdd1 256M for /boot /dev/sdd2 8G for swap /dev/sdd3 ~1T for / Then, I accidently formatted the raw device ...
4
votes
2answers
3k views

Hardware or Software RAID and Filesystem Type?

I'm looking to build a pretty simple RAID-5 or RAID-6 array and I'm looking into my options. The machine will be a 64bit Ubuntu Linux Server and will essentially be used as a backup/file server. I'll ...
3
votes
1answer
1k views

btrfs shrink partition

After shrinking a BTRFS file system using "btrfs filesystem resize /mnt -20g", this space doesn't show up as free for allocation in GParted. It doesn't seem like GParted can resize the btrfs partition ...
4
votes
1answer
834 views

What filesystem should I use for a large amount of disk space in Linux (>32TB)?

I am trying to make a large file system in linux, but have run into problems with many of the common file systems. JFS has a bug that does not allow expansion over 32TB. XFS has a bug in the fsck ...
10
votes
3answers
1k views

How to make a redundant desktop system with daily snapshots? (Is btrfs ready for use?)

I want to configure a desktop system in which the home filesystem would be redundant (e.g. RAID-1), and would have weekly snapshots taken. I've already done this with ZFS, the snapshot system is ...
6
votes
5answers
1k views

Is there a stable Linux distro using btrfs?

I'm a big fan of ZFS on FreeBSD (I've been using it on my home server since before it got stable; bleeding edge, baby!) and I'd like to try out btrfs to see how that's evolving. Since it's still ...
0
votes
3answers
1k views

Is it possible to extend a BTRFS partition from within Windows?

I want to extend my BTRFS partition (and use up some free space on my NTFS) because I have run out of space for my Linux installation. How can I do this from within Windows?
7
votes
3answers
1k views

What advantages of btrfs will a normal user notice?

Most of the information that I can find means nothing to users who haven't studied filesystems. What sort of advantages of btrfs are visible to the average user, without knowledge of how filesystems ...