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.
382
questions
0
votes
0
answers
150
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 ...
0
votes
2
answers
444
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 ...
2
votes
1
answer
1k
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, ...
0
votes
0
answers
50
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 ...
0
votes
1
answer
117
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 ...
1
vote
1
answer
500
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 ...
0
votes
0
answers
148
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 ...
1
vote
0
answers
64
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 ...
0
votes
0
answers
183
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 ...
1
vote
1
answer
438
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 ...
0
votes
0
answers
50
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 ...
0
votes
0
answers
193
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
1
vote
1
answer
89
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 (...
1
vote
0
answers
102
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
...
0
votes
0
answers
85
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.
0
votes
1
answer
353
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?
0
votes
0
answers
180
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....
0
votes
1
answer
339
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 ...
0
votes
0
answers
108
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 ...
0
votes
0
answers
204
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
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 ...
0
votes
0
answers
205
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 ...
0
votes
0
answers
56
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.
0
votes
0
answers
211
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
...
0
votes
0
answers
137
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. (...
0
votes
1
answer
4k
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 ...
1
vote
1
answer
164
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 ...
1
vote
0
answers
860
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 ...
0
votes
1
answer
1k
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 ...
5
votes
1
answer
784
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 ...
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 (...
1
vote
0
answers
345
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)...
0
votes
0
answers
63
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" ...
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
/ ...
0
votes
1
answer
288
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....
-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 ...
0
votes
1
answer
352
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 ...
1
vote
0
answers
312
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 ...
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 ...
0
votes
1
answer
440
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
...
0
votes
0
answers
202
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 ...
0
votes
1
answer
756
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 ...
0
votes
1
answer
283
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 ...
0
votes
0
answers
134
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 ...
1
vote
0
answers
169
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 ...
0
votes
0
answers
549
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), ...
2
votes
0
answers
405
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 ...
0
votes
0
answers
148
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 ...
0
votes
1
answer
349
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% ...
3
votes
0
answers
392
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 "...