Host-based backup of VMware vSphere VMs.
Kirill.Naumenko
Service Provider
Posts: 7
Liked: 1 time
Joined: Jul 30, 2018 8:47 am
Full Name: Kirill Naumenko
Contact:

Re: Active snapshots limit reached for datastore

Post by Kirill.Naumenko »

Andreas Neufert wrote: Feb 10, 2019 12:42 pm Each time we create a snapshot for a VM we check how many snapshots we have created for backup. This is per Datastore. There is no counter, we check actual situation.
Sorry but how other jobs that stucking on such step - "Active snapshots limit reached for datastore" understand how many snapshots on datastore if Veeam don't have counter about it?
I have more then 80 jobs on different datastores - and I don't understand how many snapshots at different time exist.
I have different datastores -VSAN, ISCSI on Windows,Linux repositories - is it normal to change this parameter for all of them at one time?
Andreas Neufert
VP, Product Management
Posts: 7081
Liked: 1511 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: Active snapshots limit reached for datastore

Post by Andreas Neufert » 1 person likes this post

As I said this was configured in a way that there will be no issues at our 300.000 VMware customers. Individual storages are much faster and do not run into high latency when you create snapshots or snapshot commits. So you need to test maybe in a way by increasing the setting by 1 each day and see if you run into issues.
Andreas Neufert
VP, Product Management
Posts: 7081
Liked: 1511 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: Active snapshots limit reached for datastore

Post by Andreas Neufert »

At performance tests we usually use arround 20 snapshots.
Hoegimator
Enthusiast
Posts: 48
Liked: 5 times
Joined: Aug 23, 2013 1:06 pm
Full Name: Joerg Renggli
Location: Switzerland
Contact:

[MERGED] Resource not ready: Active snapshots limit reached for datastore

Post by Hoegimator »

Hi all,

We are running v.9.5.0.1922, our vSphere Storage is Cisco Hyperflex v.3.5(2a) with ESXi 6.5u2.

Today I saw the limitation of active Snapshots "Resource not ready: Active snapshots limit reached for datastore".
All the Google researches pointe to the registry entry "MaxSnapshotsPerDatastore (REG_DWORD)", but we don't have that registry entry.

Therefore my first question is, where is that limitation set?
Secondary, is that "MaxSnapshotsPerDatastore" registry still valid?

Thanks for any advise
Joerg
scott.anderson
Service Provider
Posts: 84
Liked: 17 times
Joined: Sep 14, 2011 6:48 am
Full Name: Scott Anderson
Contact:

Re: Active snapshots limit reached for datastore

Post by scott.anderson »

The current limit of 4 is extremely conservative. Its fair if you have an older vSphere/Storage solution, but most current implementation of vSphere on a modern storage solution would have no difficulty processing a lot more than that. We have to pretty much "tweek" this on every implementation now as its actually causing a significant bottle neck in job processing, for no real reason. Would really like to see this as an GUI option on the vSphere cluster or hosts properties in the Backup Infrastructure. That way its not left to people hacking the registry to "fix" it.
TimeKnight
Enthusiast
Posts: 29
Liked: never
Joined: Jan 19, 2012 3:35 pm
Full Name: Brian Weinberg
Contact:

Re: Active snapshots limit reached for datastore

Post by TimeKnight »

I do not know if this is working correctly in 9.5u4a. I have a greenfield installation of 9.5u4 and in one of my backups jobs I have added a VMware Datastore cluster that contains two datastores. When I run this job, it will only process 4 VMs at a time instead of 8. Does it treat a datastore cluster of multiple datastores at 1 datastore or am I missing something else?
Gostev
Chief Product Officer
Posts: 31816
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Active snapshots limit reached for datastore

Post by Gostev »

No, this limit is per individual datastore.
marius roma
Veteran
Posts: 459
Liked: 5 times
Joined: Feb 01, 2012 12:04 pm
Full Name: Mario
Contact:

