Questions tagged [btrfs]

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
33 views

Why are Btrfs and others disabled in Custom Format in Disks?

Ubuntu 20.04 LTS. I tried to format a new disk with Btrfs, but it is disabled.
0
votes
0answers
50 views

Mounting btrfs partition with compression enabled

I've got a btrfs partition on a SSD drive. This partition is not mounted by default, it's not root. It's just a plain data partition which is mounted on demand. Nothing fancy. The btrfs partition was ...
0
votes
0answers
46 views

Kernel Panic on the default kernel

I have kernel panic on my default kernel (v.4.15.108) and it boots to initramfs only. If I change to the previous kernel (v.4.15.101), I am able to successfully boot my machine and everything is ...
0
votes
0answers
32 views

Why is my swapfile on btrfs suddenly not active?

I have created a swapfile /swap on / btrfs with: touch /swap chattr +C /swap dd if=/dev/zero of=/swap bs=1M count=2048 mkswap /swap && chmod 600 /swap && swapon /swap It works and ...
0
votes
0answers
13 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 ...
0
votes
0answers
57 views

Cannot delete LXC container with full volume nor the volume itself

I've been toying around with LXC/LXD lately and ended up with a couple of stopped containers: ❯ lxc list +------------------------------------+---------+------+------+-----------+-----------+ | ...
0
votes
0answers
30 views

find the btrfs seed device via script or the from the command line

Given path $MYPATH which has a multi-device btrfs mounted on it, I would like to know which of the devices is the seed device. Preference is for something that works in bash or python. sudo btrfs fi ...
5
votes
4answers
238 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-...
1
vote
0answers
62 views

BTRFS install focal next to eoan

I'm currently running Ubuntu 19.10 on btrfs. The following subvolumes are used @ / @home /home @no-snapshots /no-snapshots (VMs) I want to install Ubuntu 20.04 alongside my current install on a new ...
0
votes
1answer
47 views

BTRFS in RAID1 is showing double the disk space

All my GUI programs started showing 16TB total space and 8TB free space available, while it should be 8TB total and 4TB available. Any ideas what went wrong and how to fix it? My btrfs RAID 1 ...
0
votes
1answer
63 views

Btrfs reports “ERROR: minimum size for each btrfs device is 131072000”, but my drives are much larger

I have x2 2TB drives that I want to make a single Raid0 logical drive. The error I'm getting doesn't make any sense. Can someone explain what I'm missing here? I use lsblk -o name,mountpoint,size,...
0
votes
0answers
100 views

RAID 1 - mdadm or btrfs?

I want to create a RAID 1 array of two (inexpensive) HDDs, in order to keep some rarely accessed data. I have thought about two main ways to create it: using mdadm using btrfs I've read about ...
1
vote
1answer
159 views

Problem with update-initramfs and cryptsetup

I am trying to update my initramfs but I get this error: cryptsetup: WARNING: could not determine root device from /etc/fstab I am not really sure why this is happening because this is my fstab: ...
1
vote
0answers
66 views

Is it a BTRFS Bug, a BTRBK bug or is my HDD dying?

I'm using a BTRFS setup in my home server, where I'm having 3 disks in a btrfs-raid and a fourth disk is used to receive daily backup snapshots via BTRBK. Some days ago I noticed, that BTRBK was ...
4
votes
1answer
917 views

Can I have a swapfile on btrfs?

Modern Ubuntu versions are using a swap file instead of a swap partition by default. Before the 5.0 Linux kernel it was not possible to place a swap file on a btrfs partition, btrfs file system could ...
3
votes
2answers
441 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 ...
0
votes
0answers
40 views

Deduplicating file system for encrypted volume?

Is there a reliable and well supported file system for Ubuntu that transparently provides block-level deduplication, and can be used to format an encrypted volume or device, of the kind produced by ...
0
votes
0answers
27 views

Does a Kernel Driver compiled for Ubuntu 18.0.4 require any porting issue for running on BTRFS or other modern self-healing file system?

I am trying to estimate the risks for moving to the BTRFS (or any other modern self-healing file system). Does a Kernel Driver compiled for Ubuntu 18.0.4 require any porting issue for running on BTRFS ...
5
votes
1answer
1k 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 ...
1
vote
0answers
150 views

