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
1 vote
0 answers
16 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
0 votes
0 answers
53 views

Kernel panic while booting Ubuntu 23.04

When I try to boot into Ubuntu 23.04 it gets me into an initramfs shell as shown in the below picture. Running btrfs check gives no error for that partition. When I exit this shell I see the real ...
ECS038_ ArK's user avatar
1 vote
1 answer
54 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
  • 847
0 votes
0 answers
20 views

Need help with btrfs partitions

I installed ubuntu with custom partition layout. boot/efi root (/) as btrfs home (/home) as btrfs swap partition lsblk looks like : NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS nvme0n1 259:0 0 953,9G ...
Marko Batrac's user avatar
0 votes
0 answers
58 views

Need guidance for setup @ & @home BTRFS subvolume in Ubuntu 23.04

I want to get full guidance how to create @ and @home BTRFS subvolume in Ubuntu 23.04. I always get failed and finally failed to booting to my system. Thanks a lot for your help. Sorry my English
Moh. Anif Yuliansyah's user avatar
1 vote
1 answer
47 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
0 votes
0 answers
36 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
0 answers
45 views

Deduplicate btrfs via block based deduplication

I want to deduplicate my btrfs filesystem by blocks not files I tried bees but it did not load.
Downvoter's user avatar
0 votes
1 answer
149 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
0 answers
86 views

Trouble booting read only btrfs snap shots

I've set up my system with btrfs subvolumes. I've got btrfs assistant, snapper and grub-btrfs installed and working. However my problem is when I try to boot from a past snapshot I fail to load gdm3....
Tom A.'s user avatar
  • 17
0 votes
1 answer
203 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
  • 17
0 votes
0 answers
47 views

trash-cli on different BTRFS subvolume

I have a @home BTRFS subvolume which mounts /home/MYUSER, and a @ subvolume which mounts /. I keep my data on /mnt/dataint/data/SOMETHING. I can't trash from /mnt/dataint/data/SOMETHING. The two ...
robertspierre's user avatar
0 votes
0 answers
160 views

btrfs snapper layout configuration or installation

I've installed 23.04 with btrfs and I have now 2 subvolume: @ @home May I install snapper now or should I create more subvolume? and eventualy how? is there and howto? Kindly Regards
robertocannito's user avatar
0 votes
0 answers
989 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
91 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
0 votes
0 answers
36 views

Is possible recover repair an file with missing metadata?

Thanks for reading my topic. In an BTRFS partition is possible read or repair an file having missing or damaged own metada ? Have an nice week.
aug7744's user avatar
  • 23
0 votes
0 answers
107 views

Resizing a BTRFS image without mounting it

I'm trying to resize an image containing a btrfs filesystem: btrfs filesystem resize 16G disk.img But I get the following error: ERROR: resize works on mounted filesystems and accepts only ...
Maestro's user avatar
  • 123
0 votes
0 answers
61 views

Ubuntu doesn't detect external BTRFS Drive

I have a Seagate 8TB external drive with btrfs. It was connected to an rpi and being used as NAS. I've lost the SDCard on rpi so I just connected the drive directly to my laptop on Windows host. (...
Osman Ali's user avatar
0 votes
1 answer
2k 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
  • 101
0 votes
1 answer
101 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
462 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,369
0 votes
1 answer
600 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
0 votes
0 answers
334 views

Ubuntu 22.04. How to get all btrfs snapshots to appear in grub menu snapshot list?

Newbie here. I got a tech support person to install Ubuntu 22.04 in VBox with Btrfs on my root and home directories. He also installed timeshift-autosnap-apt and grub-btrfs and they’re working. So the ...
Advait's user avatar
  • 455
5 votes
1 answer
537 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
2k 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
288 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
50 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
  • 23
3 votes
1 answer
2k 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
150 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
968 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
1 answer
245 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
  • 955
1 vote
0 answers
189 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
5 votes
2 answers
870 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
0 votes
1 answer
385 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
104 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
597 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
193 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
0 votes
0 answers
86 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
  • 146
1 vote
0 answers
144 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
470 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
1 vote
0 answers
298 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
0 votes
0 answers
110 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
  • 319
0 votes
1 answer
186 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% ...
Eike's user avatar
  • 13
2 votes
0 answers
343 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
  • 355
0 votes
0 answers
140 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
1k 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
237 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
2 votes
1 answer
715 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 ...
Advait's user avatar
  • 455
1 vote
0 answers
104 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 ...
Christian's user avatar
  • 1,651
2 votes
1 answer
309 views

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

Is there any pre and post snapshot hooks for apt in ubuntu for btrfs snapper, like in arch, fedora and opensuse?
Austin Rojers's user avatar

1
2 3 4 5
8