No, they don't. And absolute statements like that will almost always be incorrect.Everywhere, everybody in every blog post looks telling that mirror vdev Is Better than raidz vdev.
It isn't, and nobody who has any clue of what they're talking about says otherwise.If that's Always the truth,
Better space efficiency is the biggest reason. Six disks in RAIDZ2 gives you (roughly) the capacity of four disks, and can tolerate the loss of any two disks without any loss of data. To get the same capacity and redundancy with mirrors, you'd need twelve disks--4x three-way mirrors. You'll get more IOPS with the mirrors, but those aren't always that important.why do Raidz even exists? What are the pros of using raidz over mirror ( with same number of redundant disks)
Mainly the common talk Is:No, they don't. And absolute statements like that will almost always be incorrect.
It isn't, and nobody who has any clue of what they're talking about says otherwise.
Better space efficiency is the biggest reason. Six disks in RAIDZ2 gives you (roughly) the capacity of four disks, and can tolerate the loss of any two disks without any loss of data. To get the same capacity and redundancy with mirrors, you'd need twelve disks--4x three-way mirrors. You'll get more IOPS with the mirrors, but those aren't always that important.
It makes sense. So for home usage mirror Is Better, for Enterprise grade, go with raidz, right?For smaller installations, mirrors make a lot of sense. For systems that require lots of IOPS, they're the only way to go (at least if you're stuck using spinners). If you want to be able to expand your pool a little bit at a time, they're a good choice. But if you're wanting to store hundreds of terabytes and don't want waste half (or more) of your disk space on redundancy, and particularly if you don't need maximum performance while doing it, mirrors don't make much sense.
Faster, yes. Safer? meh.- Faster and safer resilvering
This belongs under RAIDZ, not under mirrors.- More reliable with same number of disks
That's going to depend on your definition of "scalability." What do you understand it to mean in this context?- Better scalability
More IOPS, yes--as a result of more vdevs. Better sequential read performance? Sequential write? Other? Performance has many aspects, and not all favor mirrors.- Better performance
It tells us nothing of the kind, and I'm honestly mystified as to how you'd think any pros/cons comparison would demonstrate an industry standard. Maybe--if it were as lopsided as you seem to think, and if economy were as meaningless as you also seem to think--it would demonstrate that mirrors should be an industry standard, but even then it doesn't demonstrate that they are.This VS tells that One Is and industry standard
RAIDZ is usually less expensive for a given combination of capacity and redundancy than mirrors. That difference can easily run into thousands--or even tens of thousands--of dollars. To dismiss that as "a cheap alternative" is frankly nonsensical.the other Is a cheap alternative.
I don't think that's at all a reasonable conclusion from what I wrote.So for home usage mirror Is Better, for Enterprise grade, go with raidz, right?
Better storage efficiency and better redundancy aren't enough? You already know about these, and they are not small things, especially as the storage requirements increase.raidz exists for a reason and i'm trying to understand that.
Pretty much; the twist here was the opening assertion that everyone in every blog post everywhere says to use mirrors, so why does RAIDZ even exist? The false premise naturally leads to false conclusions.This thread is a duplicate of so many threads here asking about clarity of Mirrors vs. RAIDZ