LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-13-2021, 02:59 PM   #1
slackmensch
LQ Newbie
 
Registered: Apr 2021
Location: hickville
Distribution: Arch, Normal, Poisson, Slackware, Manjaro
Posts: 19
Blog Entries: 1

Rep: Reputation: Disabled
sick of rebuilding ZFS 10+ times a month; is BTRFS there yet?


I'm thinking of giving it a shot as the root filesystem on an old laptop. A recent Ars Technica feature says BTRFS is still a hopeless mess with RAID, but good enough if you just want to use it on a single disk. Even snapshots, scrub, compression, send/recv are supposed to be working.

Anybody using BTRFS as their daily driver root filesystem? How long? Any disasters? Any luck converting ext4fs?
 
Old 10-13-2021, 04:14 PM   #2
cgprats
LQ Newbie
 
Registered: Apr 2021
Posts: 1

Rep: Reputation: Disabled
I have not used btrfs with Slackware, but I use it's default set up on openSUSE (btrfs root with subvolumes + snapper). I have not had any issues with it in years, and even then the issues I faced were directly related to the SUSE's snapper having a bad default configuration on very old releases of openSUSE Leap.

The only concern is that COW has very bad performance with virtual machines. For that I would create a subvolumes with cow turned off and store VM images there.
 
1 members found this post helpful.
Old 10-13-2021, 05:05 PM   #3
Anonymo
Member
 
Registered: Dec 2004
Location: The Woodlands, Texas
Distribution: Slackware, Archlinux, CentOS
Posts: 194

Rep: Reputation: 38
Quote:
Originally Posted by slackmensch View Post
I'm thinking of giving it a shot as the root filesystem on an old laptop. A recent Ars Technica feature says BTRFS is still a hopeless mess with RAID, but good enough if you just want to use it on a single disk. Even snapshots, scrub, compression, send/recv are supposed to be working.

Anybody using BTRFS as their daily driver root filesystem? How long? Any disasters? Any luck converting ext4fs?
I've used it mostly on Arch and Fedora. It's stable. The issue comes with RAID5/6, which should not be an issue on a single disk machine.
 
Old 10-13-2021, 05:23 PM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 3,117
Blog Entries: 4

Rep: Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352Reputation: 1352
Quote:
Originally Posted by slackmensch View Post
Anybody using BTRFS as their daily driver root filesystem? How long? Any disasters? Any luck converting ext4fs?
Why is your system rebuilding ZFS >10 times per month? Do you have failing hardware, or is it something else?

I think it's fair to say that this should not be happening and that there is an underlying issue somewhere.
 
Old 10-13-2021, 06:01 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 10,109

Rep: Reputation: Disabled
Quote:
Originally Posted by rkelsen View Post
Why is your system rebuilding ZFS >10 times per month? Do you have failing hardware, or is it something else?
Maybe the OP is running -current and needs to rebuild the driver for this file system for each kernel upgrade? Just a blind guess (and I am curious to know if this is necessary in case of a minor kernel upgrade).
 
Old 10-13-2021, 06:13 PM   #6
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware14.2 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 3,335

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
Quote:
Originally Posted by Didier Spaier View Post
Maybe the OP is running -current and needs to rebuild the driver for this file system for each kernel upgrade? Just a blind guess (and I am curious to know if this is necessary in case of a minor kernel upgrade).
I am getting the impression since ZFS itself AFAIK is not included into the kernel source, that is probably why it needs to be rebuilt all the time? As I don't know of any other FS that ins included that would need to be 'recompiled' for any major or minor kernel upgrades to the system?
 
Old 10-13-2021, 09:55 PM   #7
Pixxt
Member
 
Registered: May 2008
Distribution: Slackware, Debian,
Posts: 231

Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by Jeebizz View Post
I am getting the impression since ZFS itself AFAIK is not included into the kernel source, that is probably why it needs to be rebuilt all the time? As I don't know of any other FS that ins included that would need to be 'recompiled' for any major or minor kernel upgrades to the system?
Yep the ZFS license CDDL was made to be GPL(2) hostile so it could not be a native Linux filesystem so that Solaris would have a leg up on Linux. Hence the need to recompile the ZFS module for almost every major or sometimes minor kernel version bump.

ZFS is a nice filesystem I used it a few years when I was still running FreeBSD on spare hardware, but there's too many gotchas and stability issues for me to trust an a non in-kernel filesystem for my Linux system(s).
 
Old 10-13-2021, 10:44 PM   #8
Pithium
Member
 
Registered: Jul 2014
Location: Vancouver, WA
Distribution: Slackware 14.2/current
Posts: 138

Rep: Reputation: 148Reputation: 148
I've started using btrfs on non-critical filesystems just to see if anything horrifying happens. As a drop in replacement for ext4 I don't see any differences. I currently use it as / and /home on my gaming PC and it hasn't had any major issues.

One difference I've noticed is how btrfs recovers after a hard crash. No problems, but it seems like there is often more short term data loss after an unexpected shutdown compared to ext4. For example, losing 5 minutes (btrfs) of work vs 10 seconds (ext4).

Dataloss is expected when the system dies but since switching I've found myself having remember what I had written several minutes earlier. This is all purely anecdotal, I don't have any emperical evidence.
 
Old 10-13-2021, 10:53 PM   #9
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware14.2 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 3,335

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
Quote:
Originally Posted by Pixxt View Post
Yep the ZFS license CDDL was made to be GPL(2) hostile so it could not be a native Linux filesystem so that Solaris would have a leg up on Linux. Hence the need to recompile the ZFS module for almost every major or sometimes minor kernel version bump.

ZFS is a nice filesystem I used it a few years when I was still running FreeBSD on spare hardware, but there's too many gotchas and stability issues for me to trust an a non in-kernel filesystem for my Linux system(s).
I figured that would be the case; I am not a legal expert but I don't see any sort of clause where CDDL forbids the code to be forked and re-released into GPL - again maybe I am just naive, but why hasn't that been done? Unless ZFSOnLinux did that? I don't know.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rebuilding a failed portion of a SlackBuilds build, instead of rebuilding everything Geremia Slackware 26 01-21-2015 05:56 PM
btrfs filesystem df /mnt/btrfs/ shows bothe data and metdata with raid1 and single. gonus Linux - Software 3 07-17-2014 02:48 PM
LXer: Rollback To A Working State With btrfs + apt-btrfs-snapshot On Ubuntu 12.10 LXer Syndicated Linux News 0 11-25-2012 10:42 AM
ext4 vs btrfs, and with btrfs do I still need to use LVM? blue_k Linux - Software 4 08-17-2012 11:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration