Btrfs is a new copy on write filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration. Initially developed by Oracle, Btrfs is licensed under the GPL and open for contribution from anyone.

learn more… | top users | synonyms

4
votes
1answer
2k views

Filesystem Label Rename

I'm getting a strange error quark 11 on renaming my filesystems on Ubuntu 12.10 64. I'm sure 100% I've already done it in the past without issues using the disk utility. Maybe some recent upgrade or I ...
0
votes
2answers
454 views

Why does Ubuntu create a @home directory on home partition?

I want several Linux distros to share the same home/data partition, each having a unique user name and implicitly a separate home directory. I installed Debian Wheezy, and formatted this partition as ...
3
votes
1answer
110 views

Is there anything to remember when I exchange my /?

I have a laptop computer with the following setup: / on a btrfs /dev/sda3 subvolume @ /home on a btrfs /dev/sda3 subvolume @home /boot on an ext4 /dev/sda2 /boot/efi on a vfat /dev/sda1 no swap /tmp ...
3
votes
1answer
1k views

How do I show the current amount of fragmentation on a btrfs filesystem

Wiki pages for btrfs and other how-tos talk about online defragmentation and other related topics but they don't say how to find out how fragmented a file system is. Is there a method to determine how ...
0
votes
1answer
315 views

Can I Recover The Files in the Directory /usr from a btrfs Snapshot?

Some time ago, I moved the folder /usr to its own partition. Before this it had lived in the / partition which has a btrfs filesystem. Accidentally, I formatted my /usr partition from my Windows XP ...
2
votes
1answer
3k views

How to use Btrfs with compression on external USB hard drive?

I would like to make use of Btrfs' transparent compression on an external drive. Which tool is best for formatting the drive? Disk Utility or GParted? How do I activate the compression? During ...
0
votes
1answer
900 views

Is this tactic of switching from btrfs to ext4 safe?

I've been using btrfs on Ubuntu 12.10 for both / and /home for several weeks. Through out the time I've come to the conclusion that ext4 performs better on my system and I'd like to switch back ...
0
votes
0answers
2k views

Errors during start-up: “Scanning for Btrfs filesystems”

I have installed Ubuntu 12.10 desktop on three systems and one virtual machine. On every system I have opted for a single Btrfs partition. During start-up I get the following two error messages. It ...
11
votes
2answers
4k views

How can I convert an ext4 partition to btrfs (or other file systems) without losing data?

I wish to convert my current /home partition to BTRFS (or other file systems) without losing data if possible, what steps should I take for this? is it safe?
2
votes
3answers
9k views

Moving /boot to a separate partition

I've installed Ubuntu 12.04 on a partition with BTRFS as its file system, but it appears that grub2 seems to have some issues with that file system. For some reason it takes it very long time to boot ...
2
votes
1answer
600 views

Ubuntu Server 12.04 start fails after update

I did an system update on Ubuntu Server 12.04, which requested a reboot. Since that, the system never reaches the login. It hangs on: mount: mounting /dev on /root/dev failed: No such file or ...
5
votes
1answer
2k views

Grub fails to install - core.img 'unusually large' [closed]

When trying to resurrect my (t)rusty 'ol router who's system disk (CF card) had failed (probably because I neglected to tune Ubuntu properly for this type of media), I wanted to use the opportunity to ...
3
votes
1answer
3k views

btrfs and missing free space

I converted my ext4 partition to btrfs and deleted the save subvolume after doing so. Then I enabled the compression (lzo) of the filessystem in the fstab file and everything is correct so far. Then ...
4
votes
1answer
328 views

How to hide btrfs devices in nautilus?

I've got a btrfs file system consisting of 3 devices and using raid1. The file system contains one subvolume "home" which is defined in the fstab and mounted at "/home". fstab entry looks like this: ...
1
vote
1answer
794 views

How does one undelete or repair BTRFS partitions?

Had a power‐cut last week and thought nothing of it but today when I opened (mounted) a data partition for archiving edited video files, I noticed it had 50GB free when it previously had only 2… ...
2
votes
2answers
1k views

How do I install the btrfs-restore utility on 12.04?

I would like to install btrfs-restore on Kubuntu 12.04 apt-cache search btrfs-restore returns nothing. Google "ubuntu download OR install btrfs-restore" returns nothing useful. Also, where do I get ...
1
vote
5answers
7k views

