A copy-on-write (COW) file system developed by Oracle included in the Linux kernel.

learn more… | top users | synonyms

2
votes
1answer
17 views

btrfs ERROR: error during balancing - No space left on device

My Kubuntu 12.04 system ran out of space on on the root partition and will not boot. The command df -h shows a lot of space available (with only 37% used): /dev/sda2 45G 17G 29G 37% ...
2
votes
1answer
24 views

How to free up space on non-responsive full btrfs system?

I copied files to a btrfs raid-1, which turned out not to fit. When the drives became full, they also became unresponsive. ls [directory], never finishes. I tried rm ...
3
votes
1answer
2k views

Clear unused space with zeros (btrfs)

How to clear unused space with zeros ? (I am asking for tool for btrfs filesystem) I'm looking for something smarter than cat /dev/zero > /mnt/X/big_zero ; sync; rm /mnt/X/big_zero Like ...
2
votes
1answer
420 views

Access files from BTRFS image on similar filesystem

Backgroud: Running XBian (Debian ARM distribution for Raspberry Pi), which uses BTRFS. I fragged my system and decided to start over. However, I ripped the image from the root filesystem device before ...
2
votes
0answers
17 views

BTRFS - Raid incomplete after balancing

I have two 3TB drive that are formated as btrfs and mounted on /media/andy/btrfs as one drive. I run btrfs balance start -dconvert=raid1 -mconvert=raid1 /media/andy/btrfs/ which takes forever. It ...
9
votes
4answers
1k views

Why is cp --reflink=auto not the default behaviour?

Why is cp --reflink=auto not the default behaviour? Could it cause any harm to enable it? Is it possible to enable it at compile time, so it is used all across the system, not just in interactive ...
2
votes
4answers
50 views

BTRFS data integrity (CRC32c) and HDD data integrity (sector ECC)

I'm new to BTRFS and I'm trying to understand why BTRFS use CRC32c while HDD already have sector level data integrity ECC. Is it because BTRFS don't relay on media to have data integrity protection? ...
7
votes
4answers
7k views

Should a laptop user switch from ext4 to btrfs?

Related to this. I'd like to take advantage of an OS switch to upgrade to BTRFS. BTRFS claims to offer a lot (data-loss resiliency, self-healing if RAID, checksumming of metadata and data, ...
8
votes
2answers
822 views

Arch does not mount btrfs array on boot

As data partition I have a multi-disk btrfs filesystem. My root disk is ext4 Fstab: UUID=290624c6-6b95-41fd-94a1-923ebca64b83 / ext4 rw,relatime,data=ordered 0 1 /dev/sdc ...
1
vote
1answer
36 views

run btrfs balance with cron

Since I run today in a problem with a full disk, which turns out is not unbalanced. Which you can fix with btrfs balance. So my question is: Is there any risk by ruining this by a cron job? (in ...
3
votes
1answer
189 views

Equivalent of pvmove for BTRFS

Similar to the question I asked a while back. This one's a little easier? I can see there's volume management logic in BTRFS for removing/adding/rebalancing physical drives, but is there a tool to ...
1
vote
1answer
458 views

Docker - Force to Use AUFS Instead of BTRFS

I am having significant problems using Docker on my BTRFS filesystem, and I suspect that is due to a lack of stability with the BTRFS driver. I would rather figure out how to switch the fs driver than ...
0
votes
1answer
107 views

Is partition table type “loop” a good or bad idea on BTRFS?

I have started to convert my disks to btrfs and following tutorials, most of them created the filesystem directly on the device instead on a partition. The file system is working and stores data but ...
1
vote
1answer
34 views

fs synchronization among desktops

I have several workstations (laptops and desktops). I'd like to synchronize files among them such that each one is a mirror of the other. I used to run an NFS server and share files out, but that ...
0
votes
0answers
67 views

BTRFS Raid1 on SD card and HDD

I have the / partition on a btrfs SD card /dev/mmcblk0p2. /boot is on vfat /dev/mmcblk0p1). It's a Raspberry Pi running Arch Linux and its fstab looks like so: /dev/mmcblk0p2 / btrfs ...
2
votes
0answers
27 views

How do I align my new btrfs default subvolume with the real root of my filesystem?

I rolled back my system by using snapper rollback Unfortunately this caused my current default volume to not be at the root of my filesystem anymore. As you can see in this screenshot: The ...
1
vote
1answer
67 views

Why does ZFS large file not instantly like btrfs?

