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 [tag:ZFS].

learn more… | top users | synonyms

0
votes
0answers
8 views

Remove a file from a btrfs snapshot and still use btrfs send/receive?

I'm planing to use btrfs send/receive to synchronize two filesystems and keep a few older snapshots (like a time machine) on the backup. Now what happens if a user ask me to remove a file or ...
-2
votes
0answers
23 views

BTRFS inside vmware

I'm about to implement some virtual machines where I need the capability of filesystem snapshots (inside). I wonder if anyone has good/bad experience with using BTRFS inside vmware guests. The ...
2
votes
0answers
22 views

BTRFS and Luks integration

I would like to build a RAID1/BTRFS/Luks setup. What I found about it so far is: An encrypted Btrfs file system can be created on top of the dm_crypt disk encryption subsystem and Linux Unified Key ...
6
votes
1answer
51 views

BTRFS: deleting a volume

A week ago, I created a BTRFS pool using two flash drives (32GB each) with this command: /sbin/mkfs.btrfs -d single /dev/sda /dev/sdb. Then I realized that I should have used the partitions /dev/sda1 ...
1
vote
0answers
72 views

How do I get the size of a btrfs subvolume (compressed vs. uncompressed)

Is there a command to get the on-disk size of a btrfs subvolume? The file system was mounted with -o compressed and the subvolume contains a lot of files that should compress rather well. I could use ...
2
votes
1answer
219 views

Btrfs vs ext4 — Where's the safety break-even point?

Btrfs is still in heavy development and still considered "unstable" by Chris Mason, and many important features are still being added, but the dire warnings of data loss are calamity are long since ...
2
votes
1answer
92 views

Redundancy level on a per file basis with BTRFS?

I would like to have one storage pool with multiple disks. Raid5 for metadata of course. But for user-data I would like to set the level of redundancy on a per file or per subvolume level. Can BTRFS ...
3
votes
2answers
169 views

LVM snapshot of btrfs volume changes mounted device

I have a btrf volume on top of LVM. Now I want to do a snapshot on the lvm level (NOT on the btrfs level). But every time I create the LVM snapshot, btrfs changes the mounted block device to the ...
14
votes
8answers
2k views

Do snapshots + RAID count as a good on-site backup solution?

The two main reasons I can think of for taking backups seems to be taken care of when I use both snapshots and RAID together with btrfs. (By RAID here, I mean RAID1 or 10) Accidental deletion of ...
0
votes
2answers
197 views

LXC container starts with readonly root filesystem

I am running LXC on Debain Wheezy using BTRFS, and have created a container using lxc-create using the "debian" template (yesterday). When starting the container, the root filesystem in the container ...
0
votes
1answer
173 views

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) ...
1
vote
0answers
410 views

Preparing to use BTRFS in Debian 7 Wheezy

Kernel According to the BTRFS wiki support is green-lit for the 3.12 kernel, and neutral for the Wheezy kernel. I have installed the 3.12 kernel from wheezy-backports, so that I'm using a recommended ...
0
votes
1answer
31 views

debian stable raid autogrow filesystem database