How do I recover a BTRFS partition that will not mount?

The installation for 12.04 kept failing, and the solution was to have the installer ignore the btrfs partition that I have previously been using for /home. Now that it's installed, I've been trying ...
3
votes
3answers
2k views

btrfs with multi devices fails automount in fstab

I'm trying to automount btrfs on 12.04-desktop-amd64. During bootsplash, fstab failed to mount btrfs and asked skip or manually prepare. On the rootshell, btrfs device scan and mount -a could ...
5
votes
2answers
2k views

Block-level deduplicating filesystem

I'm looking for a deduplicating copy-on-write filesystem solution for general user data such as /home and backups of it. It should use online/inline/synchronous deduplication at the block-level using ...
6
votes
1answer
1k views

How to stop disks from being automagically mounted on boot?

I have a btrfs filesystem RAIDed across several disks. The machine is connected via USB to an external hard-drive bay where three disks live. In my fstab I have a mount entry for one of the disks ...
15
votes
5answers
11k views

Is it safe to use Btrfs?

Is it safe to use btrfs in Ubuntu 12.04? Linux kernel version: 3.2.0-24-generic Architecture: x86_64 (64-bit)
16
votes
6answers
10k views

Will btrfs automatically compress existing files when compression is enabled?

I chose btrfs as the format of my / filesystem in the Ubuntu 12.04 LTS installer. After the installation completed, I added compress=lzo to the mount options in /etc/fstab and rebooted. Will the ...
12
votes
3answers
7k views

How to make a btrfs snapshot?

My /home partition consists of an entire physical disk. It is formatted as btrfs. I want to snapshot it. I'm confused regarding subvolume naming, in particular. I am aware that there are similar ...
1
vote
1answer
2k views

How to change btrfs partition label/uuid?

I upgraded to a new harddisk by using dd to copy the partition. As the old disk is still in place, the computer seems to randomly boot one or another. To fix this I thought, changing the UUID/LABEL of ...
9
votes
3answers
6k views

Btrfs subvolumes vs folders?

I've read a fair bit about btrfs's subvolumes feature. While it would seem interesting to have subvolumes for the main categories in a data filesystem, such as @films, @pictures, @music... What ...
4
votes
3answers
3k views

How can I upgrade to a newer version of btrfs-tools?

The btrfs tools package in 12.04 appears outdated and doesn't take advantage of the newer features such as scrub introduced in kernel v 3.0. How can I upgrade to a newer version? Do I need to compile ...
8
votes
1answer
13k views

Can 12.04 be installed using Btrfs only?

In the past it was not possible to install Ubuntu on a pure Btrfs file system (/ btrfs + swap), will it be possible for 12.04?
2
votes
2answers
695 views

Home server filesystem

I'm planing to build a home server to act mainly as a uTorrent download and file server for me and the people I live with. I have come up with the following filesystem configuration and I would like ...
22
votes
2answers
18k views

Message “Sparse file not allowed” after installing on a btrfs filesystem

I've installed Ubuntu without creating a swap partition and with / on a btrfs.# Now I get the message "Sparse file is not allowed" on each boot. This message appears before the splash-screen. Is there ...
2
votes
1answer
1k views

Install Ubuntu with BTRFS and more subvolumes

I want to install an Ubuntu Server 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 default: ...
2
votes
1answer
2k views

Converting to btrfs from md raid5 with lvm

I have decided to start the transition to btrfs this weekend. I have a desktop with one md raid1 which is used for boot, and one large md raid5 for everything else. On top of the md raid5, I have LVM ...
1
vote
1answer
392 views

When will btrfs-progs (stable??) arrive in the repositories?

just realized that arch linux exchanged btrfs-progs-unstable (from 2010) with btrfs-progs (from 2012, presumably stable, at least not unstable). I am aware that arch is normally very quick at ...
3
votes
0answers
595 views

Is there a way to upgrade BTRFS? [closed]

Do I need to upgrade a BTRFS filesystem after upgrading Ubuntu, like I would with ZFS?
1
vote
1answer
800 views

How can I move a btrfs partition? (after resizing it)

Is it possible to move a btrfs partition (after I shrinked it)? (e.g. as described in How can I safely resize (shrink) a BTRFS partition?) I need this to grow the partition before the btrf partition. ...
3
votes
2answers
4k views

How to install using btrfs in RAID10 mode?

