Skip to main content

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
0 votes
0 answers
75 views

What are the reasons, that the 24.04 installer doesn't create sub-volumes, when using btrfs?

After about 15 years, I'm using Ubuntu again. The Ubuntu 24.04 LTS Desktop Edition looks fine. Admittedly, I wanted to start with Fedora to some extent, but after a fresh installation, there are some ...
Chris81T's user avatar
0 votes
0 answers
129 views

Advice for clean upgrade to 24.04 from 23.10 with RAID1 using mdadm

Looking for advice on how to to a clean install / upgrade from 23.10 to 24.04 on a desktop computer I use for streaming/Plex that also has 2x12 TB (Ext4) drives in RAID1 configuration using mdadm. ...
David Schult's user avatar
0 votes
1 answer
616 views

Ubuntu 24.04 server install on software raid1 ssds btrfs

what would be the best way to install ubuntu server 24.04 on mirrored software raid1 (two) ssds btrfs? I found the tutorial below for 20.04, would 24.04 require different steps? Would 24.04 offer new ...
Ioan Stan's user avatar
0 votes
0 answers
98 views

Ubuntu 22.04 randomly hangs for ~1-5 seconds

I've been experiencing a frustrating issue with my Ubuntu 22.04 system where it randomly hangs or freezes for about 1 to 5 seconds. This happens intermittently and without any clear pattern, making it ...
Javad Ibrahimli's user avatar
0 votes
0 answers
60 views

Help, btrfs not mounting, dev extent overlap with previous dev extent