Re: Active snapshots limit reached for datastore

Post by marius roma »

I read the previous posts but I am a little bit confused.
I am using B&R version 9.5.4.2615 and I got the message "Active snapshots limit reached for datastore" but I cannot reduce the number of snapshots in my infrastructure.
So, what should I do in order to:
  • Verify that the number of snapshots is really critical (I am not sure it is…)
  • Verify which datastore is affected
  • Ensure that my job can go on working?
Regards
marius
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Active snapshots limit reached for datastore

Post by foggy » 1 person likes this post

Hi Mario, have you played with the registry value mentioned above?
marius roma
Veteran
Posts: 459
Liked: 5 times
Joined: Feb 01, 2012 12:04 pm
Full Name: Mario
Contact:

Re: Active snapshots limit reached for datastore

Post by marius roma »

To be honest I simply solved the problem by reducing the number of snapshots.
If changing the registry values is the right solution I'll apply it as soon as I face the problem again.
Regards
marius
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Active snapshots limit reached for datastore

Post by foggy » 1 person likes this post

Yes, it might help in case reducing the number of snapshots is not an option.
msteffes
Influencer
Posts: 14
Liked: 2 times
Joined: Dec 18, 2019 2:23 pm
Full Name: Michael Steffes
Contact:

Re: Active snapshots limit reached for datastore

Post by msteffes »

I'm running version VBR 9.5.4.2866 and the registry value MaxSnapshotsPerDatastore supposedly located at HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\ is not there. Hoegimator mentioned he doesn't see it either is that the case with the rest of you? We are experiencing the same issue and also looking for a solution. Marius Roma mentioned he solved the issue by reducing the number of snapshots can you elaborate on where you did that?
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Active snapshots limit reached for datastore

Post by foggy »

Hi Michael, just create the registry value and set it to the required number. It's a REG_DWORD value under HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication, right.
RubinCompServ
Service Provider
Posts: 326
Liked: 78 times
Joined: Mar 16, 2015 4:00 pm
Full Name: David Rubin
Contact:

Re: Active snapshots limit reached for datastore

Post by RubinCompServ » 1 person likes this post

Considering that this has been an issue since (at least) v7, wouldn't it make sense to finally build the setting into the UI instead of still relying on a manual reg key?
mma
Service Provider
Posts: 111
Liked: 21 times
Joined: Dec 22, 2011 9:12 am
Full Name: Marcel
Location: Lucerne, Switzerland
Contact:

Re: Active snapshots limit reached for datastore

Post by mma »

Gostev
Chief Product Officer
Posts: 31816
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Active snapshots limit reached for datastore

Post by Gostev » 1 person likes this post

RubinCompServ wrote: Feb 04, 2020 4:15 pm Considering that this has been an issue since (at least) v7, wouldn't it make sense to finally build the setting into the UI instead of still relying on a manual reg key?
We prefer to keep this one as an advanced setting. Putting it in the UI is best compared to tying a grenade to the steering wheel.
ChuckS42
Expert
Posts: 189
Liked: 27 times
Joined: Apr 24, 2013 8:53 pm
Full Name: Chuck Stevens
Location: Seattle, WA
Contact:

Re: Active snapshots limit reached for datastore

Post by ChuckS42 »