I need to setup a debian stable system meeting the following needs: Hard disks should be mirroring : Raid 1 Filesystem(s) should autogrow if possible (just in case we replace one hdd with a bigger ...
5
votes
1answer
110 views

What are my prospects of recovering old version of file on BTRFS

I've accidentally overwritten an important file on BTRFS. Knowing that this filesystem is COW, it should be in theory be possible to recover an old version of the file. Unfortunately googling didn't ...
2
votes
1answer
156 views

XenServer Linux guest booting off iSCSI SAN (ZFS storage): Will a non-checksumming guest file system still be at risk?

We are storing files on FreeNAS 9.2 using ZFS. I love the data integrity claims made by ZFS, having randomly lost data in the past on servers using ext3, XFS, and ReiserFS that were not mistreated ...
0
votes
2answers
253 views

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 ...
1
vote
1answer
49 views

Can I mount a BTRFS snapshot of a live filesystem?

I wonder if it is possible to mount one or more snapshots of the same BTRFS filesystem for analytical purposes.
2
votes
1answer
172 views

What kind of “volume/storage management” has the largest support/feature set these days? [closed]

(DISCLAIMER: This is "time bound" as probably every other question, I just point it out now instead of implicating it) part of reviewing a few basic decisions for our infrastructure is once again the ...
0
votes
2answers
141 views

RAID / FS choice for 12 hard drive machine?

I'm going to purchase a 14 bay HP 2U server with ECC memory and bunch of 3TB enterprise SATA drives. I would prefer to make 2 x RAID6 with 6 drive each. This will be used for local office storage and ...
2
votes
2answers
430 views

Can I run a KVM guest with a btrfs subvolume as file system?

I want to run a virtualized Debian stable KVM guest on a Debian stable host (to run untrusted stuff like Skype, Flash or eclipse with third-party plugins). Naturally host and guest will have many ...
3
votes
4answers
1k views

Does btrfs balance also defragment files?

When I run btrfs filesystem balance, does this implicitly defragment files? I could imagine that balance simply reallocates each file extent separately, preserving the existing fragmentation. There ...
0
votes
1answer
267 views

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 ...
2
votes
3answers
76 views

How to forbid non-UTF-8 filenames?

Is it possible to enforce, at filesystem level, that all created file entries will have valid UTF-8 names? I am using Btrfs.
3
votes
1answer
963 views

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 ...
-1
votes
1answer
146 views

btrfs balance kernel bug? [closed]

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

“rm: can not remove xxx: No Space left on device” on BTRFS

Running OpenSuse 12.2. Suddenly the root parition seems to be full (99%) but I can no longer remove files manually. "rm: can not remove xxx: No Space left on device" although 450mb are still free ...
2
votes
1answer
156 views

How can I remove a drive from a BTRFS RAID 1 setup to make it just a single (BTRFS) drive?

I'm using Ubuntu 10.04 and have the /home directory setup as a BTRFS RAID 1 with two 2TB drives. I'd like to make the /home directory just a single drive; how do I safely go about doing this?
2
votes
1answer
168 views

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 ...
1
vote
2answers
904 views

ZFS/Btrfs/LVM2-like storage with advanced features on Linux? [closed]

I have 3 identical internal 7200 RPM SATA hard disk drives on a Linux machine. I'm looking for a storage set-up that will give me all of this: Different data sets (filesystems or subtrees) can have ...
1
vote
0answers
84 views

Multiple groups of RAID devices in btrfs

In btrfs, is it possible to have multiple groups of devices, and each group is in different btrfs RAID? For example, 2 devices in raid0 and 4 in raid1?
0
votes
1answer
808 views

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 ...
16
votes
6answers
2k views

Which filesystem for large LVM of disks (8 TB)?

I have a Linux server with many 2 TB disks, all currently in a LVM resulting in about 10 TB of space. I use all this space on an ext4 partition, and currently have about 8,8 TB of data. Problem is, I ...
12
votes
2answers
871 views

Does btrfs have an efficient way to compare snapshots?

While diffing mounted snapshots would work, it sounds like it could be horribly slow in many cases. Is there btrfs specific functionality for diffing snapshots? (I was unable to find any in the docs) ...
1
vote
0answers
526 views

Debian package performance on XFS, btrfs, ext3, ext4

I did 4 clean installations of debian 6 and measured time of installing some average virtual package. FS options are default. time apt-get install build-essential I got very strange results ...
2
votes
2answers
2k views

Linux-on-Linux KVM: Which filesystem should i use for guest and host?

I'm in the process on playing around with kvm and setting up a linux on a linux-server, so i can reboot the (guest)server encrypt the rootFS of the guest without having to do initramfs-tricks to get ...
2
votes
1answer
765 views

How to create btrfs RAID-1 filesystem (assertion error in mkfs.btrfs)?

I tried to make a btrfs RAID-1 filesystem in "degraded mode" by following the btrfs UseCases instructions but hit a fatal assertion error. Why is this failing, and is there any workaround? The ...
1
vote
6answers
1k views

Safe filesystem for Email homedir storage? XFS? JFS? Btrfs? Reiser4?

i'm building an email system and considering some filesystem that support online-resize, safe when power-outage, and does not restrict number of files per directory(or at least can hold some millions ...
12
votes
4answers
3k views

btrfs-enabled backup solution

With btrfs hitting production in Oracle EL 14th this month (together with working fsck and scrubbing from Linux 3.2) I was thinking of redesigning my current backup solution to utilise it. Note that ...
1
vote
0answers
333 views

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 ...
0
votes
1answer
165 views

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 ...
20
votes
6answers
8k views

Verify TRIM support with BtrFS on SSD

We are looking into using BtrFS on an array of SSD disks and I have been asked to verify that BtrFS does in fact perform TRIM operations upon deleting a file. So far I have been unable to verify that ...
5
votes
3answers
690 views

Which filesystems offer snapshot functionality for users to recover data?

I'm working on a project that will teach linux to youth. Knowing they will have a tendency to delete or corrupt items in their home directories we are looking for a good snapshot option. We will not ...
0
votes
1answer
266 views

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

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 ...
21
votes
4answers
3k views

LVM snapshots vs. file system snapshots

As far as I know, LVM makes it possible to take snapshots of a volume. There are also a number of file systems (ZFS, Btrfs, reiserfs, ...) which supports snapshots. However, I've never understood the ...
3
votes
3answers
920 views

What is the fastest way to remove thousands of files on a btrfs filesystem?

Currently I have a btrfs mount point with a structure like this:# /mountpoint/month/day/hourAs24/ and each leaf directory contains between 5,000 to 20,000 small files. There I keep the files for ...
10
votes
5answers
3k views

Is btrfs production ready?

I've seen a lot of information on btrfs lately. I have been considering ext4 for my next filesystem, but am tempted by btrfs instead. How widely used is btrfs? What are the pro's and con's?
1
vote
3answers
1k views

btrfs: can i create a btrfs file system with data as jbod and metadata mirrored

I am trying to build a server that will be my NAS/Media server as well a the XBMC front end. I am planning on using Ubuntu with btrfs for the NAS part of it. The current setup consists of 1TB hdd ...
0
votes
3answers
4k views

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 ...
5
votes
2answers
828 views

BTrFS crashhhh?

I create a new BTrFS raid10 file system using two 250GB drives and the second partition on a third 80GB drive. I create a subvol and snapshot. I mount the snapshot and start copying 8GB of data to it. ...
1
vote
2answers
884 views

How do I improve my incremental-backup performance?

I'm currently using the traditional rsync+cp -al method to create incremental/snapshot backups of our server tree. The backups are going onto a pair of eight-disk towers connected to the backup ...