-
- Veeam Legend
- Posts: 1203
- Liked: 417 times
- Joined: Dec 17, 2015 7:17 am
- Contact:
Re: How do i disable Integrity Streams?
I will just ask MS devs. Lets see what they say about it...
-
- Veeam Legend
- Posts: 1203
- Liked: 417 times
- Joined: Dec 17, 2015 7:17 am
- Contact:
Re: How do i disable Integrity Streams?
MS will respond to this thread shortly
-
- VP, Product Management
- Posts: 6035
- Liked: 2860 times
- Joined: Jun 05, 2009 12:57 pm
- Full Name: Tom Sightler
- Contact:
Re: How do i disable Integrity Streams?
Sounds good. I've been racking my brain trying to remember if maybe I was actually using storage spaces at the time!
-
- Veeam Legend
- Posts: 1203
- Liked: 417 times
- Joined: Dec 17, 2015 7:17 am
- Contact:
Re: How do i disable Integrity Streams?
Spoiler: you must have according to MS...
-
- Chief Product Officer
- Posts: 31804
- Liked: 7298 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: How do i disable Integrity Streams?
This definitely can't be true: I saw ReFS detecting a storage corruption issue on a regular volume with Veeam backup files. I needed a screenshot of the Windows Event Log error for my presentation, and QC folks purposely corrupted some bits in VMDK to trigger one.
-
- Veeam Legend
- Posts: 1203
- Liked: 417 times
- Joined: Dec 17, 2015 7:17 am
- Contact:
Re: How do i disable Integrity Streams?
Gostev, if what you say is true it would mean that ReFS would have to do backround IO on all data on the volume.
Our monitoring cannot see any backround IO when there is no backup running.
I could understand if it could detect files that are just beeing accessed but not files which are just are on the disk but not accessed...
Our monitoring cannot see any backround IO when there is no backup running.
I could understand if it could detect files that are just beeing accessed but not files which are just are on the disk but not accessed...
-
- Chief Product Officer
- Posts: 31804
- Liked: 7298 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: How do i disable Integrity Streams?
All I'm saying is that data integrity checks do definitely work even on basic volumes (doesn't require Storage Spaces). I don't know when or how often the check is performed though.
But in any case, for me the biggest benefits of data integrity streams has always been performance benefits due to the change of I/O pattern that are beneficial for slow backup storage with poor random I/O capacity, which is what we see used most commonly by our SMB customers.
But in any case, for me the biggest benefits of data integrity streams has always been performance benefits due to the change of I/O pattern that are beneficial for slow backup storage with poor random I/O capacity, which is what we see used most commonly by our SMB customers.
-
- VP, Product Management
- Posts: 6035
- Liked: 2860 times
- Joined: Jun 05, 2009 12:57 pm
- Full Name: Tom Sightler
- Contact:
Re: How do i disable Integrity Streams?
Well, there's no doubt that simply reading the file can generate the event log error message. I've definitely seen events created during, for example, Veeam health checks when there was active corruption in a tested file, even on simple volumes.
But I think @mkretzer is talking more about a background scrub to detect corruption. Honestly, a simple script that just walked the directories and read every file should be enough.
But I think @mkretzer is talking more about a background scrub to detect corruption. Honestly, a simple script that just walked the directories and read every file should be enough.
-
- Veeam Legend
- Posts: 1203
- Liked: 417 times
- Joined: Dec 17, 2015 7:17 am
- Contact:
Re: How do i disable Integrity Streams?
Yes, thats what i meant. 30 % better performance sounds good if there is no big benefit - in know the IO pattern changes then, at least it is an option without a big risk missing corruption if that is really true....
-
- Veteran
- Posts: 643
- Liked: 312 times
- Joined: Aug 04, 2019 2:57 pm
- Full Name: Harvey
- Contact:
Re: How do i disable Integrity Streams?
https://docs.microsoft.com/en-us/window ... y-scrubber
Isn't this the automated process being talked about? There should be a scheduled task running every so often to catch this issues on ReFS in the background, regardless of the volume type.
Isn't this the automated process being talked about? There should be a scheduled task running every so often to catch this issues on ReFS in the background, regardless of the volume type.
-
- Veeam Legend
- Posts: 1203
- Liked: 417 times
- Joined: Dec 17, 2015 7:17 am
- Contact:
Re: How do i disable Integrity Streams?
@soncscy yes thats what i am talking about.
But: Did you ever see the process taking more than a few seconds? We have 600 TB of ReFS on our primary system, nearly full. For the scan to work at 100 MB/s (single stream i guess, slow rotating media) the scan would take 69 days. I see no IO whatsoever when there are no backups running.
This leaves two options:
- Eighter i am right (as microsoft ReFS devs have confirmed and hopefully will write a statement here) and integrity scan does nothing on non-storagespace volumes - this means integrity streams does not have any benefit on ReFS other than altering the IO pattern which might bring some kind of benefit - or not
- Or my servers behave incorrectly and i need to open a ticket with MS
Markus
But: Did you ever see the process taking more than a few seconds? We have 600 TB of ReFS on our primary system, nearly full. For the scan to work at 100 MB/s (single stream i guess, slow rotating media) the scan would take 69 days. I see no IO whatsoever when there are no backups running.
This leaves two options:
- Eighter i am right (as microsoft ReFS devs have confirmed and hopefully will write a statement here) and integrity scan does nothing on non-storagespace volumes - this means integrity streams does not have any benefit on ReFS other than altering the IO pattern which might bring some kind of benefit - or not
- Or my servers behave incorrectly and i need to open a ticket with MS
Markus
-
- Technology Partner
- Posts: 4
- Liked: 8 times
- Joined: May 11, 2020 5:58 pm
- Full Name: Larissa Knight
- Contact:
Re: How do i disable Integrity Streams?
DISCLAIMER: I work for Microsoft as a Program Manager on the Storage and File Systems team - specifically ReFS.
First, thank you all for using ReFS and sharing your feedback! It’s always great to hear first-hand user experience and areas for improvement. I wanted to follow up on a few topics that have been discussed on this thread:
ReFS Integrity Streams provide data integrity. When enabled, it computes and stores data checksums on write and validates data against stored checksums on read. This functionality can be enabled irrespective of the physical media backing the ReFS volume.
If ReFS is on top of resilient Windows Storage Spaces (i.e. Mirror, Parity), ReFS will periodically scrub data with integrity checksums to detect and correct corruption. This scrub function is a monthly scheduled task named “Data Integrity Scan”. On non resilient media, or non-Windows Storage Spaces media this functionality is unavailable.
As Mkretzer mentioned, if an application maintains its own data checksums, and is not on resilient Windows Storage Spaces media, ReFS integrity streams do not provide any additional benefit over regular (non-integrity) streams.
As Gostev mentioned, when ReFS is on a non-resilient/simple Storage Space or bare drive, ReFS Integrity Streams will detect data corruption on read, log an event, but would not be able to correct it.
Therefore, ReFS Integrity Streams work best with mirrored or parity Storage Spaces.
I’m considering a Blog post to cover this in more detail, but feel free to ask any further questions you might have.
First, thank you all for using ReFS and sharing your feedback! It’s always great to hear first-hand user experience and areas for improvement. I wanted to follow up on a few topics that have been discussed on this thread:
ReFS Integrity Streams provide data integrity. When enabled, it computes and stores data checksums on write and validates data against stored checksums on read. This functionality can be enabled irrespective of the physical media backing the ReFS volume.
If ReFS is on top of resilient Windows Storage Spaces (i.e. Mirror, Parity), ReFS will periodically scrub data with integrity checksums to detect and correct corruption. This scrub function is a monthly scheduled task named “Data Integrity Scan”. On non resilient media, or non-Windows Storage Spaces media this functionality is unavailable.
As Mkretzer mentioned, if an application maintains its own data checksums, and is not on resilient Windows Storage Spaces media, ReFS integrity streams do not provide any additional benefit over regular (non-integrity) streams.
As Gostev mentioned, when ReFS is on a non-resilient/simple Storage Space or bare drive, ReFS Integrity Streams will detect data corruption on read, log an event, but would not be able to correct it.
Therefore, ReFS Integrity Streams work best with mirrored or parity Storage Spaces.
I’m considering a Blog post to cover this in more detail, but feel free to ask any further questions you might have.
-
- Veeam Legend
- Posts: 1203
- Liked: 417 times
- Joined: Dec 17, 2015 7:17 am
- Contact:
Re: How do i disable Integrity Streams?
Larissa,
thank you very much for the clarification. Gostev mentioned a change in IO pattern caused by enabling integrity streams for files.
Is there a way to get this "benefit" without the additional load caused by integrity streams enabled?
Markus
thank you very much for the clarification. Gostev mentioned a change in IO pattern caused by enabling integrity streams for files.
Is there a way to get this "benefit" without the additional load caused by integrity streams enabled?
Markus
-
- Technology Partner
- Posts: 4
- Liked: 8 times
- Joined: May 11, 2020 5:58 pm
- Full Name: Larissa Knight
- Contact:
Re: How do i disable Integrity Streams?
When Integrity Streams are enabled, any overwrite becomes a copy-on-write operation which changes the IO pattern. When Integrity Streams are not enabled, any overwrite is performed in place and does not change the IO pattern.
Copy-on-write operations have additional costs:
1.Pathlength - Modifying metadata, allocation in IO codepath.
2.IOPS - dirty metadata, and log records have to be written onto the disk.
Whether the changed IO pattern justifies the cost fundamentally depends on the type of media ReFS is on. We are unable to make blanket recommendation one way or the other.
Copy-on-write operations have additional costs:
1.Pathlength - Modifying metadata, allocation in IO codepath.
2.IOPS - dirty metadata, and log records have to be written onto the disk.
Whether the changed IO pattern justifies the cost fundamentally depends on the type of media ReFS is on. We are unable to make blanket recommendation one way or the other.
-
- Technology Partner
- Posts: 4
- Liked: 8 times
- Joined: May 11, 2020 5:58 pm
- Full Name: Larissa Knight
- Contact:
Re: How do i disable Integrity Streams?
Also something to note is ReFS prefers to update in-place when possible. Update in-place does not have any additional metadata cost and is the normal codepath for non-integrity streams.Larissa@MSFT wrote: ↑Mar 06, 2021 2:22 am DISCLAIMER: I work for Microsoft as a Program Manager on the Storage and File Systems team - specifically ReFS.
First, thank you all for using ReFS and sharing your feedback! It’s always great to hear first-hand user experience and areas for improvement. I wanted to follow up on a few topics that have been discussed on this thread:
ReFS Integrity Streams provide data integrity. When enabled, it computes and stores data checksums on write and validates data against stored checksums on read. This functionality can be enabled irrespective of the physical media backing the ReFS volume.
If ReFS is on top of resilient Windows Storage Spaces (i.e. Mirror, Parity), ReFS will periodically scrub data with integrity checksums to detect and correct corruption. This scrub function is a monthly scheduled task named “Data Integrity Scan”. On non resilient media, or non-Windows Storage Spaces media this functionality is unavailable.
As Mkretzer mentioned, if an application maintains its own data checksums, and is not on resilient Windows Storage Spaces media, ReFS integrity streams do not provide any additional benefit over regular (non-integrity) streams.
As Gostev mentioned, when ReFS is on a non-resilient/simple Storage Space or bare drive, ReFS Integrity Streams will detect data corruption on read, log an event, but would not be able to correct it.
Therefore, ReFS Integrity Streams work best with mirrored or parity Storage Spaces.
I’m considering a Blog post to cover this in more detail, but feel free to ask any further questions you might have.
So when Integrity Streams are enabled, any overwrite becomes a copy-on-write operation.
-
- Service Provider
- Posts: 13
- Liked: 2 times
- Joined: Oct 25, 2018 11:33 am
- Full Name: Yaroslav
- Contact:
Re: How do i disable Integrity Streams?
In the description of what's new in 11 Veeam it is mentioned about creating a key in the registry, but I don't find something in the docs:
Question: Which is the path for this key?• Disable ReFS integrity streams - You can now disable ReFS integrity streams for Veeam backup files
using the DisableRefsIntegrityStreams (DWORD, 1) registry value on the backup server. While we do not
recommend disabling integrity streams because data integrity is paramount in data protection, some
customers insisted on having the ability to control this setting to improve performance.
-
- Product Manager
- Posts: 20400
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: How do i disable Integrity Streams?
All Veeam Backup & Replication registry keys should go to the standard HKLM\SOFTWARE\Veeam\Veeam Backup and Replication hive, unless specifically stated otherwise. Thanks!
-
- Service Provider
- Posts: 13
- Liked: 2 times
- Joined: Oct 25, 2018 11:33 am
- Full Name: Yaroslav
- Contact:
Re: How do i disable Integrity Streams?
One more question)
HKLM\SOFTWARE\Veeam\Veeam Backup and Replication on VBR or on Repo Server?
What about case of using cloud connect server - is this parameter passed from the tenant?
HKLM\SOFTWARE\Veeam\Veeam Backup and Replication on VBR or on Repo Server?
What about case of using cloud connect server - is this parameter passed from the tenant?
-
- Product Manager
- Posts: 20400
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: How do i disable Integrity Streams?
On the backup server, and yes it works for CC deployments as well:
Thanks!Disable ReFS integrity streams - You can now disable ReFS integrity streams for Veeam backup files using the DisableRefsIntegrityStreams (DWORD, 1) registry value on the backup server.
Who is online
Users browsing this forum: Bing [Bot], scottf99 and 108 guests