Copying a 1TB disk image on a btrfs partition with cp takes less than a second on my Ubuntu 14.10 amd64 with Linux 3.16.0. Why does it take at least 5 minutes and requires > 1 GB to be read on a ZFS ...
2
votes
1answer
21 views

Is it possible and how to merge identical files between different snapshots in a btrfs file system?

I regularly use btrfs's snapshot to backup the whole system, but it's redundant to have identical files between different snapshots. Commonly, for example, I took a snapshot of @ as ...
1
vote
0answers
147 views

btrfs balance fails due to enospc error

[taken over from stackoverflow since I figured that was probably the wrong place] I am currently testing btrfs as a possible replacement for my NAS running ZFS. I created 4 devices, 20GB each, and ...
8
votes
4answers
911 views

Why does my desktop lock up when I copy lots of files to a USB drive?

My desktop is usually very responsive, even under heavy load. But when I copy files to a USB drive, it always locks up after some time. By "lock up", I mean: Moving focus from one window to another ...
2
votes
0answers
137 views

“cache and super generation don't match, space cache will be invalidated” what does this means and how to repair it?

I'm having a little problem trying to grow a btrfs partition in my system, namely: sudo btrfsck /dev/sdb9 [sudo] password for braiam: Checking filesystem on /dev/sdb9 UUID: ...
8
votes
1answer
64 views

Rolling back btrfs subvolume with child subvolumes

Is there a canonical way of rolling back to a subvolume snapshot that has child subvolumes. So for example, this is my btrfs volume layout: ID 257 gen 59802 top level 5 path __active ID 258 gen 59784 ...
3
votes
1answer
498 views

How to install Debian Jessie properly onto multiple devices with BTRFS in mode RAID 1?

As a short introduction I'm going to tell you, what kind of setup I have and what I want to achieve. After that I try to explain my problem. Since this is my first question on U&L I have to ...
2
votes
2answers
1k views

Is there a way to monitor progress of a btrfs rebalance?

I'm replacing a failed harddrive in a mirrored btrfs. btrfs device delete missing /[mountpoint] is taking very long, so I assume that it's actually rebalancing data across to the replacement drive. ...
3
votes
0answers
228 views

Which file system (among XFS, BTRFS and EXT4 only) does provide the best data resilience to disk corruption? [closed]

Question: Given these three filesystems: XFS, BTRFS and EXT4, I'm wishing to know which does provide the best data resilience to data corruption in a setup without RAID. And, of course, why? ...
5
votes
2answers
866 views

How to use btrfs send/receive for transmitting backup snapshots over a slow and unreliable network connection?

