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

learn more… | top users | synonyms

4
votes
0answers
274 views

btrfs change after system upgrade broke apt-btrfs-snapshot [on hold]

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
24 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 ...
11
votes
1answer
154 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
45 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
553 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 ...
1
vote
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 ...
9
votes
1answer
55 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 ...
5
votes
2answers
324 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
0answers
65 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 ...
1
vote
0answers
40 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
497 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. ...
6
votes
3answers
3k 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
867 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
42 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
35 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
27 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
77 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
90 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
104 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
97 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
49 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
54 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
69 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 ...
2
votes
2answers
1k views

How to remove an empty directory (btrfs filesystem)?

I'm using the experimental btrfs filesystem. My directory looks like this: ls -la empytfolder total 4 drwxr-xr-x 1 root root 0 19. Mär 14:00 . drwxr-xr-x 1 root root 298 19. Mär 13:59 .. I ...
1
vote
1answer
69 views

ex4 to btrfs conversion: If I accidentally lose power to the system during the conversion, will I lose the data?

I want to convert the 3TB 80% full ext4 block device into btrfs and I want to estimate the risks involved in the process. If I accidentally lose power to the system during the conversion, will I ...
1
vote
0answers
21 views

ext4 to btrfs conversion: Can I pause, reboot the system and then resume the conversion? [duplicate]

I want to convert a rather big ext4 volume into btrfs. How long will the process will take?
5
votes
1answer
299 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 ...
1
vote
0answers
28 views

btrfs partition not detected

I have some distros installed on a BTRFS partitions under different subvolumes ( for distro-hopping, separate ext4 boot). This btrfs partition is now not getting detected on boot, while I can access ...
5
votes
1answer
92 views

Is there any way in BTRFS to set compression permanently?

I have a USB HDD. I want to mount it with compression enabled. I can do in the fstab of my system or even using udev rules. The problem is that I won't mount my USB HDD on my computer only. Up to ...
2
votes
1answer
171 views

Linux btrfs how to remove unexistent filesystem from list?

I'm giving a try to btrfs. As newbie I did some mistakes, which are good for learning! I created several btrfs filesystems upon different devices (sdX, loop, lvm, etc). During these tests, I removed ...
2
votes
1answer
246 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 ...
1
vote
0answers
22 views

Encrypted file system on external storage [duplicate]

I use archlinux and manjaro. I recently bought an external 2TB toshiba stor.E canvio, and I planned to use it as back up. I used gpt layout and partitioned it with luks and ext4. Dolphin reports 6% ...
1
vote
0answers
41 views

What are the linux kernel versions incompatibilities with btrfs?

I read that usage of a btrfs volume with a newer kernel can render it unreadable when that same volume is used with an older kernel. I have a mobile storage device that will be used by different linux ...
1
vote
1answer
612 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. ...
0
votes
3answers
254 views

How are filesystem snapshots different from simply making a copy of the files?

by doing this, # btrfs subvolume snapshot /mnt/1 /mnt/1/snapshot # tree /mnt/1 /mnt/1 ├── a ├── snapshot │ ├── a │ └── subv └── subv └── b 3 directories, 3 files We can create snapshot ...
3
votes
1answer
5k views

How do I fix btrfs? [closed]

I've trawled mailing lists and finally finished up on Ubuntu's btrfs page, and am left feeling that btrfs still does not have a full fixing utility (as indicated on their home page). Even though ...
3
votes
1answer
195 views

Running du command reports infinity as disk usage

I'm trying to get the total size of what's stored in my home directory. To my surprise, it reports infinity after a few seconds: /home/user $ du -sh . Infinity Huh? I'm pretty sure there are no ...
1
vote
0answers
100 views

Understanding btrfs disc usage for single data volume

On my 256 GB disc: # btrfs fi show /dev/sdd3 Total devices 1 FS bytes used 143.43GiB devid 1 size 234.22GiB used 234.22GiB path /dev/sdd3 Btrfs v3.12 I don't understand the discrepancy between ...
3
votes
1answer
441 views

How to delete btrfs subvolumes with <FS_TREE> in their name

I have a bunch of btrfs snapshots like so: 20:17:37 [root@galaxy /]$ btrfs subvolume list -a / |grep apt ID 271 gen 348 top level 5 path <FS_TREE>/@apt-snapshot-2013-04-17_21:44:30 ID 272 gen ...
3
votes
0answers
145 views

LXC with both GUI apps and snapshots on unmodified Fedora kernel

I am looking for a tool or library to run LXC that supports: running X applications conveniently snapshotting root filesystems (using a Fedora system with an unmodified kernel), so that I don't have ...
5
votes
2answers
402 views

Modifying a BTRFS filesystem UUID

I've made backups of my BTRFS filesystem using Clonezilla, and have restored one of those backups to a file named 2013-11-29.sda3.img. I need to get some files out of this backup, but there's a ...
1
vote
1answer
129 views

strange directories on ubuntu 13.10 btrfs partition

I am running Ubuntu 12.04 (ext4) and installed Ubuntu 13.10 on a partition of its own (sda2) with btrfs. I had no time to configure 13.10 to my work environment (yet), so I mounted /dev/sda2 from ...
2
votes
0answers
127 views

What's status of btrfs as root fs? [closed]

What is the current status of btrfs being the root filesystem including /boot; meaning that you do not need to create a separate /boot partition. I ask because I noticed on Debian 7 you cannot setup ...
5
votes
2answers
1k views

How to clone btrfs filesystem into different medium preserving snapshots' sharing data

I have decided to give btrfs raid capabilities a try. I set up a btrfs with sudo mkfs.btrfs -m raid10 -d raid10 /dev/sda9 /dev/sdb9 /dev/sdc9 /dev/sdd9 Now I want to clone my existing btrfs ...
0
votes
1answer
81 views

btrfs: mismatching generation and generation_v2 found in root item

I am seeing this message in dmesg: btrfs: mismatching generation and generation_v2 found in root item I found a related question here: Understanding btrfs dmesg However, unlike that question, I ...
0
votes
0answers
454 views

Install Zentyal 3.2 on btrfs with raid 1 and luks

I want to install Zentyal 3.2 with btrfs, raid1 and luks on a server with 3 harddrives. at first i created 2 partitions on each device (sda,sdb,sdc). the first with 1G, and the secound with the rest. ...
7
votes
2answers
797 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
1answer
315 views

btrfs, infamous ENOSPC error while doing a backup from a snapshot

My system is Fedora 19 x86_64 w/3.10.7 kernel. I am trying to use a btrfs snapshot for backing up my /, like this: #!/bin/bash btrfs subvolume snapshot / /snap/ tar -cvf - /snap 2>/dev/null | ...
2
votes
0answers
284 views

System cannot boot, continiously scanning btrfs filesystem

On the previous boot I installed HAL to make amazon prime video streaming work, which it did (mostly), but after reboot the system could not pull itself up all the way to BASH and drops to a failed ...
7
votes
3answers
795 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 ...