Questions tagged [btrfs]

Btrfs is an integrated filesystem and volume manager, initially developed by Oracle. Use this tag for all questions related to Btrfs' commands and features, as well as volume and filesystem creation and management.

Filter by
Sorted by
Tagged with
6 votes
4 answers
9k views

2015: Is BTRFS stable? [duplicate]

I know, questions like this have been asked before, but I'd like to get some up to date experiences.. From what I've read in various discussions, BTRFS seems like it's relatively stable, but once in a ...
IcyIcyIce's user avatar
  • 1,119
6 votes
2 answers
6k views

Where are my BTRFS subvolumes?

I just installed Ubuntu 18.04 server on a VPS using the Ubuntu installer (from a mounted ISO image). I selected BTRFS as my filesystem type during the manual partitioning phase of installation. Now ...
MountainX's user avatar
  • 5,809
6 votes
1 answer
2k views

Btrfs out of space, but OS reports lots of disk space free [duplicate]

I'm using Btrfs, for better or worse. It is a plain btrfs partition with no compression or RAID, nor do I have any snapshots; it is a a simple btrfs partition that the OS is reporting with quite a ...
David's user avatar
  • 2,799
6 votes
1 answer
7k views

Grub2 does not detect btrfs partition

I just installed Xubuntu alongside an Arch-based distro. The problem is that Grub2 does not detect the (btrfs) partition of the previous distro, so I can't boot from it. I have already tried update-...
Tocell's user avatar
  • 71
6 votes
3 answers
3k 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 ...
Stephen's user avatar
  • 881
6 votes
4 answers
6k views

How can I automatically create a Btrfs Snapshot before updating my system?

I've installed Ubuntu 20.04 on a Btrfs root-partition for its snapshot functionality. To keep it as simple as possible, I would like to integrate the creation of a Btrfs snapshot into my upgrade-...
Prototype700's user avatar
6 votes
2 answers
673 views

How do I move /boot to a separate partition on UEFI system with current boot on btrfs?

I have Ubuntu 18.04 installed on a UEFI system with /boot on a btrfs partition (subvol=@). Because of recent changes in Ubuntu I always get grub timeout 30 sec. This is by design if /boot is on a ...
Pilot6's user avatar
  • 90.1k
6 votes
1 answer
4k views

How do I install and configure Btrfs for desktop use on two mirrored drives?

I would like to use Btrfs on two mirrored drives (RAID 1), used for archive data on a desktop system (media files, etc.), for redundancy/availability and potential self-healing functionality in case ...
Prototype700's user avatar
6 votes
1 answer
2k views

How do I convert from RAID1 to JBOD with btrfs?

I have the following RAID1 btrfs set: Label: none uuid: 87595481-7b5c-464e-b10d-d9b2b0852e11 Total devices 4 FS bytes used 4.77TiB devid 1 size 2.73TiB used 2.63TiB path /dev/sdb ...
Jorge Castro's user avatar
  • 71.7k
6 votes
4 answers
5k views

btrfs - Unknown filesystem?

Today when I went ahead with Natty installation I had selected btrfs for root filesystem. To my utter surprise I was presented with the screen Unknown filesystem grub rescue > None of the ...
Chethan S.'s user avatar
  • 2,854
6 votes
1 answer
2k views

Ubuntu 14.04 bad taint on XFS and BTRFS

I've done a fresh install of Ubuntu 14.04 on a physical machine and a virtual machine and after the first reboot (and also at random times) on the screen I get a bad taint message for XFS and BTRFS ...
A-Kay's user avatar
  • 61
5 votes
2 answers
16k views

How to fix a not booting Ubuntu setup with encrypted root disk?

Ubuntu is not booting but printing weird things, either /run/lvm/lvmetad.socket: connect failed: No such file or directory or /sbin/cryptsetup not found then falls back to busybox after a few ...
matt3o's user avatar
  • 941
5 votes
2 answers
10k 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 ...
WLigtenberg's user avatar
5 votes
3 answers
15k views

How to format btrfs partition?

How to format spare disk space to btrfs filesystem? I can't see btrfs in format dialog neither in gparted, nor in Disk Utility. Only Fat,ext2,ext3,ext4 etc.
Extender's user avatar
  • 2,358
5 votes
1 answer
5k views

What is the best way to partition, and what is the best file-system for a new Hard Disk? [duplicate]

