My Windows “Share” cluster resource keeps failing
Hi there.
Have you ever had that annoying problem where you’ve created a cluster resource of type “share” (typically a shared folder on one of your SAN drives) that just keeps failing? If I had to pick a scenario I would chose log shipping from one cluster (Production) to another (Disaster recovery). So, you have your shared folder that contains your log backups but the resource keeps failing. Even worse, you’ve forgotten to un-check that box that affects the cluster group so that when the share fails it brings your entire group down? Yup, been there, done that. And if it’s a share that SQL needs access to then the chances are that you’ve put this share in your SQL cluster group and you’ve got a yo-yo’ing SQL Server service all because of a failing share. This would probably seem like an appropriate time to update your cv
Well this is your “get out of jail free” card.
First off, clear that check-box that reads “Affect the cluster group”. If your cluster share fails it’s really not that big a deal. Certainly not big enough to fail-over your cluster.
Secondly, I have a fix for you. You basically need to add in a key to your registry (ON BOTH NODES!!
) and here it is.
The registry path is HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\lanmanserver\parameters and you basically need to create a key called IRPStackSize and set the value to HEX 12.
That’s it. Simple.
Reboot the node (at a convenient time) and hey presto, no more failing service.
Remember to repeat on both nodes.
Enjoy
PD