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
0 answers
16 views

BTRFS Raid 0, 4 devices - does it actively stripe or do I need to create a cron job that runs btrfs balance?

I intend to make the fastest setup I can with the hardware I have, regardless of redundancy. I installed Ubuntu on a BTRFS filesystem of one SSD (/dev/sda1) and then added 3 other SSD's (/dev/sd[bcd]1)...
user avatar
0 votes
0 answers
28 views

How to fix: Failed to start default target: Transaction for grafical.target/start is destructive with BTRFS errors?

After installing Linux Ubuntu 22.04 on usb-stick some applications did not work (for example: “Ubuntu Software”). I tried reinstalling this app with this video tutorial: https://youtu.be/9pq7in1DTe8 ...
user avatar
0 votes
0 answers
23 views

issues with btrfs with read-only mode

I have following issue, when I have installed ubuntu with btrfs I have every couple of days issue that disk is in read-only mode. When I restart my computer everything is fine until next couple of ...
user avatar
0 votes
1 answer
143 views

The package system is broken, possibly caused by kernel version mismatch?

A couple of days ago I found that my Ubuntu 21.10 could no longer perform updates, and at the same time found that the "Ubuntu Software" app finding utility could no longer find any apps at ...
user avatar
0 votes
1 answer
28 views

How to respond to the btrfsck information "well this shouldn't happen, extent record overlaps but is metadata?"

When I run btrfs check --repair to try to fix the following error, I got the following output: $ sudo btrfs check --repair /dev/sda1 enabling repair mode WARNING: Do not use --repair unless you ...
user avatar
0 votes
0 answers
47 views

apt freezes mid-install/uninstall every time, Ubuntu 20.04.4 LTS

I'm out of ideas how to fix this, it has persisted across reboots, apt updates, apt upgrades, even a sudo dpkg --configure -a The nice thing is I have two machines both behaving this way, both are ...
user avatar
  • 101
0 votes
0 answers
60 views

How to create an image as small as a cloud image?

Creating an Ubuntu 22.04 server image with the official .iso and VirtualBox, for it to be on BTRFS subvolumes, I ended up with more than 4GB of virtual disk. How do I create an image that is as nice ...
user avatar
0 votes
0 answers
127 views

Mount btrfs filesystem on Ubuntu filesystem

I have next problem - I installed first Fedora on nvme-ssd. Then Ubuntu on usual ssd on same PC. Now I neither can access Fedora (even if I switch off Ubuntu ssd completely, seems it messed MBR), ...
user avatar
0 votes
0 answers
64 views

Persistent error "BTRFS error (device sda1): incorrect extent count for 153567100928; counted 221, expected 222" which cannot be fixed

When I open the system log in Ubuntu 20.04 I consistently run in this error: BTRFS error (device sda1): incorrect extent count for 153567100928; counted 221, expected 222 I can't get extra ...
user avatar
0 votes
0 answers
101 views

Fresh install of Kubuntu after changes to btrfs root partition drops into emergency boot

I made a fresh install of Kubuntu with the latest Ubuntu version and installed the system on a btrfs root partition. After reading up on proposed filesystem layout, I rearranged the system by making ...
user avatar
  • 3,922
0 votes
0 answers
21 views

how to use existing default.img

I have an unused 222G file /mnt/disc/default.img. It was created a year ago when I was in process of expanding disc space for our container. But I got distracted and never completed the task. Now I ...
user avatar
  • 270
0 votes
0 answers
36 views

Root fs not mounted on real hardware

