Skip to main content

Questions tagged [btrfs]

A volume-managing, snapshot-supporting copy-on-write (COW) filesystem included in the Linux kernel.

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

I bricked my LUKS partition, how do I recover it?

I bricked my LUKS partition, I want to recover my partition or files How I bricked my partiton: I was resizing my btrfs LUKS2 main partition from a live boot environment, it was taking very long so i ...
user626125's user avatar
0 votes
0 answers
25 views

what the `cp --reflink=always` will do if I try to copy directory that contains reflink to a diffrent disk?

I have a folder root1 on disk partition sda1 which contain reflink/mnt/sda1/root1/a->/mnt/sda1/root1/raw/a I have another folder root1 on disk partition sdb1, that has reflink /mnt/sdb1/root1/a->...
Wang's user avatar
  • 1,336
0 votes
0 answers
36 views

MD Raid / LVM / BTRFS advice for homemade NAS

Context: I'm looking to build a homemade NAS to get more flexibility (especially on the capability to add more drive) than commercial solution. My system will start with 3 SATA SSD drive or NVME (sda, ...
radius's user avatar
  • 367
0 votes
0 answers
35 views

Mount BTRFS drive with equivalent to 022 umask?

I feel like I really ought to be able to figure this out, and it's a bit embarrassing to admit that I can't, but... I have a Mint 21 server running Plex Media Server, and my media drive is a 12TB ...
Linx's user avatar
  • 1
0 votes
1 answer
55 views

How Can I Bypass the Btrfs Check When Using Leapp to Upgrade from CentOS 7 to Oracle Linux with UEK Kernel?

I'm attempting to upgrade a CentOS 7 system to Oracle Linux using the Leapp upgrade tool. My system uses Btrfs, and Leapp inhibits the upgrade because of this. However, the UEK kernel from Oracle ...
Jack's user avatar
  • 11
1 vote
0 answers
17 views

Remounting an overlayfs on underlying filesystem failure

I have quite a bit complex setup. I'm running https://github.com/demostanis/demolinux. The root filesystem is made out of an overlayfs between a btrfs read-only subvolume and a read-write btrfs ...
demostanis's user avatar
0 votes
1 answer
38 views

Get a log of everything GParted does when re-sizing a btrfs filesystem

When I use GParted to do some complicated partition and file system manipulation it gives the option to see the details of what steps it took. But this does not give all the details of what underlying ...
FlexMcMurphy's user avatar
0 votes
0 answers
98 views

dracut with btrfs (raid1) on lvm on luks

I’m using Ubuntu with dracut for initramfs with BTFRS on LVM on LUKS: $ lsblk -o name,type,mountpoint,fstype NAME TYPE MOUNTPOINT FSTYPE sda disk ...
Marc's user avatar
  • 1
0 votes
0 answers
106 views

btrfs: ERROR: Could not destroy subvolume/snapshot: Directory not empty

I can't remove btrfs subvolume: $ btrfs property get /mnt/btrfs/@.broken ro=false $ sudo btrfs subvolume delete /mnt/btrfs/@.broken Delete subvolume 256 (no-commit): '/mnt/btrfs/@.broken' ERROR: Could ...
Kossak's user avatar
  • 649
0 votes
0 answers
57 views

Recover damaged & luks-encrypted BTRFS partition

Here's my problem: I have a Virtual Machine that I had to reset because the UI became very buggy after I tried to mount a hot-pluggable virtual disk image to copy some files. Well that was actually ...
LinuxUser576249's user avatar
0 votes
1 answer
51 views

Mounting existing /home partition with btrfs when installing arch linux

I would like to know how can I mount an existing /home partition that was formated originally as btrfs, and I'll install arch linux and I wanna to maintain the partition and user folder in my new ...
Esau Idrovo's user avatar
0 votes
1 answer
43 views

How does Fedora encryption affect partitions, devices and mountpoints?

