-
- Service Provider
- Posts: 193
- Liked: 36 times
- Joined: Oct 28, 2010 10:55 pm
- Full Name: Ashley Watson
- Contact:
OpenZFS 2.2 support for reflinks now available
hi,
For years we were running OpenZFS and really enjoy its benefits. With Veeam we've previously had to overlay XFS onto a zvol in-order to getthe COW reflink support.
We just see this week that OpenZFS 2.2 has been released with native support for reflinks; https://github.com/openzfs/zfs/releases
This feature has been more than 10 years in the making of OpenZFS and changes things significantly in terms of Veeam.
If we switched from XFS on md raid10 dataset back to OpenZFS 2.2, has Veeam been tested on a native OpenZFS 2.2 file system with specific regards to block cloning and reflink support?
Ironically we switched from OpenZFS to md raid set only two days ago to get to the bottom of a long standing performance issue - which in the end turned out to be related to needing to disable NCQ on the drives rather than a problem with OpenZFS in general.
* I do have access to a lab where I can attempt to test this myself but I'd need to simulate this using virtual drives rather than physical drives and it would take me quite a few hours to create a complete simulation of this without access to tin.
For years we were running OpenZFS and really enjoy its benefits. With Veeam we've previously had to overlay XFS onto a zvol in-order to getthe COW reflink support.
We just see this week that OpenZFS 2.2 has been released with native support for reflinks; https://github.com/openzfs/zfs/releases
This feature has been more than 10 years in the making of OpenZFS and changes things significantly in terms of Veeam.
If we switched from XFS on md raid10 dataset back to OpenZFS 2.2, has Veeam been tested on a native OpenZFS 2.2 file system with specific regards to block cloning and reflink support?
Ironically we switched from OpenZFS to md raid set only two days ago to get to the bottom of a long standing performance issue - which in the end turned out to be related to needing to disable NCQ on the drives rather than a problem with OpenZFS in general.
* I do have access to a lab where I can attempt to test this myself but I'd need to simulate this using virtual drives rather than physical drives and it would take me quite a few hours to create a complete simulation of this without access to tin.
-
- Product Manager
- Posts: 14589
- Liked: 2961 times
- Joined: Sep 01, 2014 11:46 am
- Full Name: Hannes Kasparick
- Location: Austria
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
Hello,
no, it's untested / unsupported today. I will check with my colleagues how complicated it would be to support it. Then the second question would be, how stable it is. REFS had many issues in the beginning, we still remember that
Best regards,
Hannes
no, it's untested / unsupported today. I will check with my colleagues how complicated it would be to support it. Then the second question would be, how stable it is. REFS had many issues in the beginning, we still remember that
Best regards,
Hannes
-
- Service Provider
- Posts: 193
- Liked: 36 times
- Joined: Oct 28, 2010 10:55 pm
- Full Name: Ashley Watson
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
thanks,
Just to help speed things along a little, I was able to set up a quick test using our VMware cluster.
I provisioned a minimal install of Rocky Linux 8.8 - 2CPU, 16GB ram, 8GB primary disk, 300GB secondary disk, single NIC - all thin provisioned.
* install OpenZFS 2.2 release;
* check ZFS version
* create a single zpool using the 2nd disk (dev/sdb)
* check zpool is mounted after a reboot - which it should be;
* Go into Veeam, create a new linux repository, and map that server using a backup folder of; /VeeamBackup/backups
When you navigate to that part of ht eVeeam UI, you get a message saying;
"File System behind the path is not XFS: /VeeamBackup/backups"
So I guess a quick test shows that Veeam is likely checking the file system type rather than a general test to see if the reflinks feature is available on the file system in question.
I'd rather see a message saying something like; "Warning: reflink support is detected, but file system is not XFS"
It would be great if you could have a chat with the team.
thanks
Ashley
Just to help speed things along a little, I was able to set up a quick test using our VMware cluster.
I provisioned a minimal install of Rocky Linux 8.8 - 2CPU, 16GB ram, 8GB primary disk, 300GB secondary disk, single NIC - all thin provisioned.
* install OpenZFS 2.2 release;
Code: Select all
# dnf install https://zfsonlinux.org/epel/zfs-release-2-3$(rpm --eval "%{dist}").noarch.rpm
# dnf config-manager --enable zfs-testing
# dnf install -y epel-release
# dnf install -y kernel-devel
# dnf install -y zfs
# reboot
Code: Select all
# zfs --version
zfs-2.2.0-1
Code: Select all
# zpool create VeeamBackup /dev/sdb
# reboot
Code: Select all
# df -h|grep VeeamBackup
VeeamBackup 289G 128K 289G 1% /VeeamBackup
When you navigate to that part of ht eVeeam UI, you get a message saying;
"File System behind the path is not XFS: /VeeamBackup/backups"
So I guess a quick test shows that Veeam is likely checking the file system type rather than a general test to see if the reflinks feature is available on the file system in question.
I'd rather see a message saying something like; "Warning: reflink support is detected, but file system is not XFS"
It would be great if you could have a chat with the team.
thanks
Ashley
-
- Product Manager
- Posts: 14589
- Liked: 2961 times
- Joined: Sep 01, 2014 11:46 am
- Full Name: Hannes Kasparick
- Location: Austria
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
Hello,
thanks for the details. We are working on the 12.1 releases and adding a new file system with reflink support needs proper testing. We will not add ZFS reflink support "over night". I assume you are also interested to have your data stored safely
Yes, the software checks both... XFS & reflink.
Best regards,
Hannes
thanks for the details. We are working on the 12.1 releases and adding a new file system with reflink support needs proper testing. We will not add ZFS reflink support "over night". I assume you are also interested to have your data stored safely
Yes, the software checks both... XFS & reflink.
Best regards,
Hannes
-
- Influencer
- Posts: 13
- Liked: 2 times
- Joined: May 20, 2021 8:50 pm
- Contact:
[MERGED] Feature Request - ZFS fast clone support
With the release of ZFS 2.2, block cloning is now supported. This means that, along with ReFS and XFS, ZFS would be able to create synthetic fulls using fast clone if implemented.
Being able to use triple parity and/or distributed RAID would be a fantastic addition for petabyte scale repositories where traditional RAID is not feasible.
We're already using ZVOLs formated with XFS on ZFS and it works well enough, however there are significant performance limitations due to the necessity of read-modify-write that comes with a mismatched pool recordsize combined with the ZVOL block size. Bypassing the need for a ZVOL by having Veeam directly support the ZFS file system would solve this issue.
Hopefully this is considered. Thanks.
Being able to use triple parity and/or distributed RAID would be a fantastic addition for petabyte scale repositories where traditional RAID is not feasible.
We're already using ZVOLs formated with XFS on ZFS and it works well enough, however there are significant performance limitations due to the necessity of read-modify-write that comes with a mismatched pool recordsize combined with the ZVOL block size. Bypassing the need for a ZVOL by having Veeam directly support the ZFS file system would solve this issue.
Hopefully this is considered. Thanks.
-
- Chief Product Officer
- Posts: 31471
- Liked: 7011 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: Feature Request - ZFS fast clone support
I can tell you that many folks at Veeam (including me) are truly excited about this in theory, but some (including me) are really afraid of the repeat of ReFS block cloning woes which took years to stabilize and costed us some customers. Jumping on a brand new block cloning capability just seem like stepping on the same rake again.
Question: would you personally use such integration in production environment if we had this feature in the experimental support status for its initial release?
Question: would you personally use such integration in production environment if we had this feature in the experimental support status for its initial release?
-
- Veeam Vanguard
- Posts: 573
- Liked: 132 times
- Joined: Aug 13, 2014 6:03 pm
- Full Name: Chris Childerhose
- Location: Toronto, ON
- Contact:
Re: Feature Request - ZFS fast clone support
I think you could probably get quite a few folks that would test this, maybe not so much in production, but I would give it a full run-through in my lab to give feedback to Veeam.
-----------------------
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
-
- Influencer
- Posts: 13
- Liked: 2 times
- Joined: May 20, 2021 8:50 pm
- Contact:
Re: Feature Request - ZFS fast clone support
I'd agree that production might be a hard sell, but at the same time we're using SOBRs and pushing copies to S3 compatible storage. It might not be infeasible to test this out for the local copy.
I guess part of the question is when the feature might arrive. If this is going to be a large undertaking that might arrive with, say, v13. Then I'd be more confident that the bugs on the ZFS side have been worked out.
I guess part of the question is when the feature might arrive. If this is going to be a large undertaking that might arrive with, say, v13. Then I'd be more confident that the bugs on the ZFS side have been worked out.
-
- Veeam Software
- Posts: 1793
- Liked: 649 times
- Joined: Mar 02, 2012 1:40 pm
- Full Name: Timothy Dewin
- Contact:
Re: Feature Request - ZFS fast clone support
To just show you what @Gostev means that we are concerned since it is a new feature, just look at the latest release :
Note: We recommend that anyone running zfs-2.2.0 to please update to this release. Gentoo users have identified a block cloning bug (#15526) that can result in data corruption in zfs-2.2.0. To workaround this, zfs-2.2.1 disables block cloning by default (see #15529 and 479dca5). Users running the 2.1.x branch or older are unaffected, as block cloning is a 2.2.x-only feature.
https://github.com/openzfs/zfs/releases/tag/zfs-2.2.1
Note: We recommend that anyone running zfs-2.2.0 to please update to this release. Gentoo users have identified a block cloning bug (#15526) that can result in data corruption in zfs-2.2.0. To workaround this, zfs-2.2.1 disables block cloning by default (see #15529 and 479dca5). Users running the 2.1.x branch or older are unaffected, as block cloning is a 2.2.x-only feature.
https://github.com/openzfs/zfs/releases/tag/zfs-2.2.1
-
- Veeam Vanguard
- Posts: 573
- Liked: 132 times
- Joined: Aug 13, 2014 6:03 pm
- Full Name: Chris Childerhose
- Location: Toronto, ON
- Contact:
Re: Feature Request - ZFS fast clone support
Yeah, I can see concerns with things like this happening. Maybe it is not ideal until the kinks are worked out, and the file system is more mature. Maybe a 2024 thing.
-----------------------
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
-
- Influencer
- Posts: 13
- Liked: 2 times
- Joined: May 20, 2021 8:50 pm
- Contact:
Re: Feature Request - ZFS fast clone support
The OpenZFS team released 2.2.1 pretty quickly in response to the bug, thinking it was related to block cloning. It turns out to have been completely unrelated and is actually due to a race condition in hole seeking. Here's a link to the issue on Github which goes into a lot more detail.
Not to say caution isn't warranted with a new feature on a file system, I get where you're coming from. But this particular example, isn't related.
Not to say caution isn't warranted with a new feature on a file system, I get where you're coming from. But this particular example, isn't related.
-
- Veeam Legend
- Posts: 362
- Liked: 188 times
- Joined: Apr 11, 2023 1:18 pm
- Full Name: Tyler Jurgens
- Contact:
Re: Feature Request - ZFS fast clone support
That GitHub link is a fascinating read! Thanks for sharing.
As for Gostev's question? No, I wouldn't test this in production. I would be willing to throw it at a lab though.
As for Gostev's question? No, I wouldn't test this in production. I would be willing to throw it at a lab though.
Tyler Jurgens
Veeam Legend x3 | vExpert ** | VMCE | VCP 2020 | Tanzu Vanguard | VUG Canada Leader | VMUG Calgary Leader
Blog: https://explosive.cloud
Twitter: @Tyler_Jurgens BlueSky: @tylerjurgens.bsky.social
Veeam Legend x3 | vExpert ** | VMCE | VCP 2020 | Tanzu Vanguard | VUG Canada Leader | VMUG Calgary Leader
Blog: https://explosive.cloud
Twitter: @Tyler_Jurgens BlueSky: @tylerjurgens.bsky.social
-
- Service Provider
- Posts: 371
- Liked: 120 times
- Joined: Nov 25, 2016 1:56 pm
- Full Name: Mihkel Soomere
- Contact:
Re: Feature Request - ZFS fast clone support
This could be an experimental/unsupported registry key that would for example relax requirements for filesystems. I presume that current version is not file system specific but there's just some filter to only allow ReFS/XFS. It'd be nice to test block clone on unsupported file systems like btrfs or zfs. Hell, it'd be nice it SMB block clone worked on non-ReFS (eg NAS supporting btrfs).
Not that it's a great idea but for lab purposes, not too bad either.
Not that it's a great idea but for lab purposes, not too bad either.
-
- Product Manager
- Posts: 14589
- Liked: 2961 times
- Joined: Sep 01, 2014 11:46 am
- Full Name: Hannes Kasparick
- Location: Austria
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
Hello,
I merged the new thread with an older existing thread on the same topic. I did a quick test a month ago or so and the software does block cloning on ZFS already today with some hacks (which I don't want to post in public, because it's far off being supported)
So we will have a closer look at it after 12.1 is GA. Also thanks for your feedback about experimental support
Best regards,
Hannes
I merged the new thread with an older existing thread on the same topic. I did a quick test a month ago or so and the software does block cloning on ZFS already today with some hacks (which I don't want to post in public, because it's far off being supported)
So we will have a closer look at it after 12.1 is GA. Also thanks for your feedback about experimental support
Best regards,
Hannes
-
- Influencer
- Posts: 13
- Liked: 2 times
- Joined: May 20, 2021 8:50 pm
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
Awesome, thanks! Exciting to hear that we might see this in a future release.
-
- Veeam Software
- Posts: 131
- Liked: 33 times
- Joined: Jul 28, 2022 12:57 pm
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
can't wait to read some lab tests with OpenZFS on Linux Harden' repo
Bertrand / TAM EMEA
-
- Product Manager
- Posts: 14589
- Liked: 2961 times
- Joined: Sep 01, 2014 11:46 am
- Full Name: Hannes Kasparick
- Location: Austria
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
Hello,
as the topic popped up again here, I will give a short update:
We are currently testing OpenZFS reflink for stability. Adjustments need to be made to avoid high CPU load. I strongly recommend avoiding any hacks to get ZFS working today.
Best regards,
Hannes
as the topic popped up again here, I will give a short update:
We are currently testing OpenZFS reflink for stability. Adjustments need to be made to avoid high CPU load. I strongly recommend avoiding any hacks to get ZFS working today.
Best regards,
Hannes
-
- Veeam Vanguard
- Posts: 573
- Liked: 132 times
- Joined: Aug 13, 2014 6:03 pm
- Full Name: Chris Childerhose
- Location: Toronto, ON
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
Great to hear you are testing OpenZFS now and look forward to the updates.
-----------------------
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
-
- Service Provider
- Posts: 193
- Liked: 36 times
- Joined: Oct 28, 2010 10:55 pm
- Full Name: Ashley Watson
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
Are there any updates as to how close Veeam is to a release that alloweds for ZFS with COW support?
Reason why is we are running tests with MinIO at the moment and hitting a ceiling in terms of throughput on a spinning disk based single node and I'd like to run similar tests on a stripe across multiple raidz1 data sets but only if support is available in Veeam (even with an unsupported flag).
Thanks
Reason why is we are running tests with MinIO at the moment and hitting a ceiling in terms of throughput on a spinning disk based single node and I'd like to run similar tests on a stripe across multiple raidz1 data sets but only if support is available in Veeam (even with an unsupported flag).
Thanks
-
- Product Manager
- Posts: 14589
- Liked: 2961 times
- Joined: Sep 01, 2014 11:46 am
- Full Name: Hannes Kasparick
- Location: Austria
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
Hello,
yes, the plan is to enable ZFS reflink integration preview with the next minor update as an unsupported option. The reason for "unsupported" is, that reflink is still disabled per default and we expect it will take some time before reflink gets "backup storage maturity". Having that said, I'm very positive about working with the OpenZFS team.
Best regards,
Hannes
yes, the plan is to enable ZFS reflink integration preview with the next minor update as an unsupported option. The reason for "unsupported" is, that reflink is still disabled per default and we expect it will take some time before reflink gets "backup storage maturity". Having that said, I'm very positive about working with the OpenZFS team.
Best regards,
Hannes
-
- Service Provider
- Posts: 109
- Liked: 4 times
- Joined: Jan 02, 2017 7:31 am
- Full Name: JTT
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
Is there ETA for the next minor update?
-
- Chief Product Officer
- Posts: 31471
- Liked: 7011 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
-
- Service Provider
- Posts: 109
- Liked: 4 times
- Joined: Jan 02, 2017 7:31 am
- Full Name: JTT
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
And ZFS reflink integration will make it to that release?
-
- Chief Product Officer
- Posts: 31471
- Liked: 7011 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
Yes, a preview like Hannes explained.
-
- Chief Product Officer
- Posts: 31471
- Liked: 7011 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
Hi all,
Once you upgrade to 12.1.2 (to be released shortly), you can enable this functionality for Linux-based backup repositories with ZFS volumes by creating /etc/veeam/EnableZFSBlockCloning file on a repository server.
This functionality is currently not supported for production use (not even under Experimental Support terms) and therefore should be used in test labs only. The purpose of this technology preview is to allow Veeam enthusiasts to test long term stability and performance of this new ZFS capability.
We will reuse this discussion for sharing feedback on the technology preview (I will link this topic in the Release Notes).
Thank you for your interest and time!
Once you upgrade to 12.1.2 (to be released shortly), you can enable this functionality for Linux-based backup repositories with ZFS volumes by creating /etc/veeam/EnableZFSBlockCloning file on a repository server.
This functionality is currently not supported for production use (not even under Experimental Support terms) and therefore should be used in test labs only. The purpose of this technology preview is to allow Veeam enthusiasts to test long term stability and performance of this new ZFS capability.
We will reuse this discussion for sharing feedback on the technology preview (I will link this topic in the Release Notes).
Thank you for your interest and time!
-
- Novice
- Posts: 3
- Liked: 1 time
- Joined: Aug 24, 2022 8:23 pm
- Full Name: Mr Manuel
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
Will this also work, if a QNAP (QuTS hero) ZFS storage pool is mounted via NFS on a Linux server?
-
- Chief Product Officer
- Posts: 31471
- Liked: 7011 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
I don't think so (because of NFS layer between Veeam and ZFS).
-
- Service Provider
- Posts: 371
- Liked: 120 times
- Joined: Nov 25, 2016 1:56 pm
- Full Name: Mihkel Soomere
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
But no generic enablement without filesystem filter (btrfs, non-ReFS SMB)?
-
- Chief Product Officer
- Posts: 31471
- Liked: 7011 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
-
- Service Provider
- Posts: 193
- Liked: 36 times
- Joined: Oct 28, 2010 10:55 pm
- Full Name: Ashley Watson
- Contact:
Re: OpenZFS 2.2 support for reflinks now available
For anyone contemplating getting ready for testing any of this, block cloning on OpenZFS is not enabled by default and needs to be enabled.
Current release version of OpenZFS is 2.2.4 - I would strongly recommend that any potential testing is not done on earlier releases to minimise the risk of issues.
To enable block cloning, first check to see if this has been enabled or not;
Modify the kernel module settings to enable bclone and for this value to persist across reboots;
then reboot, then check the setting again;
Confirmation that block cloning is not enabled by default at this stage
https://www.reddit.com/r/linux/s/egWpsUNGfF
Discussion confirming 2.2.4.1 has been pushed to the el8 zfs-testing repositories inline with other Linux varients
https://github.com/openzfs/zfs/issues/16170
Discussion on whether block cloning should be made default of not in upcoming 2.2.5 release;
https://github.com/openzfs/zfs/issues/16189
Current release version of OpenZFS is 2.2.4 - I would strongly recommend that any potential testing is not done on earlier releases to minimise the risk of issues.
To enable block cloning, first check to see if this has been enabled or not;
Code: Select all
# cat /sys/module/zfs/parameters/zfs_bclone_enabled
0
Code: Select all
# vi /etc/modprobe.d/zfs.conf
options zfs zfs_bclone_enabled=1
Code: Select all
# cat /sys/module/zfs/parameters/zfs_bclone_enabled
1
https://www.reddit.com/r/linux/s/egWpsUNGfF
Discussion confirming 2.2.4.1 has been pushed to the el8 zfs-testing repositories inline with other Linux varients
https://github.com/openzfs/zfs/issues/16170
Discussion on whether block cloning should be made default of not in upcoming 2.2.5 release;
https://github.com/openzfs/zfs/issues/16189
Who is online
Users browsing this forum: Bing [Bot], karsten123 and 342 guests