Possible Duplicate: What's your recommendation on drive partitioning schemes for a desktop and home server? Is Btrfs in Maverick considered stable? Bonus: What is the "best" filesystem for "...
aviraldg's user avatar
  • 777
5 votes
1 answer
800 views

What does the "@" symbol mean when in front of a directory, e.g. "@home"?

I am trying to follow another post on Ask Ubuntu (Can I have a swapfile on btrfs?, specifically Pilot's answer) and I have run into the problem that I have no idea what @home means. The paragraph I'm ...
Richatd_q's user avatar
5 votes
3 answers
1k views

Encrypted disk not available in boot process after distro upgrade

Some time ago I installed Ubuntu 20.04 following this guide with btrfs-luks encryption. The boot process used to involve only a single passphrase prompt at the very beginning. Today, after upgrading ...
Majiy's user avatar
  • 201
5 votes
2 answers
7k 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: ...
Paco's user avatar
  • 51
5 votes
1 answer
5k 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 ...
user89037's user avatar
5 votes
2 answers
1k views

Is there another way for me to backup /home/user other than creating a subvolume?

I think I'm having difficulty fully understanding subvolumes and snapshots. The /home partition is btrfs. I want to create a "backup" snapshot of /home/user (for example) but user has existed for ...
bumbling fool's user avatar
5 votes
1 answer
828 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: /...
Vilmantas Baranauskas's user avatar
5 votes
1 answer
8k 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 ...
iGadget's user avatar
  • 873
5 votes
1 answer
1k views

How to layout the filesystem for a small SSD and a big 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 ...
turbo's user avatar
  • 4,622
5 votes
1 answer
5k views

Is there a way to use badblocks with btrfs?

I have a hard drive with bad sectors that I've found using badblocks and whatever Windows uses. I have Lubuntu installed on btrfs, and it's running smoothly for now (where Windows would freeze up), ...
guest's user avatar
  • 51
5 votes
1 answer
294 views

How to configure a fast system with Ubuntu installed on a workstation for scientific computing [closed]

I am in charge of a powerful workstation to support the scientific computing needs in our research center. We decided to run Ubuntu 16.04 LTS on the machine. However, I haven't done similar tasks for ...
Xiaodong Qi's user avatar
  • 2,562
4 votes
1 answer
3k views

Future of Btrfs in Ubuntu - what is the plan?

I just last week deployed Btrfs file system on all my backup servers in production. I love it as it runs without any problems so far; after testing it for two years I decided it's time. But I am ...
Mike's user avatar
  • 5,691
4 votes
2 answers
6k views

btrfs for deduplication and compression at the same time?

I'm thinking about using btrfs functions for both deduplicate and compress my storage... My question is: is it efficient? I mean, does it deduplicate AND compress at the same time efficiently?! I'm ...
ThiagoCMC's user avatar
  • 829
4 votes
2 answers
3k views

Exclude hidden directories from subvolume/snapshot

I am using snapshots for backing up data of my @home subvolume. But I would like to backup the real important data (like all my files, which are in @home, but not hidden directories because I am not ...
Esokrates's user avatar
  • 920
4 votes
2 answers
3k 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 ...
turbo's user avatar
  • 4,622
4 votes
1 answer
4k views

Unable to mount secondary BTRFS filesystem to specific subvolume

So I'm trying to wrap my head around BTRFS and set up my fileserver using BTRFS filesystems. Here is my setup: /dev/sda1 : BTRFS filesystem, contains @, @home subvolumes mounted to / and /home. /dev/...
Pete Buonomo's user avatar
4 votes
4 answers
857 views

My approach for replacing current Ubuntu with newer

I'm working on Ubuntu 13.04 currently. I want to replace it with Ubuntu 13.10. For the same, please approve whether my approach mentioned below is right! I have created a bootable usb stick having ...
Ravi's user avatar
  • 493
4 votes
1 answer
17k views

How to reformat my SD card?

I have a micro SD card (/dev/mmcblk0) with one partition on it (/dev/mmcblk0p1). There is a btrfs filesystem on it, that won't mount. When I insert it, I get an error message on the desktop, saying: ...
alci's user avatar
  • 5,839
4 votes
1 answer
10k views

How to use UUIDs in fstab for configuring btrfs RAID1

This is similar to this question, but the solution there was to choose the disks using "device=/dev/sda1,/dev/sdb1", which is not as robust as using UUIDs. I'm sure it can be done, but I can't find ...
Fred Hamilton's user avatar
4 votes
2 answers
18k views

How to mount btrfs subvolume, it isn't working / mounting

I just did: # btrfs subvolume create /@srv then: # btrfs subvolume list / ID 257 gen 73 top level 5 path @ ID 258 gen 71 top level 5 path @home ID 260 gen 65 top level 257 path @srv And added to /...
ThiagoCMC's user avatar
  • 829
4 votes
1 answer
1k views

How to set USER_SUBVOL_RM_ALLOWED capability?

I try to remove btrfs snapshot as a normal user. I've read, that a user needs to have some special capability/right set: USER_SUBVOL_RM_ALLOWED. How to grant such capability to user??
Adam Ryczkowski's user avatar
4 votes
3 answers
3k 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 ...
user72072's user avatar
4 votes
3 answers
7k 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 ...
PVU's user avatar
  • 41
4 votes
1 answer
3k 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 ...
piotao's user avatar
  • 203
4 votes
1 answer
20k views

Can I have /boot on BTRFS?

I have ubuntu 16.04 running on BTRFS, but since some pages said that GRUB2 (2.02-beta2) cannot boot from BTRFS, I made a boot partition in ext4 for /boot. But this partition is too small now, only ...
user avatar
4 votes
1 answer
2k views

Stuck in initramfs with btrfs root array

I am trying to setup a system with three drives with a btrfs raid1, however I get stuck in initramfs if I have more than a single drive in my btrfs root. My three partitions: /dev/mapper/sda3_crypt | ...
BinaryShrub's user avatar
4 votes
1 answer
991 views

Is there a way to install 13.10 on btrfs and full disk encryption?

I like the fact that the default desktop Ubuntu installer only requires me to check a single checkbox in order to have a fully encrypted disk in the end (which is a requirement within our company, so ...
GhostCat's user avatar
  • 2,095
4 votes
1 answer
1k views

SSD features (rotational/discard) not detected properly via USB

I am using Ubuntu 16.04 on a Thinkpad W520, with kernel 4.10.0-20-generic (hwe-edge). I have two SSD drives: a flash USB 3.0 stick, and a SATA Samsung 850 EVO SSD. When I connect them to USB (the ...
Juraj Oršulić's user avatar
4 votes
1 answer
2k views

Is it a good idea to restore a btrfs snapshot with rsync?

Is it safe to use rsync to restore a btrfs snapshot? Just to give a example rsync -ax /home/snapshot/my_user_folder /home/my_user_folder where /home is my home folder and /home/snapshot is my ...
Dan's user avatar
  • 3,418
4 votes
2 answers
26k 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 ...
Taburetkin's user avatar
3 votes
2 answers
10k views

how to disable 'scanning btrfs filesystem' at system startup

After upgrading from Ubuntu 12.04 to Ubuntu 14.04, 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. I ...
user68480's user avatar
3 votes
1 answer
3k views

How to mount Btrfs with "errors=remount-ro" equivalent?

Btrfs does not appear to support errors=remount-ro. In /etc/fstab, what option can I use with Btrfs to achieve equivalent result as "errors=remount-ro"?
Sepero's user avatar
  • 4,557
3 votes
2 answers
4k views

How do I find out which driver version of BtrFS I am using?

I was reading through a couple of BtrFS articles online. Sometimes I saw statements like Do not use BtrFS versions older than 0.20rc1. How can I find out which version is in my Kernel?
koloman's user avatar
  • 347
3 votes
1 answer
2k views

Do parent file system snapshot reference it's children datasets data or only their onw data?

Data is referenced in as many snapshots you take and it will be deleted from disk only if you delete all snapshots that referenced said data as well as the data from the running volume, this holds ...
eridani's user avatar
  • 1,352
3 votes
1 answer
613 views

Are btrfs updates rolled in to 12.04 LTS (3.2) kernels?

Many BTRFS bug fixes and updates are being applied to the 3.10 Kernel by the filesystem maintainers - is Ubuntu actively pushing those fixes and updates down to their current LTS kernel (3.2.0-X)? ...
Litch's user avatar
  • 193
3 votes
2 answers
1k views

How to disable btrfs snapshots created by apt?

Is there a way to configure apt to prevent the creation of btrfs snapshots? I know I can delete the snapshots generated by apt install by executing apt-btrfs-snapshot delete-older-than 0d, but what I ...
Lucas's user avatar
  • 173

1
2
3 4 5
8