Fedora, similarly to other popular popular Linux distros, provides an easy way to set up full disk encryption (FDE). As of Fedora 33, Btrfs has been the default file system (replacing ext4). I was ...
at54321's user avatar
  • 111
0 votes
1 answer
21 views

How to limit btrfs-send throughput?

I am trying btrfs send/receive a 3TB btrfs volume. When I sent it to another machine over network, it went fine. The speed was like 20-30 MB/s. However, when the destination disk is directly attached ...
Greendrake's user avatar
0 votes
0 answers
43 views

BTRFS won't remove missing disk?

I had a hard drive fail in my BTRFS raid10 array, and it is failing to remove. What am I missing? I already added a replacement drive /dev/sdf, but it won't let me remove the old failed drive. dulanic@...
Dulanic's user avatar
1 vote
0 answers
98 views

BTRFS - tree first key mismatch detected

Every other hour, my system's root partition turns to read-only because of this BTRFS error: BTRFS error (device nvme0n1p3): tree first key mismatch detected, bytenr=11981209600 parent_transid=3110 ...
Rainer Feike's user avatar
0 votes
0 answers
62 views

BTRFS errors after restoring system partition

After restoring my system partition with clonezilla, when I boot I get the partition forced read-only due to BTRFS errors. I'm quite sure the clonezilla partition image is OK dmesg outputs these ...
Xabier Hualde's user avatar
0 votes
2 answers
116 views

How can I calculate potential space savings with btrfs compression?

I'm not currently using compression with my btrfs-formatted disk, but am wondering how much space I'd save if I did enable it. Short of actually enabling compression on the disk and comparing the ...
Psychonaut's user avatar
0 votes
1 answer
31 views

Clone Linux OS Btrfs disk and boot with cloned disk 2024?

Disk D is a typical Linux installation. D has EFI (boot) and Btrfs (the rest) partitions. If I have a disk E whose size is > D, how can I clone D on E, and boot with E? Is that possible without too ...
Damn Vegetables's user avatar
0 votes
0 answers
19 views

changing brtfs disk issues

I just started to have bad magic issue... currently (and sadly) I have a raid 1 btrfs on: btrfs fi show /dev/nvme2n1p4 Label: none uuid: beecd604-caa8-45a5-b3cb-f23389e8df97 Total devices 2 FS ...
Emmanuel PIERRE's user avatar
1 vote
0 answers
41 views

btrfs size issue

According to my calculations, my btrfs should have a total size of 153 GB by totalling the Exclusive component from btrfs qgroup show, but it actually shows up as around 700 GB using other disk usage ...
Mark Warburton's user avatar
1 vote
0 answers
66 views

How to unmount an external hard drive in linux?

I have an external Toshiba 2TB hard drive with two partitions. The relevant partition is of type BTRFS and mounted in my Parrot OS system. I want to use it for backup purposes but I have a hard time ...
Green's user avatar
  • 51
0 votes
0 answers
50 views

Something (presumably, mkswap) corrupted my btrfs partition

I am kind of new to arch (endeavour os particularly), but i am not sure that the problem is in the system. In short, my laptop won’t go to hibernation after it’s lid is closed because it didn’t have a ...
JosephWilliamsen's user avatar
0 votes
0 answers
245 views

btrfs mount error "can't read superblock"

I have a synology nas drive in raid6 that had a drive failed. I replaced the drive and had two other drives kicked off the raid after a power failure crashing the storage pool. I was able to move all ...
L. Pinkston's user avatar
0 votes
0 answers
45 views

How to (correctly/efficiently) move a btrfs subvolume containing snapshots?

I have btrfs as the filesystem for configuring root, and configured my system to use snapper for backup. The /@arch-root/@.snapshots/ subvolume contains several sub-dir each containing several ...
renyuneyun's user avatar
0 votes
0 answers
18 views

