I'm using snapshots on NFS volumes that are being used as VMware datastores. VMware sees a datastore size of 4TB. The NetApp volume itself is 5TB, so that the extra 1TB of space can be used for snapshots. However, it seems that even though snapshots are only 200TB, they are reducing the free space available in the VMware datastore. What could be causing this and what setting in NetApp controls this?
Are you using snap reserve to limit what vmware sees as 4TB? If you're using quotas I could see this as a problem, if you're using snap reserve vmware shouldn't notice. Unless of course that's all the free space you have in your aggregate which would reduce the available size for all volumes.
i'm not sure if we are using snapreserve to limit what VMware sees as 4TB. Where would I check that in NetApp and what effect would it have on this problem if it were being used? If the size of my volume snapshots is 200GB, and inside the datastore 2TB of space is taken by VMs, would that cause VMWare to see 2.2TB used instead of 2TB?
If you're on the command line it'd be something like this:
vol show -vserver <my_vserver> -volume <my_volume> -fields percent-snapshot-space
If the percent is 0% then you have no snap reserve.
If you're more of a GUI person, select your volume, then under "snapshot copies", select "configure", and you can see the snapshot reserve %. On a 4TB volume you'd need at least 5% to handle 200GB of snapshots.
I generally don't do this, I like to have the snap space decrement the space in vcenter as the guests don't see it anyway. ESX volumes *cannot* fill or they'll halt all IO, so I like to use autogrow to make sure they don't. That's under, edit volume, then the advanced tab
OK thanks again. Snap reserve is 20%. For a 5TB volume, this means I should have 1TB for snapshots, right? so snapshots should not begin taking up space on the VMware datastore until they grow over 1TB right? Any idea why if snapshots are only 200GB that they are taking space out of the 4TB that is presented to VMware?
The total available is 2.85TB with a 5% snapshot overhead. So the total volume is 3TB with 150GB allocated to snapshots. Of that 150GB, 11% has been used in snapshots or about 16.5GB. And when I look at the snapshot output, that's about right:
cluster1::> vol snapshot show -vserver vserver1 -volumevol1