btrfs mount options problem

I have Ubuntu 19.04 with 2 btrfs filesystems on hdd and ssd: /dev/sda3, /dev/nvme0n1p2. I want to disable COW (option "nodatacow") on the subvolumes "vm" and "downloads" of sda3, and contrary enable ...
1
vote
1answer
53 views

Btrfs Quotas for Hierarchy in Filesystem

I want to implement a hierarchy of quotas in my filesystem. I will show you an example: Folder A has Folder A1 and A2. A / \ A1 A2 A should have a quota(limit) 10GB A1 should have a quota(...
1
vote
1answer
378 views

How to create a RAID1 btrfs with two disks and a mirror attached to each?

I want to convert my ZFS pool to a btrfs filesystem because the ZFS performance is very poor. I had the following setup which was very easy to create using zpool add and zpool attach: NAME ...
0
votes
1answer
76 views

Shrink encrypted home partition

My current partition setup looks like this $ sudo df -h Filesystem Size Used Avail Use% Mounted on udev 7.7G 0 7.7G 0% /dev tmpfs ...
6
votes
2answers
267 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 ...
0
votes
0answers
58 views

BTRFS partition's data usage is double the amount shown by DU or NCDU

I've got a ~450gb SSD BTRFS partition. According to all the BTRFS commands (such as show) and DF, it's at 410G, but according to du -chs it's at 245G. I tried some balance commands, but it didn't ...
0
votes
0answers
558 views

btrfs-progs but it is not going to be installed

I am using this guide to check available disk space. For that, I tried using the last option to see space in one full number. But I am unable to see it. This is the error I got: $ sudo apt-get ...
2
votes
0answers
301 views

OpenSUSE installed alongside Windows 10 doesn't boot after installing Ubuntu [duplicate]

I installed openSUSE Tumbleweed on my HP probook in dual boot with Windows 10. Then, I noticed some bugs in openSUSE and decided to try Ubuntu 18.04. But after I installed Ubuntu the openSUSE didn't ...
0
votes
1answer
515 views

Grub drops to shell after update

Kubuntu 19.04, updated as of May 17th. This morning I ran updates on my Kubuntu installation, and after reboot, grub drops me to grub shell without giving me my grub menu. This has happened to me a ...
6
votes
3answers
15k views

What's the difference between Rsync & BTRFS Snapshots

Context: I was thinking about making snapshot for safety reasons, so I downloaded Timeshift but once installed, I have to make a choice between Rsync and BTRFS Snapshots I already read the ...
1
vote
0answers
41 views

Free space discrepacy in BTRFS

I am missing about 40GB of free space on Ubuntu 18 / BTRFS system. Any idea what I can try? btrfs check /dev/sdb6 did not help: root@Tablet4:/home/janbenes# du -xh --max-depth=1 / | sort -h 0 /...
0
votes
1answer
95 views

Old Ubuntu Image Won't Boot

I upgraded to 19.04 a few weeks ago and now I'm trying to downgrade to 18.04 temporarily. I made backups of my system using btrfs backups to an external drive and then placed my old 18.04 @ and @home ...
0
votes
2answers
441 views

Btrfs logical volume groups crash making the device unmountable

I did an online upgrade from soft raid5 (3TB*8disk) to raid6 (3TB*10disk). This causes the logical volume groups to crash making the device unmountable. I try to recover the files using the method ...
1
vote
0answers
153 views

Large file copy causing user threads to not get scheduled on CPU

We are running Xenial (16.04) with Linux kernel 4.15.0-36-generic and running a script that does the below in a loop Copy file from one location to another on disk. SFTP the above file to an ...
2
votes
0answers
98 views

Is it advisable to create partitions of different block sizes to categorize files? How does it affect performance?

1 and 2 are essentially the same question, but with a slightly different context. 1) Let's say you have an external 1 TB SSD, and you have hundreds of large files like DVDs/Video about 2GB each and ...
0
votes
2answers
194 views

Change btrfs Filesystem Block Size While Migrating Ubuntu 18.10 Environment to Larger SSD?

I have a 500 GB SSD in my laptop with a partition holding Windows 7 and a second partition holding Ubuntu 18.10 installed on a BTRFS filesystem with a 4KB block size and dual boot. I have a 1 TB SSD ...
0
votes
1answer
81 views

Copied Ubuntu 18 to new partition, but it does not start

As written in tens of tutorials, I have created new partition (btrfs), copied over all files from original parition (ext4), using cp, rsync.. Tried various methods, copied filesystem seems to be OK. ...
1
vote
0answers
398 views

16.04 with 4.15.0-36-generic kernel: system freezes with several worker threads blocked/hanging in BTRFS module

We are Ubuntu shop running Xenial (16.04) with Linux kernel 4.15.0-36-generic. We recently migrated our application code from Ubuntu 14.04/linux kernel 4.4.0-23. We are experiencing some system hang ...
0
votes
1answer
348 views

BTRFS Shrink: No Space on Disk? [duplicate]

I'm trying to shrink my btrfs 900Gib HDD down to 500Gib so that I can transfer it using clonezilla to my new 500 Gib SSD. I thought that I could just shrink down the partition using gparted, but it ...
0
votes
1answer
254 views

Does Kernel HWE 4.18.0-13 support overlay nfs_export=on?

I have a problem nfs exporting an overlay of btrfs and ext4. The overlay works, but even though it is mounted with nfs_export=on I get the error message: exportfs: /data/merged does not support NFS ...
2
votes
1answer
296 views

Resize 2 Btrfs partition behind luks encryption

I come to you after a non successful research about my issue. Because I underestimated the size of the root partition, It is now full as ****. Therefore, I want to resize it. Since my /home partition ...
0
votes
1answer
171 views

apt-btrfs-snapshot: Exception when trying to delete snapshots

On Ubuntu, when you run apt upgrade it creates a btrfs snapshot, if you use this file system. The problem with this, is that after a while you endup with problems writing to disk because having too ...
2
votes
1answer
3k views

What are the main differences between a system snapshots (Timeshift) and partition images (saved as iso)?

Following comments under this answer of mine I became interested in the question whether the best option for me in order to back-up a system is a partition back-up as described at the linked answer or ...
0
votes
2answers
1k views

How do I point grub back to a working Ubuntu (btrfs !)

I have installed a second Ubuntu on laptop that had already a MSFT Windows and a working version of Ubuntu 18.04. Upon rebooting, I realised grub did not show two but one Ubuntu. This new version ...
0
votes
1answer
492 views

Timeshift 18.9.1 - Cant add Comments to btrfs snapshots

I often use timeshift snapshots with btrfs (and also snapper on servers). Bot have a comments field for each snapshot. With snapper, i can add a comment as a command-line option. Timeshift also adds ...
2
votes
0answers
904 views

btrfs problems Ubuntu Server 18.04.1 - can't mount

I have had a 5 disk btrfs raid 5 running for couple of months now, it has been behaving perfect. Yesterday I could reach the storage raid. So I ssh'd in to the machine and: Started to look at the ...
7
votes
3answers
3k views

Where to get btrfs-convert on 18.04?

I installed btrfs-progs on 18.04, but btrfs-convert is still not available. I have checked that the btrfs-progs deb package does not contain btrfs-convert, only its man page. How can I get btrfs-...
0
votes
0answers
77 views

BTRFS defragment only new files added after last defragmentation

I am using sudo btrfs fi defragment -rv /media/user/mountdir to defragment my offsite server backups now counting millions of small files an several TB of data. Every time I run the defragment command,...
0
votes
1answer
263 views

btrfs volume is full

Ubuntu says that my btrfs partition is full when it should not be full. It clearly says under Contents: that there is only one file with size 912.7GB, however 997,9 GB are used and I don't know what ...
0
votes
1answer
314 views

Is it safe to use apt-btrfs-snapshot for complete system restore on new machine?

I have a small server that I use as a NAS, it has a few services running on it and a number of files that it stores. It is configured as RAID1 with two SSDs, formatted with btrfs. I use apt-btrfs-...
0
votes
1answer
337 views

Does /lib/modules folder must be on root device?

Just trying out things, I mounted a btrfs subvolume on /lib/modules, installed kernel on it. Everything seemed fine. But when I modprobe any module, it returned 0 without message and did not load that ...

1
2 3 4 5
7