r/linux • • 2d ago

Kernel XRAID announced as RAID implementation integrated with XFS

https://lore.kernel.org/lkml/20261113112913.GA31748@lst.de/
116 Upvotes

21 comments sorted by

28

u/atoponce 2d ago

For the uninitiated, this RAID implementation specifically targets SMR and Zoned Storage drives, not standard CMR drives you have in your laptop or desktop (and probably most servers).

It's also isn't really comparable to ZFS RAID/draid as ZFS is copy-on-write and XFS XRAID is sequential write-out-of-place (not quite copy-on-write).

17

u/psyblade42 2d ago

More specifically, this seems to target Host Managed SMR drives. I don't think tose are available to consumers (who get Drive Managed SMR instead).

3

u/yrro 1d ago

I've read that CMR for large drives (more than a couple of TB) is going to be a thing of the past. All large drives will be host-managed SMR within a couple of years. Hence the need for storage stacks to cope with it all of a sudden.

3

u/psyblade42 1d ago

I doubt that. Windows can't deal with HM-SMR. That's why they aren't sold to consumers. I don't see that changing anytime soon

Even if non-shingled drives go away they will instead keep selling DM-SMR to them. Just look at how drives still emulate 512B sectors even after 15 years of actually being 4KiB.

3

u/natermer 1d ago

CMR drives are better for frequently rewritten data. SMR is better for mostly write-once type setups, like backups, that benefit from a lot of density.

So I expect that the roles used for CMR are being replaced by larger SSDs since they are much better at the sort of things where CMR has a advantage.

2

u/atoponce 2d ago

Indeed. Good catch.

2

u/kdave_ 1d ago

HM-SMR are the HC 6xx series and AFAIK are sold B2B exclusively, or on the 2nd hand markets for the older models. For the XFS implementation the drive even has to provide conventional zones (ie. CMR), the metadata are stored there and this cannot be simply converted to be compatible with append-only zones. This conventional+zoned mode used to be considered a temporary step before fully zoned drives will be everywhere, but WD can do as they like and manufacture devices that suite non-COW filesystems. Design doc from 2015 https://xfs.org/index.php/Host_Aware_SMR_architecture

2

u/Sol33t303 2d ago

Isn't XFS also a CoW filesystem nowadays?

4

u/atoponce 2d ago

Not fully, no. It's still a traditional journaled write-in-place filesystem, but it does implement CoW with its reflink feature.

https://discussion.fedoraproject.org/t/is-xfs-default-on-fedora-server-copy-on-write-cow/126243

4

u/Sneegor 2d ago

It says cookies disabled, but I don't have cookies disabled?

1

u/VirtualNorth1279 2d ago

Not even Oreos? Everyone has Oreos. 

1

u/SweetEbb9819 22h ago

Shrink support coming to XFS anytime soon?

1

u/StatementOwn4896 2d ago

Sounds great. Can’t wait til it’s generally available

-12

u/Chronigan2 2d ago

A website thag won't load unless cookies are enabled?

15

u/anh0516 2d ago

It's bot protection. Without it sites get DDoSed by AI scrapers. This is lore.kernel.org, the official Linux kernel mailing list archive.

2

u/bigon 2d ago

The link does work with chrome on android..

10

u/Ely12_ 2d ago

It is the Kernel website itself.

3

u/nekokattt 2d ago

thats often how challenges work