Questions tagged [btrfs]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

How to delete all duplicates of a file linked by CoW on BTRFS

The glory of Copy-on-Write (CoW) allows us to copy a file as many times as we like, without duplicating the used space. I have used this functionality extensively (as well as manual deduplication of ...
0
votes
0answers
31 views

btrfs volume in fstab fails to boot with compress-force

in my fstab, the btrfs volume boots with no problem when the option set is compress=zstd:15, however, as soon as i set it to compress-force=zstd:15, it fails to boot because of a failed dependency ...
0
votes
0answers
28 views

How exactly do btrfs/ZFS (and related filesystems) prevent bit rot?

It seems that, since btrfs development began, various communities have touted both it and ZFS as inherently more advanced filesystems for preventing corruption, bit rot, etc. What features of btrfs or ...
0
votes
0answers
117 views

Btrfs write speed very slow. In Linux how do I copy files using page cache?

I have 2 filesystems consisting of the same 15Tib size with both of them using 4 nvme ssd of the same model using btrfs based raid0 with all of the them plugged to a pci port. Both filesystem are ...
0
votes
0answers
15 views

How to specify logical size when mkfs.btrfs

I'm setting up a btrfs filesystem where there are 10TB files with an average file size of 1GB - all videos. Normally I'd go for the maximum allowed logical size but I couldn't find out how to specify ...
0
votes
0answers
33 views

Filesystem/LVM config that will prioritize “wearing out” smaller drives first

I've built a janky NAS box for myself that has a wide range of storage device sizes (20GB to 4TB) and all mashed together with BTRFS on Debian Linux. I've noticed that BTRFS will prioritize writing to ...
0
votes
0answers
35 views

BTRFS partition vs subvolume metadata size

Currently, I have two separate BTRFS partitions on my system - A 20gb root partition and a dramatically larger home partition. I am wondering if I want to change the home partition to a subvolume of ...
1
vote
0answers
28 views

btrfs quotas: Can't delete files when quota is exceeded

I set quotas on our smb server's /home/<name> subvolumes. These subvolumes are exposed over smb as \\server\<name> Now whenever someone tries to delete files in his/her /home folder and is ...
0
votes
2answers
52 views

Convert hardlinks to reflinks

I have nested folders with a bunch of files inside that are hardlinked to each other. I would like to break the hardlinks (convert them into separate files), but then immediately convert each pair ...
1
vote
0answers
31 views

linux system IO hangs/freezes randomly for ~30 sec

while working on my ubuntu 20.04 desktop, I'll notice a occasional freezes where it "mostly" goes out to lunch for 10's of seconds to ~1 minute. Happens perhaps ~~once an hour. I can still ...
0
votes
0answers
64 views

Dual Boot Debian with BTRFS & LUKS

I have Windows 10, existing Debian installation (which is dead). I want to install Debian 10 with LUKS on BTRFS keeping my Windows 10 intact. There are a few good writeups about it which i've followed ...
0
votes
0answers
22 views

btrfs restore not-yet-cleaned subvolume

I have incidentially removed a subvolume with btrfs subvolume delete. Now btrfs subvolume list -d shows the subvolume is in DELETED state: ID 257 gen 205948 top level 0 path DELETED How can I restore/...
1
vote
2answers
300 views

Should I format my external hard disks in EXT4 or NTFS or BTRFS? [closed]

I have four hard disks: 240GB SSD formatted as EXT4 for main OS. 3TB HDD formatted as NTFS for main files. 500GB HDD formatted as NTFS for luks containers. 4TB HDD formatted as NTFS for backuping all ...
0
votes
0answers
18 views

Monitor filesystem regularly

I have a btrfs filesystem and I had some kind of accident which deleted the content of some directories, but only those in a specific subdirectory and even in this subdirectory there were some ...
0
votes
1answer
51 views

btrfs and fstab with failed device

A lot of guides on how to mount a btrfs filesystem say you can use any device in the filesystem to mount. Ex: if a filesystem has sda1, sdb1, and sdc1 in it, you can mount using any of those devices. ...
3
votes
0answers
109 views

Why is converting from RAID1 to single in Btrfs an I/O-intensive operation?

I want to replace a device in a RAID1 and converted it temporarily to “single”: btrfs balance start -f -mconvert=single,soft -dconvert=single,soft / This takes very long. I don’t see why, and wonder ...
0
votes
0answers
276 views

How to properly compress BTRFS subvolumes NOT compressed before?

Background I maintain multiple Synology NAS of different models and those support so called shared folders. If the volume containing those folders is formatted using BTRFS, which is the case for me, ...
1
vote
1answer
229 views

btrfs damaged filesystem - how to continue

My btrfs filesystem is somehow damaged (parent transid, internal errors, ...). I tried with repair options, but I think some of the filesystem is just messed up now. The btrfs volume is used for ...
-1
votes
1answer
35 views

btrfs error checking when copying files between btrfs HDDs?

If I have two separate USB HDDs with btrfs (both single-mode, no DUP nor RAID) and copy a file from one HDD to another, does btrfs ensure that the copied file is still identical to the original file, ...
0
votes
1answer
211 views

btrfs check / scrub: what is the difference?

I am going to use (for now) btrfs on a couple of external USB HDD archives, in single-mode (no DUP, no RAID, no nothing; I will just keep it simple for now). So my idea is that I have two (manually ...
0
votes
0answers
30 views

Can't successfully delete file on btrfs filesystem

I've got a 4 GB file in a BTRFS file system that just won't go away. I have deleted it multiple times, I've even echo'd to it, and it keeps coming back. The ls -l is: -rw-rw-r-- 1 mark mark 4072587264 ...
1
vote
0answers
58 views

What does “Counts for qgroup … are different” mean and how to fix it?

I've been using btrfs for my primary file system for a Linux Mint 20 install I did a couple of months ago. Today I had reason to want to extend the partition the btrfs filesystem is on, and gparted ...
0
votes
2answers
740 views

Debian BTRFS install

Partition disks: Shell: https://www.reddit.com/r/debian/comments/aa3zta/install_debian_to_a_btrfs_subvolume_and_not_the/eczobqb/ Once the partitioning step is complete, select "Back" in ...
0
votes
0answers
21 views

How to add BTRFS partition to degraded Raid 1 Array

How do I add a BTRFS partition, smaller than the entire disk, to a degraded Raid 1 Array? Recently, I lost 1 drive in a 2 drive btrfs raid 1 array. However, my new drive is larger than the original ...
1
vote
1answer
151 views

Is this a correct BTRFS incremental backup strategy?

Assuming /home is my BTRFS partition (to keep backups of) & /storage as my secondary disk (to store backups on), will this work? Initial Backup (8th Sept 2020): btrfs subvolume snapshot -r /home /...
0
votes
0answers
62 views

how to correct csum errors in BTRFS RAID

I'm running a BTRFS RAID on 4 disks, using RAID5 for data and RAID1 for metadata: > btrfs filesystem show /mnt/storage/ Label: 'Storage' uuid: [...] Total devices 4 FS bytes used 1.61TiB ...
0
votes
1answer
433 views

Difference between filesystem BTRFS size with df, btrfs and baobab

Today my desktop gave me a notification that my /-filesystem was 'full'. So at first i did some cleanup of files, packages and old snapshots. However, when i removed the previous i noticed with the ...
4
votes
2answers
1k views

btrfs, LUKS, swapfile: How to hibernate on swapfile?

I'm using btrfs encrypted by LUKS on fedora 32 silverblue, kernel version 5.7.7 with anaconda installer default setting. Because fedora installer automatic partition does not add swap partition or ...
0
votes
0answers
29 views

My root partition disappeared when using testdisk

This morning I was planning on deleting Windows 10 completely for good so I opened up Gparted, deleted the partition, and called it a day. No, there was something wrong. I forgot to check if there was ...
0
votes
0answers
175 views

Synology RAID 1 Recovery - Accidentally formatted a BTRFS as ZFS - next steps?

Would really appreciate someone pointing me in the right direction. Today at work we found out our Synology box had its motherboard go. From what I can tell, it was set up with two 8TB drives in RAID ...
1
vote
0answers
42 views

BTRFS zero log, now can't find any recent files

I recently physically relocated my Pi + BTRFS array (let's say /dev/sda and /dev/sdb, set up as a mirror) and was struggling to get the subvolume to mount properly again. Amongst the many things I ...
0
votes
0answers
34 views

File manager stopped working on Linux system

Somehow Nautilus stopped working on Linux fedora and now I am unable to use any file manager. I tried to uninstall and reinstall Nautilus and even installed other file manager but nothing works. ...
1
vote
1answer
373 views

Is it safe to convert EXT4 to BTRFS inplace?

Ubuntu 20.04 makes it very hard to create an encrypted installation with BTRFS file system. Thus, I have an encrypted installation running on ext4. For a number of reasons I would like to use BTRFS ...
1
vote
0answers
237 views

btrfs ls gets invalid root flags

3 months ago, after a powercut, our Synology NAS DS415+ started to reboot to hell, staying 5 minutes up and then rebooting. We recently tried to recover the data from it,2*3TB SHR-RAID 1. After a long ...
0
votes
0answers
47 views

Cannot repair BTRFS partition because there is too little space left

I cannot mount a BTRFS partition because its metadata store is too full. The machine started complaining that the disk is full (it was the metadata) and while trying to fix the situation by running ...
0
votes
0answers
29 views

Mysterious High Command-Timout on SMART data for HDD

I recently was checking a drive I bought and owned for around 10 days (250 power on hours). The drive is a Seagate ironwolf 4tb in RAID 1 using BTRFS. I noticed that this was the result of the SMART ...
2
votes
0answers
54 views

Does the queued TRIM support in SATA 3.1 require support from the SATA controller, or just from the OS and the SSD?

I am contemplating expanding the storage on my home server with a SATA expansion card and wonder if the card has to support queued TRIM to use it or if it is just an OS+SSD thing. Hardware example My ...
1
vote
1answer
33 views

Does using different kernel versions (dual boot) containing different versions of btrfs with the same btrfs filesystem cause problems?

Didn't find any answer in the official wiki: https://btrfs.wiki.kernel.org/index.php/FAQ Why would I want to do that? I want to try another distro along side my currently installed distro. Where's the ...
0
votes
1answer
204 views

Is it possible to change the ID of a BTRFS subvolume?

I want to make the IDs of my subvolumes consecutive so I can access them easier. Is there any way to change the ID of a BTRFS subvolume without nuking the data it contains? If so, how would you do ...
0
votes
0answers
21 views

automounted btrfs disk array is mounted twice, in both /mnt and /media

I'm configuring a new ubuntu20.04 machine, otherwise vanilla, with an existing disk array: 3 disks, btrfs-in-luks (no LVM), raid 1. via crypttab/cryptsetup and fstab I have it set up to mount in /mnt/...
3
votes
0answers
274 views

Recovering BTRFS, btrfsck fails; what next?

Server setup Rockstor, latest stable (can't check exact version right now) 3 hard drives: OS drive + 2 "Storage" drives Storage drives are BTRFS RAID 1, /dev/sdb and /dev/sdc btrfs-progs v4.12 ...
0
votes
0answers
18 views

When scrubbing a BTRFS RAID1, is scrubbing one device enough?

Assuming I have a BTRFS-based RAID1 which consists of Label: none uuid: 02bfb534-bc70-4f2d-980d-62004b8993dc Total devices 2 FS bytes used 1.44TiB devid 1 size 1.82TiB used 1....
0
votes
1answer
730 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, ...
1
vote
0answers
123 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 ...
2
votes
0answers
730 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
70 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
1answer
338 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
199 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
587 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
116 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 ...

1
2 3 4 5 6