As a test I want to install Ubuntu 11.10 onto a btrfs file system in raid10 mode. However, I have no clue on how I should go about that. I have tried the installer, and then creating the fs in the ...
2
votes
2answers
4k views

How to convert a btrfs file system in raid1 mode to raid0?

I've install Ubuntu 11.10 with btrfs as the / file system (was a bit of a mess to do, I'll explain if people are interested) so I can expand the primary file system into the second drive on the ...
5
votes
2answers
6k views

Btrfs Defragmentation Of Files/Folders

I have just installed Ubuntu 11.10 on the Btrfs filesystem and I want to ask a question about defragmentation of files. Do I really need to defragment files or the whole system? Defragment # btrfs ...
5
votes
2answers
712 views

Is it safe to remount btrfs with compression?

I've finally found how to enable compression in btrfs, and would like to do so. However, as my main drive, I'm not really wanting to risk a change that could corrupt the hard drive. Everything I've ...
2
votes
0answers
1k views

Add btrfs root parition entry to Grub2 [closed]

I have a separate 10GB partition to test pre-release builds. This time I decided to test the btrfs as root. After finishing installation, ubiquity showed an error message stating that grub could not ...
10
votes
2answers
14k views

How can I safely resize (shrink) a BTRFS partition?

I have my /home on a BTRFS partition and I need to shrink it, unfortunately Gparted does not have the resize option for this FS. Can I resize it in any other way without losing my data?
11
votes
3answers
12k views

Should I use btrfs or Ext4 for my SSD?

Should I use btrfs (with discard, compress=lzo and space_cache options) or Ext4 (with discard option) for the SSD for my Ubuntu 11.10 (Oneiric) amd64 desktop root partition of my office machine? ...
1
vote
0answers
376 views

System hangs after second time suspending [closed]

I installed a new system when oneiric was released I am also using gnome classic and have the following layout: /dev/sda3 on / type btrfs (rw,noatime,relatime,subvol=@) /dev/sda3 on /home type btrfs ...
1
vote
2answers
1k views

ubuntu 11.10 btrfs errors after every reboot

I installed a new system when oneiric was released I am also using gnome classic and have the following layout: /dev/sda3 on / type btrfs (rw,noatime,relatime,subvol=@) /dev/sda3 on /home type btrfs ...
4
votes
1answer
1k views

How do I recover a BTRFS partition formatted by mkfs.btrfs?

I've accidentally formatted one of my partitions with btrfs 0.19 filesystem, on 11.04, kernel 2.6.38-8-generic. The command issued was: mkfs.btrfs -L EADS-old /dev/sdd2. After this I didn't write ...
22
votes
2answers
7k views

What is the current situation with BtrFS and 11.10?

It feels like I've read about BtrFS forever, but there has always been something that makes me not want to use it. But I'm guessing things are improving, so I'd like to know what the situation is ...
12
votes
2answers
3k views

btrfs partition won't mount after upgrading 64bit Ubuntu 11.10 laptop

I have tried many ideas from the net, but none of them work. This looks correct and in good order **sudo btrfs filesystem show /dev/sda2** failed to read /dev/sr0 Label: none uuid: ...
2
votes
2answers
344 views

How to remove subvol from partition?

I installed Natty 64-bit with btrfs filesystem only to find that it takes almost two minutes to boot. I tried a few different things, and finally today opened up /etc/fstab only to find the ...
0
votes
2answers
184 views

Upgrade from 10.04 to 11.04, must maintain minimum kernel 2.6.38 [closed]

I have a machine running 10.04 and am using BTRFS with lzo compression. I upgraded the kernel to 2.6.38 to enable this (using a PPA). I have my /home folder on a separate (4 TB) BTRFS drive. / is on ...
3
votes
2answers
3k views

How does btrfs RAID work in degraded mode?

My idea was that (using loopback devices) it works like this Create the raid array sudo mkfs.btrfs -m raid1 -d raid1 /dev/loop1 /dev/loop2 You mount them sudo mount /dev/loop1 /mnt and mark them ...
1
vote
2answers
1k views

Possible/viable to make a btrfs RAID between SSD and HDD?

Since I don't use my laptop's CD-drive I want to put a small (8 GB) SSD into the CD-drive slot (I'll use a caddy similar to this one). I want to use compressed btrfs on the SSD and put all the data on ...