Questions tagged [btrfs]

B-tree file system, next-generation Linux file system

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

How to remove a snapper config when getting error “deleting snapshot failed”?

I am using snapper to take snapshots of btrfs volumes. I have one for /var as well, but decided that I want to get rid of it. It corresponds to the _var snapper config. I can't manage to do this, ...
0
votes
0answers
27 views

docker using btrfs on lvm2 mount

I've modified my synology DS918 (DSM 6.2.2-24922 Update 4) to run docker-19.03.8. Unfortunately, while the main mount /volume1 is btrfs, and docker supports btrfs as a storage driver, it requires a ...
0
votes
0answers
58 views

Killed fstrim my bcache btrfs raid?

Imagine the following setup: 6x 2TB SATA drives, one 1TB NVME SSD, Ubuntu 18.04, Kernel 5.3.0-40 I configured the SSD as a bcache caching device and the HDDs as bcache backing device, formatted them ...
1
vote
0answers
99 views

Force btrfs to allocate unallocated space

My programs are complaining there is not enough space left on my btrfs RAID1. However, I seem to be unable to allocate more space. sudo btrfs filesystem resize 1:max /mnt sudo btrfs filesystem ...
1
vote
0answers
38 views

SSD, HDD, lvm on luks, btrfs, efi

I want to install Ubuntu desktop 20.04 on my laptop (which has an SSD and an HDD) using this scheme: Create luks2 container on each drive and lvms inside them. Format ssd's lvm as btrfs for using ...
0
votes
0answers
46 views

Is there an app/command that will produce a histogram of btrfs block usage?

The btrfs balance command will take filters for block usage to limit its action. To investigate btrfs block usage, is there an app or command that will produce a histogram, or even a list, of the ...
0
votes
0answers
22 views

I deleted the wrong subvolume. Can I restore/undo it?

On a hard drive I have two subvolumes: A and B. I wanted to delete A but actually typed: btrfs sub del B I immediately unmounted the partition. Can I undo deleting a subvolume and put the drive into ...
0
votes
1answer
53 views

smartctl looks like it's giving incorrect results, is my SSD dying?

While backing up some files today, I noticed that btrfs complained that some blocks on my Crucial MX500 1TB SSD didn't have the correct checksum. I ran a btrfs scrub which reported this: ● btrfs-...
0
votes
0answers
58 views

ReFS/BtrFS on hardware raid vs storage spaces/LVM?

