this post was submitted on 02 Aug 2023
174 points (100.0% liked)

Linux

48330 readers
589 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
all 31 comments
sorted by: hot top controversial new old
[–] sickday@kbin.social 89 points 1 year ago
Reviewing has become a nightmare of sifting through under-documented kernel code trying to decide if this new feature won't break all the other features. Getting reviews is an unpleasant process of negotiating with demands for further cleanups, trying to figure out if a review comment is based in experience or unfamiliarity, and wondering if the silence means anything.

Damn I feel that

[–] woelkchen@kbin.social 48 points 1 year ago (2 children)

Darrick nominated Chandan Babu of Oracle to handle release management for XFS

Oracle? 🤨 Oh boy...

[–] Badabinski@kbin.social 38 points 1 year ago

As much as I despise Oracle and the lawn mower man known as Larry Ellison, I don't think this is a problem. Oracle also had a lot to do with btrfs, and while that filesystem has problems, they're not the sort of problems usually associated with Oracle (i.e. rapacious capitalistic practices like patent trolling and suing the fuck out of everyone all the time always). Oracle won't own XFS, it's owned by every single person who has ever contributed to that codebase.

[–] danielfgom@lemmy.world 8 points 1 year ago

The Linux team at Oracle are ok I think. Based on the blog post they made about the Red Hat debacle. Sounds like they are true Linux guys so it should be ok

[–] agressivelyPassive@feddit.de 26 points 1 year ago (7 children)

Serious question: why would anyone opt for XFS these days? I remember reading about it being faster/more efficient with small files, but is that still valid?

[–] sickday@kbin.social 28 points 1 year ago (1 children)

XFS has been the default file system for RHEL since RHEL 7. A lot of places typically roll with defaults there, so it makes sense to see it still widely used.

[–] winterayars@sh.itjust.works 8 points 1 year ago

The RHEL (and Fedora) defaults are quite good, too.

[–] InverseParallax@lemmy.world 22 points 1 year ago

Xfs is basically a bigger, better ext4.

It has more features but it also isn't as weird and wacky as btrfs and zfs.

Honestly I'm not sure it shouldn't be the default fs for most distros, except it wasn't born in the Linux kernel like ext and btrfs, but it's been here forever and it's been very well behaved, unlike others I can mention.

Used it for a while on lvm raid, xfs was never what gave me problems.

[–] woelkchen@kbin.social 15 points 1 year ago (2 children)

XFS is rock solid and still has active development going on, so why not.

[–] Bipta@kbin.social 7 points 1 year ago (1 children)

But are there benefits over ext4 and BTRFS these days?

[–] synestine@sh.itjust.works 8 points 1 year ago (1 children)

From the top of my head, compared to ext4: RAM use and the ability to shrink an FS if necessary. Oh, also I've used an EXT FS driver on a Windows host, but I've never seen one for XFS.

[–] lemmyng@lemmy.ca 4 points 1 year ago (1 children)

Just to clarify, the previous comment asked about benefits of XFS over ext4. But I completely agree with your reasons for choosing ext4.

[–] synestine@sh.itjust.works 3 points 1 year ago

Oh, my bad.

The two benefits to XFS that I've ever seen are that it has no inode limit like ext4 (which prevents the FS shrink). The other is that it seems to handle simultaneous I/O better than ext4 does; think very active database volumes and datastores.

[–] Kata1yst@kbin.social 7 points 1 year ago (1 children)

Rock solid may be a stretch. They still suffer from outrageous metadata bugs even to this day when used in busy file systems.

That bug alone has been open for over a decade. Development focus of the people who understand and want to fix those things have shifted to other filesystems like ext4 and ZFS.

[–] gnumdk@lemmy.ml 1 points 1 year ago

Main reason I stopped using it ten years ago.

[–] Snowplow8861@lemmus.org 9 points 1 year ago (1 children)

I'll give you one reason it's used commercially: Veeam can only use xfs or refs as a deduplication enabled store using fastclone. For example I have a 60 disk nas hosting hundreds of customer backups and a petabyte. Without deduplication imagine how many extra petabytes of storage would be consumed. Each backup is basically the same image as well as the backup processing time.

Maybe they'll get that same feature on zfs one day.

Unless you want me to use refs? But I have tried that, and I've lost a whole volume to iscsi volume mounted to windows and formatted refs due to corruption when a network power loss happened gradually and whatever reason, that network interruption caused the whole volume to be unmountable over iscsi ever again. I'm not keen to retry that.

Xfs is pretty good with 60 disks, I wouldn't trust ext4 with that many but there's nothing factual about ext4 but a feeling.

About to get a second 60 disk nas for another datacentre for the same setup as above to migrate away from Wasabi as offsite. Will build xfs again. Looking forward to it.

[–] HR_Pufnstuf@lemmy.world 11 points 1 year ago (3 children)

ZFS has deduplication, you just don't want to use it. As deduplication grows, it requires more and more RAM on the ZFS server. :(

[–] ryannathans@lemmy.fmhy.net 6 points 1 year ago

Dedupe hash table can be moved to ssd but obviously slower

[–] Snowplow8861@lemmus.org 3 points 1 year ago

Yeah but veeam doesn't support fast block cloning which means you don't need to ever recopy blocks that don't change. From a performance point of view, fast block cloning gives incredible speed up so that in turn means more backups happen in a short time. That's pretty important even at our small business scale. I guess larger veeam service providers solve things differently.

[–] skullgiver@popplesburger.hilciferous.nl 2 points 1 year ago* (last edited 1 year ago) (1 children)

[This comment has been deleted by an automated system]

[–] HR_Pufnstuf@lemmy.world 2 points 1 year ago

Well enough, I guess, that I'd never heard if NTFS having that feature 'till now. ;)

[–] freeman@lemmy.pub 6 points 1 year ago

I am pretty sure certain apps want xfs. One I can think of is veeam who leverage their block cloning feature for some of their stuff.

[–] kloppix@kbin.social 5 points 1 year ago (1 children)

I use XFS on partitions where I need to implement project quotas.

[–] ryannathans@lemmy.fmhy.net 3 points 1 year ago (1 children)
[–] kloppix@kbin.social 2 points 1 year ago (1 children)

I have no experience with ZFS and didn't know it supported project quotas too. I found out about XFS from an LPIC book where it said that XFS, unlike other filesystems, also supported project quotas (this was about 10 years ago). It's been working fine for me the past few years, so I've never looked for alternatives. Now I'm curious.

[–] ryannathans@lemmy.fmhy.net 1 points 1 year ago

Fairly sure zfs has been able to do dataset quotas for about 20 years, totally worth looking into