insmod all_video insmod part_msdos insmod btrfs insmod loop insmod gzio insmod chain set linux_gfx_mode=text menuentry 'Ubuntu Impish' --class gnu-linux { set quiet=0 search --no-...
user avatar
  • 270
0 votes
1 answer
57 views

Help me choose a drive pooling strategy for my NAS / media server

I'm currently running a NAS with a Ryzen 1600, 16GB of memory, Ubuntu Server, a small SSD for the OS and two 8TB HDDs (mounted at /data and /backup). Both drives are ext4 formatted and about 60% ...
user avatar
  • 13
1 vote
0 answers
183 views

Timeshift backup on btrfs partition fails with error when @home subvolume is included in backup

I installed Kubuntu 21.10 on btrfs partition. By default, it creates @ and @home. I booted into my new Kubuntu btrfs installation, and indeed, I am able to make a Timeshift snapshot, just as "...
user avatar
  • 295
0 votes
0 answers
107 views

Ubuntu 21.10 BTRFS free space on /

I have a problem with free space on btrfs. fecaloid@fecaloid:~/ssd/Host$ sudo du -h --max-depth=1 / 123M /boot 782G /home 22M /etc 4,0K /media 6,3G /var 16K /dev 0 /mnt 1,2G /opt du: ...
user avatar
1 vote
1 answer
606 views

How do I Install Ubuntu, using BtrFS and the Server ISO and still be able to use Timeshift?

To be clear, I'm not trying to install a server; I'm using it to install the base OS and then I install the vanilla gnome desktop package. I use the server ISO because they stopped making the mini ...
user avatar
1 vote
1 answer
111 views

Enable btrfs compression while installing Lubuntu 21.10

I tried to install Lubuntu 21.10 on btrfs partition. It works, but by default compression is not enabled. Is possible to enable compression in installer, or with some parameters for installer ? ...
user avatar
2 votes
1 answer
541 views

What do I need to do to install 21.10 with btrfs?

I’m currently using Ubuntu 21.04 with ext4 on an internal 2TB nvme drive (AMD Ryzen with no dual boot). I want to upgrade to 21.10 with btrfs. I’m assuming I need to totally wipe out 21.04 and do a ...
user avatar
1 vote
0 answers
72 views

How do I achieve dual boot after a custom Ubuntu install on a Windows 11 machine?

I am trying to add Ubuntu to a new Windows machine. It has a 1 TB SSD with Windows 11 on it. I have shrunk the Windows partition and freed up 500 GB of space for Linux. When I install Ubuntu there's ...
user avatar
  • 1,531
2 votes
1 answer
122 views

I there any pre and post snapshot hooks for apt in ubuntu for btrfs snapper, like in arch, fedora and opensuse?

I there any pre and post snapshot hooks for apt in ubuntu for btrfs snapper, like in arch, fedora and opensuse?
user avatar
2 votes
0 answers
69 views

How to find out which disk is failing in a btrfs raid1 filesystem?

A couple of days ago system SSD in my desktop failed completely. A week or two before some symptoms appeared: the system occasionally booted as read-only, some errors appeared. But after a reboot all ...
user avatar
  • 82.6k
2 votes
1 answer
464 views

What is the Btrfs extended attribute 'm'?

I recently found one of my Virtual Machine images with the extended attribute 'm'. I tried to look it up, but I found no information. Is this an undocumented extended attribute? $ lsattr usb2ubuntu....
user avatar
  • 1,790
0 votes
0 answers
97 views

Why is my filesystem size larger than the partition size. (df vs fdisk)

So... I get that fdisk lists partition sizes, and df lists filesystem sizes, and that filesystem may use a portion of the partition and disagree on the size, but why would df list filesystem sizes ...
user avatar
  • 563
0 votes
1 answer
403 views

Grub not recognizing btrfs partition after Ubuntu installation

Recently I've installed Ubuntu 20.04 (ext4). On the same disk was installed Linux Mint 19 (btrfs). I was able to mount partition, copy files, etc. It wasn't corrupted. After installing Ubuntu grub was ...
user avatar
0 votes
0 answers
34 views

Logging issue in graphics terminal in Ubuntu 20.04 after timeshift setup

I installed timeshift btrfs type in my Dell laptop with Ubuntu 20.04 for btrfs. After reboot, I see login is not possible in graphics console and so pressing CTRL-ALT-F2 I came to text console and ...
user avatar
  • 61
1 vote
1 answer
53 views

Any way to pause a task and then restart within a pipe

I use a command like btrfs restore -iv /dev/sdc1 /RESTORED estimated time of running it is few days In every hour of running I see a lot of prompts like: We seem to be looping a lot on /path/to/some/...
user avatar
1 vote
0 answers
40 views

Why does a drive appear to have more free space than its capacity, even though a large amount of space is taken?

I have a 3 TB (2.7 TiB) hard drive attached to my system, which is formatted as Btrfs. As can be seen in the screenshot, there are files on the hard drive totaling 709.6 GiB (bottom part of the ...
user avatar
  • 209
1 vote
0 answers
297 views

How can I fix a BTRFS "parent transid verify failed" error?

I'm new to Ubuntu and I think something went wrong while performing apt upgrades. The unattended upgrades fail due to this error message: dpkg: Fehler beim Bearbeiten des Paketes linux-headers /...
user avatar
  • 11
1 vote
0 answers
274 views

What causes btrfs to be loaded at boot-time?

On my machine, I noticed in dmesg, that it runs benchmarks during boot time: [53263.092443] raid6: avx2x4 gen() 31855 MB/s [53263.160430] raid6: avx2x4 xor() 9347 MB/s [53263.228450] raid6: ...
user avatar
  • 1,053
1 vote
1 answer
737 views

btrfs subvolume strategy on single drive

I just installed Ubuntu 21.04 on a single SSD drive (this is my first time), with a single BTRFS-formatted partition beyond EFI. In the past running Windows, I would typically partition my drive with ...
user avatar
  • 113
0 votes
0 answers
308 views

20.04 Add grub-entry to boot a btrfs snapshot

I have install btrfs on my 20.04 system and I created a snapshot named @-2021-04-10 of the root subvolumne named @. Now a want to add a grub menu entry to boot this snapshot. How can I add such a boot ...
user avatar
0 votes
1 answer
212 views

External drive keeps getting mounted under /media/ even though I have it in fstab under /mnt

I have 3 physical external USB drives. All are btrfs. Two are combined into a single volume, the other is not. The two volumes are both in /etc/fstab to be mounted at /mnt and that works fine, but ...
user avatar
  • 736
1 vote
1 answer
406 views

file manager cannot mount btrfs usb disk

I have a btrfs usb disk. When I click on the partition, it cannot be mount and an error pops up: no object for d-bus interface But I can use udisksctl mount -b <dev> to mount it. I then click it ...
user avatar
  • 391
0 votes
1 answer
403 views

Why is my swapfile not getting automatically mounted?

I always have to manually activate the swapfile after boot. What's wrong? Here is my /etc/fstab: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique ...
user avatar
  • 3
1 vote
2 answers
498 views

How can I mount a subvolume on BTRFS from Arch in Ubuntu? [closed]

I have switched from Arch to Ubuntu. The installation was quite easy, however I cannot mount a BTRFS subvolume. When mounting with sudo mount -o subvol=markus /dev/nvme0n1p3 /mnt/backup/ I get the ...
user avatar
1 vote
0 answers
126 views

How short path to convert my home partition(encrypted) ext4 to btrfs?

What steps should I take to convert my / home (ext4) partition to btrfs It will be worth it, because in the past (2 years or more) I have used this file system, but I had some problems, especially ...
user avatar
1 vote
0 answers
202 views

system IO hangs/freezes randomly for ~30 sec

while working on my ubuntu 20.04 desktop, I'll notice a occasional freezes where it "mostly" goes out to lunch for 10's of seconds to ~1 minute. Happens perhaps ~~once an hour. I can still ...
user avatar
0 votes
1 answer
222 views

Prune BTRFS incremental snapshots

I'm pretty new to BTRFS. I managed to do a readonly snapshot of my system and send/receive it to an external drive (snapshotting it again as rw so I can even boot it): so far so good. I know that, in ...
user avatar
1 vote
1 answer
1k views

Create BTRFS snapshots of /home when its not set up as a subvolume

I've set up a backup-server that creates daily BTRFS-snapshots of / in /backup/. btrfs subvolume snapshot -r / /backup/$(date +%s) # simplified example I found this to be problematic because the ...
user avatar
  • 121
0 votes
1 answer
947 views

20.10 cryptsetup suddenly fails to open luks: Cannot use twofish-ecb cipher for keyslot encryption

Since the recent update from 20.04 to 20.10 cryptsetup fails to open luks container. Message is: > Cannot use twofish-ecb cipher for keyslot encryption. Keyslot open > failed. No usable keyslot ...
user avatar
2 votes
2 answers
279 views

How to mount individual user directories (Downloads, Pictures, etc) to different hard drives

I have my system running on a BTRFS partitioned SSD. I understand that some directories within the /home/user/ directory would benefit from being on the SSD, like .local, .config .Applications, etc. ...
user avatar
1 vote
1 answer
638 views

Does Ubuntu installer preserve btrfs @home subvolume while installing / to the @ subvolume on the same parttion?

On my laptop (Dell Lattitude E7470) I have Ubuntu 16.04 installed on a btrfs partition (/dev/sda2) using the standard @ and @home subvolumes for / and /home mountpoints. There is also an EFI system ...
user avatar
2 votes
2 answers
5k views

Ubuntu 20.04.01, full disk encryption, btrfs, & hibernation?

I am trying to install *20.04.01 on my desktop with full (or almost full as Tj puts it) disk encryption including encrypted swap partition that allows hibernation, and btrfs. The last few years I am ...
user avatar
0 votes
2 answers
727 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 ...
user avatar
  • 141
0 votes
1 answer
905 views

Not Enough Disk Space for Boot Repair

I recently upgraded from Ubuntu 18.04 LTS to 20.04.1 LTS and am now having problems booting my computer. It worked for a little bit but soon I was getting error messages that I was running out of ...
user avatar
  • 103
0 votes
1 answer
824 views

Ubuntu Server 20.04 install custom partitioning

Back when using OpenSUSE for my server, I devised a partitioning scheme that I was very satisfied with - a BTRFS RAID10 on bcache devices. I wanted to recreate this with Ubuntu Server 20.04, but so ...
user avatar
1 vote
0 answers
215 views

How to rollback a btrfs snapshot for root [ / ] after failed system update

I tried updating from 18.04 to 20.04 but something went wrong and the installer told me that my system could have ended up unusable. I think I know the cause (a bunch of third party repos). ...
user avatar
  • 982
0 votes
1 answer
1k 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.
user avatar
1 vote
1 answer
912 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 ...
user avatar
  • 244
1 vote
0 answers
105 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 ...
user avatar

1
2 3 4 5
7