I have a Dell Poweredge R230 with 4x 8TB Caviar Red which I‘d like to setup as company file server, likely running windows server (unless i go with btrfs and the windows driver is no good in which ...
0
votes
1answer
165 views

BTRFS Balance taking 100% cpu and 100% I/O

We have a SuSE 12, sp3 server (SLES, not openSuSE). There is only one disk in use on the system, the root disk with several file systems under mounted with BTRFS. We are seeing issues where a "btrfs ...
0
votes
0answers
26 views

How do I monitor a btrfs mount?

Migrating my RAID 1 to btrfs, I wonder how to monitor its health status properly. I have found three commands: $ btrfs device stats … $ btrfs fi show $ btrfs scrub start -B … Is calling regularly ...
0
votes
0answers
57 views

Urbackup unable to use btrfs partition

I'm trying to get urbackup 2.4.9.0 to work on Ubuntu 19.10 x86. I have a 2T usb drive partitioned as btrfs, but it's not recognized as btrfs by urbackup_snapshot_helper. /etc/urbackup/backupfolder ...
0
votes
0answers
97 views

encrypted swap file with btrfs

Per Btrfs documentation: From kernel 5.0+ btrfs have native swap files support, but with some limitations. The archlinux Wiki, meanwhile, gives instructions for encrypting a swap partition, ...
1
vote
0answers
121 views

deleting btrfs subvolume: any difference between “btrfs subvolume delete” and “rm -rf”?

as the title says, when deleting a btrfs subvolume, is there any reason to use the "proper" btrfs subvolume delete-command instead of just rm -rf ? (i assume the btrfs subvolume command is faster ...
1
vote
1answer
692 views

Increase the LXD/LXC Btrfs loop file storage pool size

Our production container crashed because its LXC storage pool is out of space. Here is dh -h from inside the container: Filesystem Size Used Avail Use% Mounted on /dev/loop0 82G 78G 2....
1
vote
0answers
74 views

Unable to mount BTRFS partition on RAID 5

I recently had a power outage, upon rebooting I was unable to mount my btrfs partition which is set up as raid 5. root@ubuntu:~# mdadm -D /dev/md2 /dev/md2: Version : 1.2 Creation ...
0
votes
0answers
63 views

Is the autodefrag mount option sufficient for MariaDB databases on Btrfs (Nextcloud, Gitea)

I don't really want to use nodatacow because that would require the WHOLE filesystem to enforce it which CoW was one of the main reasons I decided to use Btrfs. I don't think the databases are that ...
3
votes
0answers
130 views

Change btrfs compression level

I have created a btrfs filesystem with compression, using the compress option in fstab and it seems to be working. I would quite like to try the higher level of compression. I can change this in fstab,...
1
vote
1answer
226 views

What should happen if I delete files in a BtrFS snapshot?

I have an openSUSE computer that started with BtrFS early (like Leap 42.2). At one moment in the past the /tmp subvolume had become full (one big file) and I was not able to recover space until reboot ...
0
votes
0answers
41 views

Is it possible to repair a BTRFS raid 0 file system from a backup?

Here's the situation I'm in. I set up BTRFS with data in raid0 and metadata in raid1. 1 of the drives failed and I've already ordered a replacement. I made daily backups of the data to a separate ...
0
votes
0answers
187 views

Ubuntu Booting Stuck. Error is 'Btrfs Loaded'

I am not able to bot into a ubuntu 16.04 LTS system. Attaching image. I am trying from past few days but couldn't figure out issue. Screenshot of error
0
votes
0answers
135 views

How to fix btrfs build error?

I build btrfs-prog on ubuntu 16.04. I get the following error message. checking for PYTHON... no configure: error: Package requirements (python-3.6) were not met: No package 'python-3.6' found ...
0
votes
2answers
378 views

btrfs RAID1 with different disk sizes

I have an existing btrfs filesystems on a 2TB disk and I want to add another 5TB disk as redundancy. I can simply format the new disk with btrfs and add the device with btrfs device add /dev/sdX /...
0
votes
0answers
30 views

Can't get access to BTRFS mount point

Hello I had communication issues between storage HP D6000 and my server ( running in redhat 7.3). My HP D6000 server provide a /dev/sdc which is formated in BTRFS Indeed from my server I did not ...
1
vote
1answer
94 views

How to delete oldest BTRFS snapshot automatically?

It seems to me strange that there is no simple script that deletes oldest BTRFS snapshots after disk quota is reached. It was part of BTRFS tool family but it is not anymore. Since I am not that good ...
0
votes
0answers
52 views

How do I un-format / revert a format for a btrfs partition?

I have accidentally formatted a btrfs partition (spanning whole disk). I executed the following sequence: parted /dev/sdh mklabel gpt parted -a opt /dev/sdh mkpart primary btrfs 0% 100% mkfs.btrfs -...
0
votes
0answers
34 views

btrfs restore sticks at “Trying another mirror”, should I retry with `-i`?

I am trying to restore my data from a btrfs partition: btrfs restore -sxmSv -u 2 /dev/sdb3 /mnt/sda3 After the first Gb restored, it sticks to: Trying another mirror /mnt/sda3 does not grow any ...
0
votes
1answer
31 views

Changing drive location with btrfs- raid5

A file system of three hard drives is formatted in Raid 5 with btrfs. The server has 4 slots: 0, 1, 2 are busy. Now I want to put another drive in 0, because the server should boot from it. Can I ...
1
vote
0answers
117 views

Can anybody show me how to properly install Funtoo Linux on Btrfs filesystem (EFI)?

Well, I've tried to install Funtoo Linux and Arch Linux on Btrfs as root filesystem (in my notebook, so it's EFI) but I just could not reach this objective even following every kind of tutorials I've ...
1
vote
1answer
54 views

Phantom unreadable drives, hd0 through hd4, are causing errors

In Grub, in addition to hd5, which is my actual drive, there are hd0 through hd4. Trying to ls them says they have an unknown filesystem. When grub loads, it prints several pages of error: failure ...
1
vote
0answers
436 views

BTRFS root no space left on device, auto remount read-only; can't balance, can't add device

My BTRFs root filled up during system update and has been automatically remounted as read-only. I have plenty of files I can erase, but it's read only. I tried: sudo mount -o remount,rw / &...
0
votes
1answer
249 views

btrfs ontop of mdadm raid - calculating stripes for corrupt sectors for use with raid6check

I've got a setup with btrfs running on top of mdadm raid6 as btrfs's RAID5/6 code isn't stable yet. I figured this way I'd get the benefits of snapshotting and checksumming with a few extra hoops to ...
0
votes
0answers
42 views

Weird directories after installing any two Linux distros

When I install any Linux distro, I'm always successful now. But that only happens if I install one distro, and I dual boot Windows and usually Linux Mint. I decided to branch out into Arch, and I saw ...
0
votes
0answers
1k views

How to recover Raid Volume from Degraded/Crashed state (btrfs / Synology)

The Volume on my Synology Expansion crashed and can't recover on its own. Drive is probably OK. It happen after cleaning the device from dust. Until that time Volume was also OK so I believe it ...
0
votes
1answer
484 views

Btrfs read file with broken checksum

After my system crashed, I get an I/O Error when I try to read a specific file. I run btrfs scrub and found a checksum mismatch affecting this file. Now I want to test, if at least parts of this file ...
0
votes
0answers
373 views

Disk Space 6% used but no space left on device in Amazon EC2 Linux BTRFS file system

The output for df -h is: Filesystem Size Used Avail Use% Mounted on /dev/xvda1 196G 12G 184G 6% / The output for df -i is: Filesystem Inodes IUsed IFree IUse% Mounted on ...
1
vote
0answers
39 views

Prevent grub-mkconfig to pull in files from root partition

I recently made the following changes to my USB installation of Manjaro: Set the btrfs compression level for all subvolumes to zstd rebalance -czstd I couldn't boot afterwards, because grub cannot ...
0
votes
1answer
735 views

btrfs: browsing subvolumes

I am new to btrfs, and confused about subvolumes, after reading the documentation and experimenting on a local system. I have a Linux Mint system with a btrfs root partition. Mint conveniently ...
2
votes
1answer
960 views

btrfs: imaging a volume to an external file

I recently built a system with a btrfs root partition. The most compelling reason for adopting btrfs compared to ext4, in my case, was live copy-on-write snapshots, with near-zero latency. Compared ...
2
votes
1answer
756 views

How does the btrfs nodatacow mount option affect the 3 disks in this scenario?

I'm running Arch Linux with BTRFS. This computer has 3 physical HDD's (and no RAID, etc.). I have a disk mounted at /, one at /cow and one at /nocow. Here is the fstab: # /etc/fstab # <file system&...
3
votes
1answer
194 views

How to buffer writes to an External Drive using an Internal SSD

This question is a bit of an odd one, I'll try to be as detailed as I can be. I'm repurposing an old computer to serve as an in home backup solution. The final resting place for the data is an ...
1
vote
1answer
419 views

btrfs cannot mount because device replace operation is ongoing

I was transfering data from and disk to a new one. However the new one an seagate IronWolf 12Tb has trouble (may be too sensible to output voltage). Never the less then replace operation stops on with ...
2
votes
1answer
109 views

Are newer `btrfs-progs` versions safe to use with older kernels?

For example btrfs-progs-4.17 on kernel 4.14 - any issues, or can just upgrade btrfs-progs with no "back-compatibility" concerns?
1
vote
0answers
451 views

BTRFS RAID5 disk failed while balancing

If you clicked on the link to this topic: Thank you! I have the following setup: 6x 500GB HDD-Drives1x 32GB NVME-SSD (Intel Optane) I used bcache to setup up the SSD as caching device and all ...
1
vote
0answers
326 views

Disk full for unknown reason - BTRFS partition filled up with garbage data

On my Debian Linux laptop a couple of days ago I got my 23GB root EXT4 partition full (probably I installed more software than I expected). Since I have plenty of space in my BTRFS home partition, ...
3
votes
1answer
2k views

How to fix btrfs extent issue

I think I have been hit by a known bug in btrfs: https://www.spinics.net/lists/linux-btrfs/msg60984.html Certainly, the error messages seem similar. If it is the same issue, it seems somewhat ...
0
votes
2answers
1k views

Why does Ubuntu 18.04 doesn't create multiple BTRFS subvolumes anymore during installation by default?

During installation of Ubuntu 16.04 LTS Server I could choose manual partitioning and create a /-partition using BTRFS. The installer automatically mapped that to creating one subvolume called @ for / ...
1
vote
1answer
749 views

After btrfs scrub, how do you get the list of affected files?

I just tried to use btrfs send for a backup but it ended up giving me an io error. I ran btrfs scrub, which reported 32 unrepairable blocks on my raspi's sd card. The obvious way to fix this is to ...
2
votes
0answers
735 views

In-place delta writes from a pipe

I'm looking for a way to only overwrites the parts of a file that differ from what's supposed to be written to it, so that the file is changed with the least amount of writes to disk possible. My ...
2
votes
1answer
982 views

How to use BTRFS for RAID between a SSD and a larger HDD?

My PC has a SSD for the root filesystem and the home directory and a large HDD for other data. From time to time I sync the SSD content to the HDD in case the SSD fails. The HDD has a separate backup. ...

1
2 3 4 5