Was this key originally created by the Veeam installer or patcher? I've got it on my old VBR server (that I just migrated away from) and can't for the life of me remember creating it myself (it's set to 20). The new server I just migrated to with a fresh VBR v10 install doesn't have it.
Veeaming since 2013
Gostev
Chief Product Officer
Posts: 31816
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Active snapshots limit reached for datastore

Post by Gostev »

Almost all registry values don't exist by default, in which case the backup server uses their default value (a constant from the code). So, someone did create that value at some point, even if it was not you.
ChuckS42
Expert
Posts: 189
Liked: 27 times
Joined: Apr 24, 2013 8:53 pm
Full Name: Chuck Stevens
Location: Seattle, WA
Contact:

Re: Active snapshots limit reached for datastore

Post by ChuckS42 »

I don't suppose Veeam uses the datastore *name* to determine how many snapshots there are? So, like, if you've got multiple clusters each with one large datastore (Nutanix) and for simplicity you've used the same generic datastore name for each cluster, Veeam will count all of the snapshots it sees as being from the same datastore... Please say that isn't so. (Though it looks like it is...)
Veeaming since 2013
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Active snapshots limit reached for datastore

Post by foggy »

Hi Chuck, Veeam B&R doesn't rely on a datastore name here. It uses GUID from the datastore's 'url' property for that purpose:

"sanfs://vmfs_uuid:483ffaf1-c56934c6-da39-000423c06e33/"

However, the GUID is empty for netfs:// datastores, which might result in the behavior you're describing. Any chance you have those?
ChuckS42
Expert
Posts: 189
Liked: 27 times
Joined: Apr 24, 2013 8:53 pm
Full Name: Chuck Stevens
Location: Seattle, WA
Contact:

Re: Active snapshots limit reached for datastore

Post by ChuckS42 » 1 person likes this post

These are Nutanix clusters; Nutanix presents storage to vSphere as NFS datastores. If what you say applies in this case, seems like you've got something to fix - two separate datastores on completely different clusters should not share the same snapshot count with regards to this registry key. (I am working around the problem by setting MaxSnapshotsPerDatastore to a ridiculously high number, and allowing the proxy/repository task limits do the job instead.)
Veeaming since 2013
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Active snapshots limit reached for datastore

Post by foggy »

Сould you please check the datastore URL in vSphere?
ChuckS42
Expert
Posts: 189
Liked: 27 times
Joined: Apr 24, 2013 8:53 pm
Full Name: Chuck Stevens
Location: Seattle, WA
Contact:

Re: Active snapshots limit reached for datastore

Post by ChuckS42 »

They both show up as ds:///vmfs/volumes/[hexcode]-[hexcode]/. (Each [hexcode] is 8 digits.) Both datastores have identical URLs, despite being on different clusters.
Veeaming since 2013
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Active snapshots limit reached for datastore

Post by foggy »

So the issue is not the key but the fact that the datastores have identical GUIDs for some reason. Any chance you could check with Nutanix regarding that?
colohost
Service Provider
Posts: 35
Liked: 3 times
Joined: Jan 14, 2019 10:09 pm
Full Name: Colo Host
Contact:

Re: Active snapshots limit reached for datastore

Post by colohost » 1 person likes this post

Just a +1 eight years later for this to get into the GUI. I'd think it has become fairly commonplace for enterprise SAN (iscsi or FC) storage to easily accommodate far more snapshots at a time. We're using large capacity flash and/or NVMe arrays with compression, dedupe, and thin provisioning, so more than eight deltas are hardly a concern from performance or capacity standpoints.
denlun44
Novice
Posts: 9
Liked: 4 times
Joined: Oct 17, 2023 8:31 am
Full Name: Dennis Lundkvist
Contact:

Re: Active snapshots limit reached for datastore

Post by denlun44 » 2 people like this post

And now a couple of years later we are still looking at this, but as noted in some of the previous posts, both the performance and sizing of current enterprise storage has increased in leap and bounds. So my question is, since we are now at v.12.1, is the default value still 4 ? And what would be an appropriate value on say a modern all-flash SAN ?
scott.anderson
Service Provider
Posts: 84
Liked: 17 times
Joined: Sep 14, 2011 6:48 am
Full Name: Scott Anderson
Contact:

Re: Active snapshots limit reached for datastore

Post by scott.anderson » 2 people like this post

+1
Please confirm if we still have this geriatric 4 snapshot limit in VBR 12.1.

HPE Nimble arrays are capable of handing hundreds of snapshots and VMware 28 per VM.

It makes no sense anymore to have this 4 limit.
Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot] and 21 guests