I'd like to use btrfs' send/receive feature for transmitting backup snapshots over a rather slow (initial seed of about 50-100GB, upstream bandwith ~1-2MBit/s) and unreliable (daily forced ...
4
votes
1answer
137 views

Simulate bitrot/corrupt files (for BTRFS)

Is it possible to intentionally corrupt a file so that BTRFS will report a checksum error? I want to test a script that's supposed to find file names with checksum errors, but I don't have any corrupt ...
1
vote
0answers
87 views

How to run SSD trim fstrim on btrfs when mounted multiple subvolumes?

I am using btrfs and have mounted several subvolumes (but not btrfs root). It resides on SSD partition, so I would like to use fstrim. Should I call fstrim on each mountpoint (corresponding with ...
3
votes
0answers
25 views

How much space would be freed by removing a btrfs subvolume?

Is there any way to calculate how much space I would free if I would remove one (or several) subvolumes on a Btrfs disk (without actually removing them)? I know that there is "currently no code that ...
5
votes
1answer
83 views

Why does the mountpoint of my root filesystem change?

When I look at the output of lsblk it will usually show: lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 298.1G 0 disk ├─sda1 8:1 0 1023M 0 part /boot └─sda2 8:2 0 ...
5
votes
0answers
312 views

btrfs change after system upgrade broke apt-btrfs-snapshot [closed]

After upgrading (via apt-get dist-upgrade) a Mint 14 Linux box to Mint 15, apt-btrfs-snapshot seems to have stopped working: 18:25:48 [root@galaxy ~]$ apt-btrfs-snapshot list Sorry, your system lacks ...
2
votes
1answer
118 views

What privileges are needed to delete a read-only btrfs subvolume?

I want to delegate non-root user to delete read-only subvolumes (snapshots). What exactly capabilities/rights I need to grant, so that he can remove his own read-only snapshots? I've already ...
12
votes
1answer
570 views

How to make a btrfs snapshot writable?

According to the btrfs Readonly snapshots patch it's possible to "set a snapshot readonly/writable on the fly." So I should be able to turn my readonly snapshot (created with btrfs snapshot -r) ...
1
vote
1answer
82 views

How reliable is (or will be) btrfs send/receive?

We have at work a 15TB NFS file server using XFS, with a distant clone for backups using rsync, over a moderately slow connection (100Mb ethernet). We are now thinking about using btrfs instead of ...
5
votes
3answers
751 views

Why can't a regular user delete a btrfs subvolume

Using a loop-mounted user created btrfs filesystem, with the permissions set correcly, a user is able to freely create btrfs subvolumes: user@machine:~/btrfs/fs/snapshots$ /sbin/btrfs sub create ...
9
votes
1answer
149 views

Limit on the number of btrfs snapshots?

I am considering using btrfs on my data drive so that I can use snapper, or something like snapper, to take time based snapshots. I believe this will let me browse old versions of my data. This would ...
1
vote
0answers
138 views

Recover data from a BTRFS RAID5

I have a BTRFS RAID5 setup (no mdadm) with four disks (the fifth failed). Now I am trying to recover the files but as soon as I try to rsync the files over to another disk, the system hangs after ...
2
votes
1answer
780 views

Boot partiotionless disk with syslinux

A file system can be configured to span a complete disk, omitting any partition table. Notice intentionally the command to do so does not use /dev/sda1 but the raw, unpartitioned device instead. ...
8
votes
3answers
5k views

How to get rid of the “scanning for btrfs file systems” at start-up?

After upgrading from Ubuntu 12.04 to Ubuntu 12.10, I get a message "scanning for btrfs file systems" at starting-up. I don't have any BTRFS filesystem. It delays the booting for about 15 seconds. How ...
8
votes
2answers
970 views

What keeps one side of an rsync so busy?

I've got a Debian machine on my LAN serving as a backup server for the others. It has four HDDs combined into a software RAID 5 md device, on that an LVM, and on that btrfs. Backups are made using ...
3
votes
1answer
69 views

Get device with major number 0 (btrfs subvolume)

When I stat a file on a btrfs subvolume I get a major device number of 0. Is there a reliable way to find the mount point of this device, without knowing in advance it is a btrfs subvolume? e.g. I'd ...
0
votes
1answer
60 views

btrfs confused about subvolumes

I'm starting out with btrfs on my embedded Linux system. My system currently has a single SD card used for the rfs. What I'd like to do is have a way to snapshot both the system files (currently ...
0
votes
1answer
50 views

btrfs snapshots without subvolumes?

I'm starting to use btrfs. I want to be able to snapshot certain directories but do not want to create sub-volumes. Is this possible?
1
vote
1answer
226 views

What actually happens when the checksum fails for a file using btrfs?

I'm testing using btrfs on my embedded Linux system. It uses a uSD card for the rfs. This system is remotely deployed so there's no human sysadmin to take care of it. My question is what happens ...
2
votes
1answer
258 views

btrfs on SD card, what does “Btrfs detected SSD devices, enabling SSD mode” mean exactly?

I'm experimenting with using btrfs on my Debian Linux armhf system. The rfs is on a micro SD card. On bootup I get the message "Btrfs detected SSD devices, enabling SSD mode". What features does ...
1
vote
1answer
148 views

Does a high “used” value for a device in “btrfs filesystem show” pose a problem? Should a balance operation be performed?

I have a laptop with a Samsung 840 500 GB SSD, and I've installed openSUSE 12.3 with btrfs as the filesystem. A few days ago I first got a message from my web browser about it not being able to save ...
1
vote
1answer
536 views

How to find data copies btrfs

I have deduplicated my btrfs filesystem with bedup, so now all duplicate files (above a certain size) are "reflink" copies. Is there any way to see, given a filename, what other files are the same ...
0
votes
2answers
76 views

Shrink btrfs from /dev/sda to /dev/sda1

suppose I have 2 btrfs filesystems: one mounted on /mnt/big spanning across /dev/sda /dev/sdb /dev/sdc /dev/sdd the other mounted on /mnt/small on a single drive: /dev/sde How would I shrink the ...
1
vote
1answer
106 views

ext4 to btrfs conversion: how many times the whole volume will be read during the process?

I want to convert the 3TB 80% full ext4 block device into btrfs and I want to estimate the time it will take. I understand that this process is disk-bound rather then cpu- or memory-bound. So can ...
2
votes
2answers
152 views

Error when creating BTRFS Filesystem

I'm attempting to install Arch Linux using the btrfs filesystem. I'm at the beginning of the install processes preparing my drive and I'm hitting an issue. Firstly I begin to clear any GTP and MBR ...