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

learn more… | top users | synonyms

1
vote
0answers
19 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
29 views

Dynamic/Static striping across BTRFS raid groups

I'm looking to set up a new storage server and would like to use BTRFS to protect against bit rot. Ideally, I would like a setup as a theoretical (btrfs) raid6 (both data and metadata) for every group ...
0
votes
0answers
13 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
20 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
36 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
70 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
84 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
0answers
22 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
63 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
341 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
431 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
149 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?
6
votes
1answer
719 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
33 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
286 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
56 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
63 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
752 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
86 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
172 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
221 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 ...
3
votes
1answer
174 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
346 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
99 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
221 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
131 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
297 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
4k 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
291 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
214 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
183 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
558 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
356 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
115 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
401 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
188 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
143 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
2k 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 ...
7
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 ...
1
vote
1answer
499 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
417 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 ...
3
votes
2answers
2k 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 ...
2
votes
1answer
2k 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
729 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 ...