list btrfs subvolumes within a specific qgroup (quota0

I need to determine what data would be lost by deleting a specific qgroup. X-Y is that I have a qgroup taking up 50GB of exclusive/unique space that I am suspicious is stale/unreferenced, but don't ...
some bits flipped's user avatar
0 votes
1 answer
79 views

systemd-boot not asking for password?

I run Arco linux, boot with systemd-boot on an LUKS encrypted btrfs root partition drive but it never ask me for a password for the root drive on boot. Not good. Where should I start looking?
Dark_Stoner's user avatar
1 vote
1 answer
307 views

What is UUID_SUB?

The output from blkid shows a post called UUID_SUB on my BTRFS-volumes. What does that mean and where can I find more info? /dev/sdc: LABEL="example" UUID="e7c116be-e3ba-4097-857b-...
PetaspeedBeaver's user avatar
0 votes
0 answers
97 views

Question about what Timeshift restores with UEFI system and BTRFS filesystem

I am curious how Timeshift restores will work with my system configuration which includes UEFI and a BTRFS formatted system partition. First, here's some information about how my system is organized: ...
greyseal96's user avatar
4 votes
1 answer
159 views

Which filesystems support the C attribute?

On BTRFS filesystems you can disable CoW for a file using the C file attribute, like this: chattr +C filename I expected this to work on ZFS too, since it is also a CoW filesystem, but the attribute ...
Maestro's user avatar
  • 191
1 vote
0 answers
102 views

How to correctly restore a backup to corrupted btrfs?

I have btrfs with some amount of corruption that in logs looks like that: BTRFS warning (device dm-0): csum failed root 261 ino 638264 off 6221824 csum 0x3315c12e expected csum 0xc1eecea6 mirror 1 ...
Kos's user avatar
  • 11
0 votes
0 answers
28 views

What BTRFS mount options to use for long running streaming writes (like cameras)

Background I have a NAS setup that's streaming camera data directly to disk on a file-an-hour rotation, then a job setup at the start of the day to concatenate the 24 files into a day file that is ...
WesAtWork's user avatar
  • 103
0 votes
2 answers
73 views

How can I force swap to use all of my BTRFS swap file?

I created a BTRFS swap file using the following command: $ btrfs filesystem mkswapfile -s 8G SwapFile However, swap only uses 1GB of the swap file, as shown by the following command sequence: $ du -...
Aubergone's user avatar
0 votes
0 answers
42 views

Enable fs-verity at root directory

Can fs-verity be enabled on the root directory of a filesystem or the root directory of a subvolume in btrfs?
Melab's user avatar
  • 4,148
0 votes
0 answers
23 views

Is theire any specific caution to take before resize btrfs

Current situation I have an almost full /home partition, with just 4.4Go remaining space, when my / is more than half empty. Both of the two partitions are in Btrfs, as you can see: % lsblk -o NAME,...
fauve's user avatar
  • 1,278
1 vote
1 answer
67 views

Automatic Btrfs snapshotting as standard user

Btrfs allows creating subvolumes and taking snapshots as a standard user. However, the tools I have found for automatically creating and managing snapshots at regular intervals (Snapper and Timeshift) ...
rkjnsn's user avatar
  • 702
0 votes
1 answer
155 views

How can I recover from a failed drive in a BTRFS RAID1 array: devid uuid .... missing

I have a BTRFS disk from a two-disk raid1 array. When I try to mount the drive, I get sd 0:0:0:0: [sda] Attached SCSI disk BTRFS info (device sda2): using crc32c (crc32c-intel) checksum algorithm ...
Evan Carroll's user avatar
  • 31.7k
1 vote
1 answer
693 views

BTRFS - How to reclaim unused space in each chunk used and compact the filesystem, basically defrag free space?

How to reclaim unused space from each chunk used by BTRFS filesystem? Let's say there are lots of chunks partially used from 10% to 50% utilised per chunk, how do I defragment those so that the 90% to ...
DanglingPointer's user avatar
0 votes
0 answers
117 views

btrfs subvolume quota and free space for samba share

My btrfs filesystem is mounted under /mnt/btrfs. I then created a subvolume /mnt/btrfs/sv and enabled quotas. After that I set the quota to 10G with btrfs qgroup limit -e 10G /mnt/btrfs/sv and ...
std_unordered_map's user avatar
2 votes
0 answers
75 views

I ran `mkfs.btrfs -f` on a disk containing an existing btrfs file system (HDD), can btrfs tools help me recover? If not, what else might I consider?

I did something very stupid yesterday. I have two physical drives (both HDD), call them X and Y. Both contained (separate) btrfs file systems that extended over their whole size. Let @x be a subvolume ...
bzm3r's user avatar
  • 373
1 vote
0 answers
172 views

Can't mount an encrypted btrfs partition: wrong fs type

Problem I've a 2TB external hdd which has 2 partitions(a 1.4TB encrypted btrfs and a 500GB exfat). And I can't mount the btrfs partition, the 500GB exfat is fine tho. Context It's cable or socket is ...
broken443's user avatar
0 votes
0 answers
61 views

btrfs device don't mount, probably a raid, how to check it?

When a btrfs device is mounted is easy to know if is a raid or not btrfs filesystem df / In this situation the fs don't mount, probably is a raid sudo mount /dev/sdc2 /mnt/ mount: /mnt: mount(2) ...
elbarna's user avatar
  • 12.8k
1 vote
1 answer
125 views

Custom Kernel requirements for BTRFS root volume

I'm trying to compile a custom kernel with BTRFS support under Ubuntu 18.04. When I compile and install 4.20.70-generic everything's fine and the system starts without any problem. Btw, I can't use ...
Dude's user avatar
  • 83
3 votes
1 answer
613 views

Equivalent of `btrfs send` and `btrfs recv` for bcachefs

I'm using a setup I consider to be rather fragile and prone to failure involving LUKS, LVM, btrfs, and bcache. I have used btrfs for a long time, and have never experienced any significant issues with ...
Omnifarious's user avatar
  • 1,352
0 votes
0 answers
139 views

how do i optimize my BTRFS System for high throughput

I am unable to effective run a high performance program on my linux system due to performance issues. I want to know if there are specific optimization techniques that i can enable to improve I/O read ...
geek's user avatar
  • 177
1 vote
0 answers
132 views

Determining system's unresponsiveness when high IO load

I'm trying to understand why my Fedora 38 (KDE on Wayland) becomes unresponsive for some seconds while there's high IO on the root disk (a SanDisk SSD PLUS 240GB (UF5000RL)). The root partition is ...
TesX's user avatar
  • 81
0 votes
1 answer
61 views

BTRFS partition will not mount after power off

I'm running Fedora 38 on a BTRFS partition and just had to do a hard power off due to system hang. Now the system goes into emergency mode on bootup. I'm currently running the fedora live CD but the ...
heebiejeebies3's user avatar
0 votes
0 answers
33 views

Encrypting multiple new system partitions at once, when they're spread across two physical disks

I am installing Debian. I have two physical disks, and I would like to spread my system partitions across both for better performance. I also want to luks-encrypt my system, and preferably encrypt all ...
mkurz's user avatar
  • 207
0 votes
0 answers
47 views

BananaPI M2 Ultra boot stuck at "Scanning for Btrfs filesystems"

Is there a way to skip this phase? Is it possible to force board to boot from SD card again? I have BananaPI M2 Ultra v1.1 board and my goal is to get this little device boot Linux OS from its eMMC ...
m3lter's user avatar
  • 1
-1 votes
1 answer
113 views

Truncate command not creating a hole

I am trying to create a file with hole using the truncate command. I read up in some posts and one of the answers in this post says to use truncate command. Filesystem used is btrfs. This is the ...
Shivanshu Arora's user avatar
0 votes
0 answers
110 views

My linux is using 100% of my ssd for no reason

The largest folders I have on the system WARNING: Full balance without filters requested. This operation is very intense and takes potentially very long. It is recommended to use the balance filters ...
SeriousFreezing's user avatar

1
2 3 4 5
17