/srv/irclogs.ubuntu.com/2022/08/27/#ubuntu-discuss.txt

lotuspsychjegood morning02:25
wezAfternoon!02:48
jailbreakMorning πŸŒ…πŸŒž10:30
wezEvening!12:42
wez.o/13:52
lotuspsychjethere's currently a zfs bug on jammy unsolved too13:53
lotuspsychjemight still wait a bit13:53
wezlotuspsychje: Is there a btrfs bug too?13:53
lotuspsychjei didnt test btrfs on jammy yet13:53
linsuxis btrfs a junk or linux equivalent of zfs?13:53
wezIf not then great! looks like you can work around the zfs issues by using btrfs13:53
wezIt offers most of what zfs does, depends what you need out of zfs I guess13:54
murmellinsux: for now, it depends on what you want to do with it13:54
linsuxi want to setup home nas for home photo/video, 100G per year13:56
linsuxi shouldprobably get backup?13:56
linsuxand use zfs? btrfs?13:56
murmellinsux: then it doesn't really matter which you choose. (at raid1 level)13:56
lotuspsychjethink synology NAS has btrfs by default13:56
murmellotuspsychje: which sadly it not upstream btrfs13:57
linsuxraid0 is mirroring and raid1 is stripping?13:57
murmeladditionally they only use it for checksumming the files, raid is by lvm13:57
murmellinsux: other way around13:57
linsuxif i use raid1 i gotto use zfs btrfs not ext4 or xfs right?13:57
linsuxhow likely will i lose data on raid113:58
wezlinsux: raid1 can be done via hardware, it doesn;t need to be done by a file syste,13:58
wezm13:58
murmellinsux: you can go mdraid/lvm raid1 with ext4, but I would go zfs/btrfs route, just because of checksum/scrubbing feature13:58
linsuxso, zfs or btrfs?13:58
murmelbecause nobody wants to read every single file to see if corruption happened (over the span of a year)13:59
wezraid1 is a 1:1 copy, so depends how many drives are in the array and which ones go down13:59
wezraid6 exists BTW13:59
linsuxand hardware raid is always better than software right?13:59
wezlinsux: Usually, depends on the raid controller.  Some are just firmware for the config and software via drivers for the implementation14:00
wezlinsux: Others are a full on computer on a card that handles it14:00
wezcompelte with CPU and RAM14:00
murmellinsux: hardware raid is bascially dead14:01
murmelas hw raid has quite a few disadvantages14:01
wezmurmel: Oh?14:02
murmelyes?14:02
wezmurmel: Go on14:02
wezI am interested to find out why that is the case14:03
cbreakusually, hardware raid is much worse than zfs14:03
wezcbreak: hardware raid usually has a battery backup14:03
cbreakso?14:03
murmelwez: the biggest one is, when your controller dies. you literally need to have the exact same one, and even then it's not guaranteed to work14:04
cbreakzfs works without battery14:04
wezsaves those bits14:04
wezprecious bits14:04
murmelwez: additionally, with the ongoing "convergence" in datacenters, it doesn't matter that the cpu is tilting just because it manages 90+ disks14:05
wez.o/14:08
cbreakat work, we've had data loss once because some hardware raid controller failed14:09
cbreakand the disks were completely unreadable without it, nor with a replacement14:09
cbreakwith zfs, this won't happen14:09
cbreaknot even with btrfs or other lesser software raid14:09
cbreakI don't think there's a good reason to waste money on inferior hardware raid solutions nowadays, that we have zfs and CPUs that are more than fast enough to handle it14:10
murmelwhatever "lesser software raid" means14:10
murmelthat's another thing, sw raid _is_ cheaper14:10
cbreaklike mdraid, or the stuff apple / microsoft offers14:10
cbreakblock level redundancy raids14:10
JanChardware RAID controllers should just use the standard RAID format from linux14:10
cbreakJanC: they don't.14:10
cbreaknothing's standard about them as far as I can tell14:11
JanCI meant "standard" as in a de facto standard  :)14:11
murmelJanC: how would they lock you in then? ^^14:11
JanCand I mean someone should make such controllers, and it would be a good way to market them: never lose data that way14:12
cbreakI use zfs in many usecases, and I've only had data loss so far when I experimented around with alpha versions of zfs or similar14:12
murmelcbreak: zfs also has other data loss situations, but very few14:12
cbreakJanC: why bother?14:12
cbreakmurmel: haven't encountered those yet though :)14:13
murmelcbreak: I don't know if they fixed it already, but there was an issue with zfs send/receive14:13
cbreakthe hole birth one?14:13
cbreakor the one with encrypted raw sends?14:13
murmelcan't remember, give me a sec to see on gh14:13
murmelbut yeah, every fs had it's issues with data loss, the big question is rather which fs do you trust enough with your data14:14
cbreakthe answer should be: Make backups no matter which one you chose.14:15
murmelcbreak: definitely14:16
cbreakzfs is super reliable, and defends against corruption caused by hardware more so than any other solution I know of, but it's not immune to problems such as bugs in zfs itself, or the house burning down.14:16
wezMore than a hardware solution?14:16
cbreakheh, sure14:17
cbreakhardware raid can't even compete with btrfs14:17
murmeli do quite like that btrfs brought a lot of firmware bugs to the surface14:18
cbreakhttps://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/Ubuntu%2022.04%20Root%20on%20ZFS.html <- in case you care about zfs boot on ubuntu, in a more proper way14:22
cbreak(I recommend using zbm, and not splitting the root into separate /boot, /usr, ...)14:22
murmelcbreak: btw, don't you have to disable the zfs module in the ubuntu kernel when using a different zfs version (can remember doing this on 20.0414:24
cbreakI don't think you have to do that manually, but I've only used the dkms thing once, a long time ago14:24
cbreakon ubuntu, I usually stick with the shipped zfs14:25
murmelI can remember I looked into it because 20.04 shipped with 0.8.6 and I wanted to see the newer 2.0 release (especially as I was building a new raid system)14:31
cbreak0.8.3. I still use that on a pair of servers I control, works ok.14:40
murmelcbreak: yeah I wanted to avoid the pool upgrade later down the road14:44
=== luis220413_ is now known as luis220413
jailbreakAfternoon 😁☺️17:16
=== EriC^^_ is now known as EriC^^
=== EriC^^ is now known as Guest7921
=== EriC^ is now known as EriC^^

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!