BTRFS on Debian Stable, your experiences?

If none of the more specific forums is the right place to ask

BTRFS on Debian Stable, your experiences?

Postby nigratruo » 2019-05-01 00:09

Hi,

I'm using EXT4 everywhere. I use Debian Stretch everywhere and was wondering if BTRFS is already up to snuff, stable and reliable.
I'm asking you this from a Debian Stable perspective, where we wants things to be super stable and don't tolerate buggy beta software. How has BTRFS been working out for you on Debian Stable? Issues? How does it compare to EXT4?
nigratruo
 
Posts: 18
Joined: 2017-08-12 22:46

Re: BTRFS on Debian Stable, your experiences?

Postby Head_on_a_Stick » 2019-05-01 15:26

nigratruo wrote:was wondering if BTRFS is already up to snuff, stable and reliable

https://btrfs.wiki.kernel.org/index.php/Status

nigratruo wrote:How has BTRFS been working out for you on Debian Stable?

I've been using it on the family laptop since jessie was frozen and it's been great, no problems at all.

The laptop has a dead battery and the filesystem has been subjected to about a million[1] hard resets with no data loss at all.

I do have two full backups of the system though, just in case, and those backups are to an xfs filesystem.

I also use btrfs on my own laptop, mainly because the subvolumes allow me to share a single partition between several distributions — at one point I had Arch, Alpine, Debian, Devuan and MX Linux all on the same partition. I don't backup my laptop 'cos I like to live on the edge but I've never lost anything non-deliberately.

The only issue I've encountered has been trying to use an older kernel with a filesystem created under a newer kernel, the system then can't boot because the old kernel can't use some of the new features.

[1] Exaggerated for comic effect.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12650
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: BTRFS on Debian Stable, your experiences?

Postby p.H » 2019-05-01 15:50

Head_on_a_Stick wrote:The only issue I've encountered has been trying to use an older kernel with a filesystem created under a newer kernel, the system then can't boot because the old kernel can't use some of the new features.

The same has happened with ext4 too.
p.H
 
Posts: 1489
Joined: 2017-09-17 07:12

Re: BTRFS on Debian Stable, your experiences?

Postby pylkko » 2019-05-01 16:57

I hope that the content on this official page gives you some perspective of the "state" of btrfs

https://btrfs.wiki.kernel.org/index.php/Status

I have also been using it for years now.

but the versions of btrfs-tools and the kernel code is in better shape in testing, which is not ready yet.
User avatar
pylkko
 
Posts: 1791
Joined: 2014-11-06 19:02

Re: BTRFS on Debian Stable, your experiences?

Postby nigratruo » 2019-05-10 21:35

Thank you for your feedback, that is useful!

I'm just messing around with the many layers I need to get LUKS and lvm working, so I got three layers including the fs, which in BTRFS is just one layer, which makes things a lot easier.
Any experience with the encryption layer? Does that work well? Secure?
nigratruo
 
Posts: 18
Joined: 2017-08-12 22:46

Re: BTRFS on Debian Stable, your experiences?

Postby milomak » 2019-05-10 21:37

p.H wrote:
Head_on_a_Stick wrote:The only issue I've encountered has been trying to use an older kernel with a filesystem created under a newer kernel, the system then can't boot because the old kernel can't use some of the new features.

The same has happened with ext4 too.

what kind of use case lead to such a situation for you? or what you experienced.
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10
Laptop: Lenovo ideapad Y700-15ISK [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 2063
Joined: 2009-06-09 22:20

Re: BTRFS on Debian Stable, your experiences?

Postby bester69 » 2019-05-11 03:52

nigratruo wrote:Hi,

I'm using EXT4 everywhere. I use Debian Stretch everywhere and was wondering if BTRFS is already up to snuff, stable and reliable.
I'm asking you this from a Debian Stable perspective, where we wants things to be super stable and don't tolerate buggy beta software. How has BTRFS been working out for you on Debian Stable? Issues? How does it compare to EXT4?

BTRFS is god in my own experience, Ive been using it for four years, and never gave me any issue, and Im creating and removing snapshot everyweeks. btrfs filesyste, was the best thing happend to me with linux, since then Ive never have to reinstall linux again, I always rollback system/home snapshots.

here, I have a small scripts framework I made to do the task easy with the snapshots; perhaps It can help you.:
http://forums.debian.net/viewtopic.php?f=3&t=135738
bester69 wrote:You wont change my mind when I know Im right, Im not an ...
User avatar
bester69
 
Posts: 1747
Joined: 2015-04-02 13:15

Re: BTRFS on Debian Stable, your experiences?

Postby barlafuss » 2019-05-11 08:26

following, very interesting post. Thanks to All
barlafuss
 
Posts: 15
Joined: 2007-11-11 17:49
Location: Milan

Re: BTRFS on Debian Stable, your experiences?

Postby p.H » 2019-05-12 08:04

milomak wrote:
p.H wrote:
Head_on_a_Stick wrote:The only issue I've encountered has been trying to use an older kernel with a filesystem created under a newer kernel, the system then can't boot because the old kernel can't use some of the new features.

The same has happened with ext4 too.

what kind of use case lead to such a situation for you? or what you experienced.

I have a multiboot setup with multiple releases of Debian. At that time, my main system was Wheezy and it could not mount an ext4 filesystem created by Stretch with default options. IIRC, Jessie could mount it but its e2fsck could not check it.
p.H
 
Posts: 1489
Joined: 2017-09-17 07:12

Re: BTRFS on Debian Stable, your experiences?

Postby delina » 2020-07-24 11:52

Hard drive End to End failure This happened on a btrfs drive when i was deleting lots of files and the trash can got full. It has me worried now that this may happen to another drive.

I am wondering if there is a way to set trash bins like a virtual shared drive across every volume on the system so if a drive gets near full it moves trash to another drive.

I use mergerfs to join volumes into larger drives since btrfs does not have a save way to keep directorys on each drive. i wish btrfs could incorporate mergerfs so instead of single non raid it could have a merger nonraid option. then recycle bins could work across all the drive.
delina
 
Posts: 28
Joined: 2018-12-30 02:03

Re: BTRFS on Debian Stable, your experiences?

Postby p.H » 2020-07-25 09:47

delina wrote:btrfs does not have a save way to keep directorys on each drive

What do you mean ?
p.H
 
Posts: 1489
Joined: 2017-09-17 07:12

Re: BTRFS on Debian Stable, your experiences?

Postby Mr. Lumbergh » 2020-07-30 20:34

I don't suppose there's a way to do an in-place conversion of ext4 to BTRFS is there?
Mr. Lumbergh
 
Posts: 97
Joined: 2019-08-02 04:28

Re: BTRFS on Debian Stable, your experiences?

Postby pylkko » 2020-07-30 20:37

on the first page of the wiki there is a tutorial called
"Conversion from Ext3/4 and ReiserFS"

but a word of warning, this converter used to be horribly broken. i don't have time to figure out if this is still the case. you can read about it yourself. but in any case, if you use it, use the latest version
also, you may want to change the layout of your disk entirely anyway...

edit: apparently the converter is stable now:
from wikipedia:
As of June 2015 and 4.x versions of the Linux kernel mainline, the in-place ext3/4 conversion was considered untested and rarely used.[65] The feature, however, was rewritten from scratch in 2016 for btrfs-progs 4.6.[42] and is considered stable since then.
Last edited by pylkko on 2020-08-12 14:28, edited 1 time in total.
User avatar
pylkko
 
Posts: 1791
Joined: 2014-11-06 19:02

Re: BTRFS on Debian Stable, your experiences?

Postby Bloom » 2020-07-30 21:31

Don't do an in-place conversion without having a backup first. But if you backup the lot first, you can simply format the volume in the new format and restore the lot. I suspect it will be quicker as well.
User avatar
Bloom
 
Posts: 298
Joined: 2017-11-11 12:23

Re: BTRFS on Debian Stable, your experiences?

Postby Mr. Lumbergh » 2020-07-30 21:38

pylkko wrote:on the first page of the wiki there is a tutorial called
"Conversion from Ext3/4 and ReiserFS"

but a word of warning, this converter used to be horribly broken. i don't have time to figure out if this is still the case. you can read about it yourself. but in any case, if you use it, use the latest version
also, you may want to change the layout of your disk entirely anyway...

It looks like ext4 performs better in most cases in benchmarks: https://www.phoronix.com/scan.php?page=article&item=linux-50-filesystems&num=4. I often need to record audio in real time, so don't want the performance hit; I'll just make sure to keep regular backups.
Speaking of, though, those are probably a pretty good candidate for BTRFS because of the snapshot feature.
Hmm...
Mr. Lumbergh
 
Posts: 97
Joined: 2019-08-02 04:28

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 19 guests

fashionable