One of my btrfs file system not mount at boot anmore. dmesg: BTRFS error (device dm-7): dev extent devid 3 physical offset 725923790848 overlap with previous dev extent end 725923856384 BTRFS error (...
Rimits's user avatar
  • 1
2 votes
1 answer
2k views

Timeshift on Ubuntu 24.04 @ subvolume not present

I just did a fresh install of Ubuntu 24.04 LTS on BTRFS. Installed Timeshift and it did not work because the 24.04 system was installed on / without creating BTRFS subvolumes @ and @home. (Ubuntu 22....
Majal's user avatar
  • 8,097
0 votes
0 answers
103 views

Installing Grub on btrfs /boot when root is on ZFS

I'd like to use Grub for booting my Ubuntu 22.04 system. The system has its root filesystem on a ZFS dataset, it has the usual EFI boot partition, and a btrfs partition that can be used as /boot. When ...
Cactus's user avatar
  • 215
0 votes
0 answers
528 views

How to install Ubuntu Desktop 22.04 to a btrfs partition

I've already seen answers in askubuntu, but for old versions. Disk encryption and hibernation support would be interesting to have. I'd like to activate btrfs compression and to install root and home ...
david.perez's user avatar
1 vote
2 answers
2k views

Ubuntu boot stuck at "btrfs loaded crc32c=crc32c-intel zoned=yes fsverity=yes"

I've been stuck on this for 5 days now, so any help would be appreciated> This is a bare metal server on OVH running Ubuntu 22.04. The OS was installed on a RAID1 array using both "system ...
Sasho Jankovski's user avatar
3 votes
2 answers
2k views

Many "UBSAN: array-index-out-of-bounds" about bcache at boot time (kernel 6.5.0)

I installed a btrfs filesystem relying on two devices (for btrfs raid1) that are mappers (cryptsetup luksOpen) of bcache devices (NVME + HDD). This btrfs filesystem seems to work perfectly. However, ...
Fade's user avatar
  • 31
0 votes
0 answers
59 views

GlusterFS help on setting up or a alternative option

I currently have a mergerFS mount set up with 3 disks, but want to add a way for another server so i can use docker swarm and have both hosts with the same data and setup. All I could find was rsync ...
user2029325's user avatar
0 votes
1 answer
254 views

How do I mount 2 Top level subvolumes on the same BTRFS partition when I have already installed home to a BTRFS disk during installation

I recently installed Ubuntu 22.04 on my machine. I used a RAID 6 volume as my home partition (36 TB). The whole disk is only one partition /dev/sda1 formatted BTRFS mount to /home. I wanted to create ...
P. Gupta's user avatar
1 vote
1 answer
553 views

Snapshots backup problems Ubuntu 23.10

I tried to use Timeshift for a snapshot backup but when I installed it , it can not find my root partition as it is not in a shape like /@ and /@home. How to get that ? I am using Ubuntu 23.10. During ...
Marko's user avatar
  • 31
0 votes
0 answers
267 views

Unable to use timeshift after btrfs installation

I just installed Ubuntu 23.04 with btrfs installation the point i do not think everything went great indeed I think the btrfs subvolumes are missing and i do not know how to fix this without losing ...
Michael's user avatar
  • 13
1 vote
0 answers
87 views

Ubuntu 23.04 flutter installer fails with custom partitioning

The new Ubuntu installer consistently fails to complete installation when using custom partitioning. It only works when selecting Erase Disk and using the default settings. How do I fix this? I'm ...
techguy378's user avatar
1 vote
1 answer
734 views

Mount specific removable media with mount options by default

I run Ubuntu Mate 22.04 and I have a USB mass storage device (aka USB-Stick) that is formatted with btrfs. I know it's partition UUID and label and I want it specifically to be mounted with specific ...
FalcoGer's user avatar
  • 895
1 vote
1 answer
156 views

Advice? External USB harddrive accidentally unplugged (no activity at time). Re-plugged, but `mountpoint`/`findmnt`/`lsblk` disagree if mounted?

[(This really isn't an unbuntu-specific question, but yeah...)] So I just accidentally bumped and and unplugged the cable on an external USB harddrive. There was no activity at the time. It's btrfs (...
dwawlyn's user avatar
  • 11
1 vote
0 answers
144 views

BTRFS "ghost" directories/files are not deleted

I get an "not empty" error when I try to delete a directory with sudo rm -fr /net7.0. The directory: ➜ ls -la net7.0 ls: cannot access 'x86': There is no such file or directory total 0 ...
Paraekklisiarh's user avatar
0 votes
1 answer
593 views

Btrfs raid 1 and Ubuntu server installation

Unlike in the desktop version the server installer doesn't allow to set a mount point without formatting the disc. Is there a other possibility to install Ubuntu server on a btrfs raid 1 array?
Dr. Strom's user avatar
0 votes
1 answer
420 views

I'd like to run Ubuntu with btrfs subvolumes and the drive must be encrypted

I'd like to run Ubuntu on a encrypted drive. I'd also like to use btrfs subvolumes so I can use the super cool snapshot feature. The installer supports one or the other. I've tried doing an arch style ...
Tom A.'s user avatar
  • 27
0 votes
0 answers
1k views

How do I install Ubuntu 23.04 on an encrypted Btrfs filesystem?

I currently use an encrypted Btrfs filesystem (cryptsetup+luks), which I could set up easily using the Ubuntu 22.10 setup. With Ubuntu 23.04, I only managed to install it on an encrypted LVM+ext4 ...
Torsten Bronger's user avatar
0 votes
0 answers
247 views

How to install Ubuntu 22.04 LTS on new laptop with 1 TB ssd drive

I will be getting a new laptop and would like to install Ubuntu using the btrfs file system. No encryption required. I am looking for as much advice, suggestions, procedures others have used as well ...
Altamont Sam's user avatar
1 vote
1 answer
7k views

how to restore btrfs snapshot backup of root partition with subvolume for home

I have btrfs over luks over lvm on a physical ssd drive. I've done some crap with apt and break my system. I want to reverse it to previous state. When i boot on a live usb and decipher my luks drive ...
1000i100's user avatar
  • 111
1 vote
1 answer
248 views

How to recover data from drives in bcache configuration

I'm trying to recover the data in hard drives that was set up in raid and bcache. I'm using ubuntu 22.04 and just migrate the two hard drives in raid 1 to another computer. I have no longer the ssd ...
mariano torres manno's user avatar
1 vote
0 answers
1k views

Ubuntu Server 22.04: ZFS vs btrfs, each with compression for heavy use email server - which has a lower memory and CPU footprint?

I'm deliberating a situation where I need to use Ubuntu 22.04 for a rather heavy use email server with "infinite" storage for users via Dovecot + maildir. A lot of the users live in the era ...
ylluminate's user avatar
  • 1,529
0 votes
1 answer
2k views

Move the root from one subvolume to another in BTRFS

I want to install Ubuntu in the BTRFS @root subvolume, but the Ubuntu installer does not allow changing the default subvolumes and installs in @ and @home. I'm trying to create a @root subvolume after ...
Bob's user avatar
  • 208
5 votes
1 answer
990 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
1 vote
1 answer
3k views

Ubuntu 22.04 Server BTRFS root

I am trying to install ubuntu server 22.04 on a BTRFS root partition but i cannot get past the installer not allowing me to set the root filesystem on a btrfs partition. My Disk layout: 3 500GB SSDs (...
Wilko van der Veen's user avatar
1 vote
0 answers
392 views

Update EFI/grub to dualboot two distribs from single drive with btrfs

I'm trying to create dualboot system with openSuse (15.4) and Ubuntu (20.04). I had Suse installed on a drive /dev/sda with following structure: /dev/sda |- /dev/sda1 |- /boot/efi (vfat)...
maiksaray's user avatar
0 votes
0 answers
85 views

Have problem using mkfs.btrfs -m single?

Thanks for reading my topic. When using mkfs.btrfs the default for metadata is dup (duplicate). Will I have problem if I use mkfs.btrfs -m single? Users are saying the main use of "-m dup" ...
aug7744's user avatar
  • 19
4 votes
1 answer
3k views

Ubuntu 22.04 server installer does not create btrfs subvolumes?

I installed Ubuntu 22.04 LTS server today and selected BTRFS as for the / partition. Here is the scheme I selected in the custom installation: /boot 2G ext4 /boot/efi 1G fat32 SWAP 4G / ...
tcapwasraw's user avatar
0 votes
1 answer
479 views

Help combining two BTRFS filesystems converted from ext4

So, I have three hard drives in my computer, and am running Ubuntu 22.04.1 /dev/sda1 and /dev/sdc1 are two internal drives that were originally EXT4, but converted to btrfs successfully with no issues....
Glaceon Chan's user avatar
-1 votes
1 answer
2k views

how do i find the total size of BTRFS snapshots

I have a btrfs volume /shares that is snapshotted daily into /.snapshot folder. I need to find out the real disk use of my /.snapshot folder. Currently it seems misleading becasue it lists each ...
Clint's user avatar
  • 186
0 votes
2 answers
467 views

Not all BTRFS devices are found during boot

I have recently upgraded from Ubuntu 18.04 to Ubuntu 20.04 with a view to moving Ubuntu 22.04, because I've fallen behind. My root filesystem is BTRFS and is spread across three devices, some of which ...
Ken Sharp's user avatar
  • 1,006
1 vote
0 answers
458 views

Ubuntu showing "No space left on device" but I still have space

I have Ubuntu installed on a Lenovo laptop with three partitions. The first partition is formatted with an ext4 file system and mounted at root /. It has 248GB of storage allocated to it. The second ...
tyoveremo's user avatar
6 votes
3 answers
2k 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
  • 211
0 votes
1 answer
485 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 ...
The Benjiro's user avatar
0 votes
0 answers
276 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 ...
dominbdg's user avatar
0 votes
1 answer
912 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 ...
Nathan Tibbetts's user avatar
0 votes
1 answer
382 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 ...
tribbloid's user avatar
  • 121
0 votes
0 answers
177 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 ...
ifiht's user avatar
  • 166
1 vote
0 answers
234 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 ...
michacassola's user avatar
0 votes
0 answers
585 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), ...
Thelambofgoat's user avatar
2 votes
0 answers
504 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 ...
tribbloid's user avatar
  • 121
0 votes
0 answers
186 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 ...
exebook's user avatar
  • 369
0 votes
1 answer
516 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% ...
Guidable's user avatar
3 votes
0 answers
450 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 "...
shmu's user avatar
  • 454
0 votes
0 answers
164 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: ...
Patison's user avatar
1 vote
1 answer
2k 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 ...
RKillcrazy's user avatar
1 vote
1 answer
328 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 ? ...
pasman pasmański's user avatar

1
2 3 4 5
8