praecorloth
Contributor
- Joined
- Jun 2, 2011
- Messages
- 159
Hey folks,
I'm going to run over a quick story about our issue with the RAID-Z tax and how we happened upon it. I don't actually need help with the issue, but what I'm curious about is how I can have been dealing with ZFS for almost a decade now, and never have run across this. I'm wondering if people just don't use RAID-Z for deployments anymore. Does everyone just use mirrors these days?
If you don't know what the RAID-Z tax is, read the story below. If you know what the RAID-Z tax is, I'm curious to know how you're dealing with it. Did you opt to go with mirrors? Are you just eating the additional storage cost? Are you just able to find a reliable source of 512 byte block hard drives?
###Story time!###
We're having an issue with out setup. We run VMs in Zvols on ZFS on Linux. We then replicate them over to a FreeNAS box for backup. Since the FreeNAS box isn't all about performance, it's rocking an 8 disk RAID-Z2. The problem we're running into is that the space used on FreeNAS is more than twice that on the Linux hypervisor. So, I did I little digging and found this gem.
https://serverfault.com/questions/512018/strange-zfs-disk-space-usage-report-for-a-zvol
Apparently there is some kind of tax associated with RAID-Z, which gets worse as you add disks, and depending upon whether you have standard format (512 block size) or advanced format (4096 block size) drives.
###End Story Time!###
So Dan, the person who wrote that wonderful answer on Server Fault, suggests the following:
1. Don't use 4k drives
2. Use zvols with the volblocksize >=32k
3. Prefer stripes of mirrors over RAID-Z
Personally, I'm not aware of a way to reliably purchase 512 byte drives, so option 1 is out for me. Also, as I understand it, we will eventually be rid of 512 byte drives.
Option 2 is definitely worth investigating.
Option 3 doesn't buy us a whole lot. We're using an 8 disk RAID-Z2, which puts us losing just over half the space due to the tax. If we went with a pool of mirrors, we'd still be looking at losing about half the space to the mirror, and we'd be losing redundancy.
So yeah, that's the long long version of me just trying to figure out how people around here are dealing with this RAID-Z tax.
I'm going to run over a quick story about our issue with the RAID-Z tax and how we happened upon it. I don't actually need help with the issue, but what I'm curious about is how I can have been dealing with ZFS for almost a decade now, and never have run across this. I'm wondering if people just don't use RAID-Z for deployments anymore. Does everyone just use mirrors these days?
If you don't know what the RAID-Z tax is, read the story below. If you know what the RAID-Z tax is, I'm curious to know how you're dealing with it. Did you opt to go with mirrors? Are you just eating the additional storage cost? Are you just able to find a reliable source of 512 byte block hard drives?
###Story time!###
We're having an issue with out setup. We run VMs in Zvols on ZFS on Linux. We then replicate them over to a FreeNAS box for backup. Since the FreeNAS box isn't all about performance, it's rocking an 8 disk RAID-Z2. The problem we're running into is that the space used on FreeNAS is more than twice that on the Linux hypervisor. So, I did I little digging and found this gem.
https://serverfault.com/questions/512018/strange-zfs-disk-space-usage-report-for-a-zvol
Apparently there is some kind of tax associated with RAID-Z, which gets worse as you add disks, and depending upon whether you have standard format (512 block size) or advanced format (4096 block size) drives.
###End Story Time!###
So Dan, the person who wrote that wonderful answer on Server Fault, suggests the following:
1. Don't use 4k drives
2. Use zvols with the volblocksize >=32k
3. Prefer stripes of mirrors over RAID-Z
Personally, I'm not aware of a way to reliably purchase 512 byte drives, so option 1 is out for me. Also, as I understand it, we will eventually be rid of 512 byte drives.
Option 2 is definitely worth investigating.
Option 3 doesn't buy us a whole lot. We're using an 8 disk RAID-Z2, which puts us losing just over half the space due to the tax. If we went with a pool of mirrors, we'd still be looking at losing about half the space to the mirror, and we'd be losing redundancy.
So yeah, that's the long long version of me just trying to figure out how people around here are dealing with this RAID-Z tax.