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
6
votes
2answers
124 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
20 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
34 views

Why isn't Snapper runnable upon fresh install?

I just installed snapper usigng the official repository and it doesn't run out of the box. I get this error: sarah@LesserArk:~$ snapper snapper: symbol lookup error: snapper: undefined symbol: ...
0
votes
0answers
75 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 ...
0
votes
0answers
45 views

Configure EFI to boot Ubuntu from btrfs subvolume

I copied installation of Ubuntu to btrfs subvolumes. @ and @home on /dev/sda9 Can I modify EFI/ubuntu/grub.cfg to boot from /@ subvolume? Here its content: search.fs_uuid 6cac4c41-4b04-4a55-b456-...
2
votes
0answers
83 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
0answers
44 views

Fix GRUB2 with BTRFS on LUKS after install and reboot

My mapping is as follows: EFI: /dev/sdb1 Boot (xfs): /dev/sdb2 Luks (no LV) BTRFS: /dev/sdb4 Luks Swap: /dev/sdb3 On an x86_EFI-signed target system, I have tried almost everything that I can ...
0
votes
1answer
166 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 ...
0
votes
1answer
1k 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
21 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
0answers
24 views

BTRFS New Backup from Previous Snapshot is Unable to Remove a Directory?

I have several BTRFS incremental snapshots on my external drive. When I performed the latest one today, it gave an error back saying that it was unable to remove a directory. At subvol /media/sarah/...
0
votes
1answer
47 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
123 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
66 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
77 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
122 views

Change btrfs Filesystem Block Size While Migrating Ubunto 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
56 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
265 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
170 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
0answers
58 views

Are there any BTRFS file system tutorials for desktop users later than 2015?

I installed ubuntu18.10 on a Btrfs file system for the promised advantages of CoW, snapshooting, mounted resizing, device-pooling and so on. As a desktop user with data science background I am looking ...
0
votes
1answer
115 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 ...
0
votes
0answers
41 views

Changing the partition/filesystem label in nautilus

I have btrfs partition with several subvolumes. I ususally mount the top volume with nautilus which works fine. The resulting entry in nautilus is named after the filesystem label. If I now manually ...
2
votes
1answer
128 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
0answers
194 views

BTRFS - subvolid=xxx option not not working on EFI system

I have two systems. One is using BIOS the other UEFI. Both systems were installed on BTRFS but since, at the time, i didn't understand the practicalities of using snapshots, installation wasn't done ...
0
votes
0answers
123 views

Lubuntu 16.04 LTS stuck on splash screen after kernel update[SOLVED]

I decided to test Btrfs so I installed Lubuntu using it. Everything went fine until I updated the kernel from 4.08 to 4.15. After that, the system simply won't boot. I get past the grub menu, but ...
0
votes
0answers
47 views

I'm thinking of using btrfs but I have few questions

Does btrfs make multiple devices appear as one device? (eg. Would 2 3TB and an 8TB drive appear as a single 14TB volume) Assuming btrfs mkes multiple devices appear as a single device, how would it ...
0
votes
1answer
98 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
1k 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
553 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
195 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 ...
1
vote
0answers
585 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 ...
5
votes
3answers
2k 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
48 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
165 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
172 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
130 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
vote
1answer
310 views

How to repair a broken apt-btrfs-snapshot in kubuntu 18.04?

After installing Kubuntu 18.04 on a Thinkpad W520 on btrfs over LUKS I came to the activation of the automatic APT snapshots. Here it shows up that any call of apt-btrfs-snapshot crashes, complaining ...
0
votes
0answers
569 views

Btrbck Error: Not a BTRFS Filesystem?

I have installed my Kubuntu 18.04 system using a manual partitioning scheme and chose BTRFS in the install screen. This is confirmed using the disks utility. However, when I try to follow this ...
0
votes
1answer
403 views

Deleting a btrfs subvolume without losing the data inside

I have a btrfs file system on my media server. It was my first time setting up a system with btrfs and I thought it would be a good idea to separate different types of media into different subvolumes, ...
0
votes
0answers
96 views

Do I have an ext4 partition?

I ran the command file -sL /dev/sda*, and out of nine drives, the first part of the output of the seventh one says /dev/sda7: Linux rev 1.0 ext4 filesystem data. Just to make sure, does this mean I ...
0
votes
1answer
87 views

howto rollback failed release upgrade?

Yesterday I did a "do-release-upgrade" to 18.04 that ended with a lot of errors and packages left unconfigured. Now I can only get a console. I guess the reason for the failure is that a btrfs-...
1
vote
0answers
547 views

Convert ext4 to btrfs with kernel > 4.0

I'm thinking about converting the data disk of my little home server from ext4 to btrfs. After some reading I came over the btrfs-convert (from package btrfs-tools), that allows in-place conversion ...
1
vote
1answer
813 views

convert a single drive btrfs disk into a RAID1 with a second disk

I am running btrfs 4.15.1 on a fresh ubuntu 18.04 server. I have a small hardrive which for / and a large disk for documents served to my colleagues in our office via samba. That data drive is used ...
1
vote
1answer
3k views

How to fix a not booting ubuntu setup with encrypted root disk?

Ubuntu is not booting but printing weird things, either /run/lvm/lvmetad.socket: connect failed: No such file or directory or /sbin/cryptsetup not found then falls back to busybox after a few ...
1
vote
0answers
461 views

Btrfs input/output error

I have a weird issue with a broken kernel image that broke when uninstalling. It looks like an hard drive error - however I am not 100% sure. I could maybe ignore this but as this is related to an ...
1
vote
1answer
203 views

USB hard disk mount options

How do I setup mount options for an external USB hard drive? I have an USB drive formated with BTRFS, each time the USB is plugged the drive is automatically mounted in /media/user/disklabel with ...
0
votes
1answer
86 views

btrfs incremental snapshots: find UUID in sent data

i am doing incremental snapshots with btrfs using btrfs send and btrfs receive assuming i start from an initial snapshot snapshot_0 and send the data to a file $ sudo btrfs send snapshot_0 -f ...
1
vote
0answers
123 views

After installing Lubuntu, data at BTRFS /home partion becomes invisible

Today I dusted of my little workforce laptop and replaced the EOL Manjaro with a Lubuntu 17.10 install. I was smart enough to put /home at a separate partition to make distro switching easier. During ...
0
votes
1answer
912 views

Ubuntu 16.04 Server black screen after grub

I'm having issues with my server, one day it was working fine then the next I was experiencing this issue were after the GRUB screen, it goes straight to a black screen and does nothing, no error, no ...
0
votes
1answer
794 views

Mounting BTRFS, no space available

After a win10 upgrade gone wrong, my boot sequence is broken and now I can't write on my BTRFS partition. Here's the content of my ssd Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors ...